Re: Re: Charmm++5.9 build on Mac OS X by IB xlc compiler

From: Gengbin Zheng (
Date: Sun Sep 04 2005 - 11:08:03 CDT

Jason Lee wrote:

> Dear Gengbin:
> I got NAMD compiled by xlc on myrinet finally. But I still have
> problems for it.
> 1.During the charm++ and NAMD compilation process, it always complains
> that conv-mach-gm.h", line 1.0: 1540-0809 (W) The source file is
> empty. This is the reason why I replace it with the file from
> net-ppc-darwin.
conv-mach-gm.h is empty in the case of compiling charm with MPICH for
Mac. You can safely ignore this message. In fact, I just checked in an
empty line (with comment) which hopefully can cheat compiler to get rid
of this annoying message.

> 2.Following the release notes of NAMD2.6b1, I have used the gm
> option and checked the malloc definition. So I didn't disable the
> memory registration when I configured MPICH-GM. Actually I do try to
> disable the memory registration when I configured it, which is not
> successful. Then there is a run time error that Malloc hook test
> failed: the malloc provided by MPICH-GM is not used, it may have been
> overloaded by a malloc provided by another library. Could you give me
> any hints on this?

I also saw this malloc hook test failure problem on our apple cluster.
It seems to be caused by linking -ldl and -lm before -lmpich. I fixed
this in cvs of the current charm and also backported to charm-5.9,
please udpate your charm and try again.


> Appreciate it. Have a nice day.
> Jason
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today - it's

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:39:53 CST