Re: Building Namd on a linux cluster.

From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Fri May 30 2008 - 07:38:12 CDT

On Thu, 29 May 2008, Khaled Barakat wrote:

KB>
KB> Hello,
KB>
KB> I am trying to build charm and NAMD on an AMD Opteron linux cluster with a high speed Infiniband
KB> (for MPI).
KB> I used the following command to build charm++:
KB>
KB> ./build charm++ mpi-linux pgcc --incdir /usr/local/mpich2/include --libdir /usr/local/mpich2/lib

khaled,

unrelated to your error, but probably related to future problems.
you are using the PGI C/C++ compiler. don't. it is slow, it is
buggy, it is not worth it.

cheers,
    axel.

KB>
KB> the command goes through and I get the message:
KB>
KB> charm++ built successfully.
KB> Next, try out a sample program like tests/charm++/simplearrayhello
KB>
KB> However, when I tried to run the test by typing: make Hello
KB> I got the error:
KB>
KB> Fatal Error by charmc in directory /home/kbarakat/NAMD_2.6_Source/charm-
KB> 5.9/tests/charm++/simplearrayhello
KB> Command pgCC --instantiate=used -L/usr/local/mpich2/lib -L/usr/local/mpich2/lib -o hello -
KB> L../../../bin/../lib -I../../../bin/../include ../../../bin/../lib/libldb-rand.o hello.o moduleinit9346.o
KB> ./../../bin/../lib/libmemory-default.o ../../../bin/../lib/libthreads-default.o -lck -lconv-cplus-y -
KB> lconv-core -lconv-util -lckqt -lmpich -Wl,-ldl -lm returned error code 2
KB> charmc exiting...
KB>
KB> I am wondering if any one faced this problem before.
KB>
KB> Your help is appraciated
KB> khaled
KB>
KB>
KB>
KB>
KB>

-- 
=======================================================================
Axel Kohlmeyer   akohlmey_at_cmm.chem.upenn.edu   http://www.cmm.upenn.edu
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:47:52 CST