Re: charm++ mpi-linux compilation errors

From: g srinivasa murthy (g_s_murthyin_at_yahoo.co.in)
Date: Thu May 20 2004 - 09:57:55 CDT

hi,

You should have edited the conv-mach.sh file before
compiling charm++.You have make one change in this
file.Change -lmpich to -lmpi. This file is located in
directory charm/src/arch/mpi-linux.

with regards
srinivasa

> /usr/bin/ld: cannot find -lmpich <= see here
> collect2: ld returned 1 exit status
> mpiCC: No such file or directory
> Fatal Error by charmc in directory
>
/home/ghg/NAMD/NAMD_2.5_Linux-i686/ConverseCharm++/charm/mpi-linux/pgms/charm++/megatest
> Command mpiCC -rdynamic -o pgm
> -L../../../bin/../lib -I../../../bin/../include
> ../../../bin/../lib/libldb-rand.o megatest.o
> groupring.o nodering.o varsizetest.o varraystest.o
> groupcast.o nodecast.o synctest.o fib.o arrayring.o
> tempotest.o packtest.o queens.o migration.o
> marshall.o priomsg.o priotest.o rotest.o
> statistics.o templates.o inherit.o reduction.o
> callback.o immediatering.o bitvector.o moduleinit.o
> ../../../bin/../lib/libmemory-default.o
> ../../../bin/../lib/libthreads-default.o -lck
> -lconv-cplus-y -lconv-core -lconv-util -lm -lckqt
> -lmpich -ldl -lz returned error code 1
> charmc exiting...
> make: *** [pgm] Error 1
>
>
> but I added to $PATH working directory of LAM, in
> which mpiCC is.
>
> Thank's for your help
>
>
>

________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/

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