Building Namd on a linux cluster.

From: Khaled Barakat (
Date: Thu May 29 2008 - 21:39:53 CDT


I am trying to build charm and NAMD on an AMD Opteron linux cluster with a high speed Infiniband
(for MPI).
I used the following command to build charm++:

./build charm++ mpi-linux pgcc --incdir /usr/local/mpich2/include --libdir /usr/local/mpich2/lib

the command goes through and I get the message:

                   charm++ built successfully.
                   Next, try out a sample program like tests/charm++/simplearrayhello

However, when I tried to run the test by typing: make Hello
I got the error:

Fatal Error by charmc in directory /home/kbarakat/NAMD_2.6_Source/charm-
   Command pgCC --instantiate=used -L/usr/local/mpich2/lib -L/usr/local/mpich2/lib -o hello -
L../../../bin/../lib -I../../../bin/../include ../../../bin/../lib/libldb-rand.o hello.o moduleinit9346.o
./../../bin/../lib/libmemory-default.o ../../../bin/../lib/libthreads-default.o -lck -lconv-cplus-y -
lconv-core -lconv-util -lckqt -lmpich -Wl,-ldl -lm returned error code 2
charmc exiting...

I am wondering if any one faced this problem before.

Your help is appraciated

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 05:21:04 CST