charm++ mpi-linux compilation errors

From: ghg_at_xalt.am
Date: Wed May 19 2004 - 11:38:28 CDT

I installed LAM 7.0.5-1, on RedHat 9.0, on my desktop Athlon XP1800
now when trying ./build charm++ mpi-linux
the following errors generating in build progress, but at the end
there message that charm++ built successfully.

 passing unrecognized option -pedantic to all compilers and linkers
 md/setjmp.c: In function `qt_args_1':
 md/setjmp.c:31: warning: passing arg 1 of `longjmp' from incompatible pointer type
 md/setjmp.c: In function `qt_block':
 md/setjmp.c:63: warning: passing arg 1 of `longjmp' from incompatible pointer type
 md/setjmp.c: In function `qt_abort':
 md/setjmp.c:76: warning: passing arg 1 of `longjmp' from incompatible pointer type
 Warning: creating libqt.so
 Warning: creating ../lib_so/libconv-core.so
 Warning: creating ../lib_so/libconv-cplus-y.so
 Warning: creating ../lib_so/libconv-cplus-n.so
 Warning: creating ../lib_so/libconv-util.so
 ../bin/charmc: line 146: f90: command not found
 Fatal Error by charmc in directory /home/ghg/NAMD/NAMD_2.5_Linux-i686/ConverseCharm++/charm/mpi-linux/tmp
    Command f90 -p../bin/../include -I../bin/../include -D__CHARMC__=1 -c pup_f.f90 -o pup_f.o returned error code 127
    charmc exiting...
    Fatal Error by charmc in directory /home/ghg/NAMD/NAMD_2.5_Linux-i686/ConverseCharm++/charm/mpi-linux/tmp
       pup_f.o: file not recognized: File truncated
       charmc exiting...
       Warning: creating ../lib_so/libtrace-projections.so
       Warning: creating ../lib_so/libtrace-summary.so
       Warning: creating ../lib_so/libtrace-counter.so
       Warning: creating ../lib_so/libtrace-bluegene.so
       Warning: creating ../lib_so/libtrace-projector.so
       Warning: creating ../lib_so/libtrace-all.so
       Warning: creating ../lib_so/libtrace-converse.so
       Warning: creating ../lib_so/libtrace-recordreplay.so
       ../bin/charmc: line 146: f90: command not found
       Fatal Error by charmc in directory /home/ghg/NAMD/NAMD_2.5_Linux-i686/ConverseCharm++/charm/mpi-linux/tmp
          Command f90 -p../bin/../include -I../bin/../include -D__CHARMC__=1 -c tracef_f.f90 -o tracef_f.o
          returned error code 127
          charmc exiting...
          Fatal Error by charmc in directory /home/ghg/NAMD/NAMD_2.5_Linux-i686/ConverseCharm++/charm/mpi-linux/tmp
             tracef_f.o: file not recognized: File truncated
             charmc exiting...
             Warning: creating ../lib_so/libccs-client.so
             ../bin/charmc: line 146: f90: command not found
             Fatal Error by charmc in directory /home/ghg/NAMD/NAMD_2.5_Linux-i686/ConverseCharm++/charm/mpi-linux/tmp
                Command f90 -p../bin/../include -I../bin/../include -D__CHARMC__=1 -c fmain.f90 -o fmain.o returned error code 127
                charmc exiting...
                make[2]: [fmain-ok] Error 1 (ignored)
                cp: cannot stat `fmain.o': No such file or directory
                make[2]: [fmain-ok] Error 1 (ignored)
                Warning: creating ../lib_so/libck.so
                Warning: creating ../lib_so/libmoduleDummyLB.so
                Warning: creating ../lib_so/libmoduleComboCentLB.so
                Warning: creating ../lib_so/libmoduleRandCentLB.so
                Warning: creating ../lib_so/libmoduleRandRefLB.so
                Warning: creating ../lib_so/libmoduleRefineLB.so
                Warning: creating ../lib_so/libmoduleRefineCommLB.so
                Warning: creating ../lib_so/libmoduleGreedyLB.so
                Warning: creating ../lib_so/libmoduleGreedyRefLB.so
                Warning: creating ../lib_so/libmoduleGreedyCommLB.so
                Warning: creating ../lib_so/libmoduleComm1LB.so
                Warning: creating ../lib_so/libmoduleOrbLB.so
                Warning: creating ../lib_so/libmoduleRecBisectBfLB.so
                Warning: creating ../lib_so/libmoduleMetisLB.so
                Warning: creating ../lib_so/libmoduleNeighborLB.so
                Warning: creating ../lib_so/libmoduleNeighborCommLB.so
                Warning: creating ../lib_so/libmoduleWSLB.so
                Warning: creating ../lib_so/libmoduleEveryLB.so
                Warning: creating ../../../../lib_so/libmodulecommlib.so
                Warning: creating ../../../../lib_so/libmoduleCkMulticast.so

After it when i try to make make ./mpi-linux/pgms/megatest which generated
error

../../../bin/charmc -o pgm 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 -language charm++
/usr/bin/ld: cannot find -lmpich
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

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 05:18:14 CST