Skip to Content.
Sympa Menu

charm - [charm] charm compile problem

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] charm compile problem


Chronological Thread 
  • From: Allan Haldane <allan.haldane AT mail.mcgill.ca>
  • To: charm AT cs.uiuc.edu
  • Subject: [charm] charm compile problem
  • Date: Thu, 10 Aug 2006 16:43:22 -0400
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Hi,

I am trying to compile charm++ (and NAMD) for arch Linux-i686-MPI,
(MPICH) and although charm compiles, I cannot get it to work.
So far I have used the charm-5.9 distributed with NAMD.

I compile with:
./build charm++ mpi-linux -O

During compile, I get two 'fatal' errors for the fortran files pup_f.f90 and tracef_f.f90, but charm still compiles. The simplearrayhello test works, but not the pingpong test (error output below). I also get some general warnings, but they don't seem important.

Here is the relevant error output during compile:
../bin/charmc -O -c pup_f.f90 && ../bin/charmc -O -cpmod ../include pupmod.M || touch pup_f.o
Encountered 0 errors, 0 warnings in file pup_f.f90.
cp: cannot stat `pupmod': No such file or directory
Fatal Error by charmc in directory /home2/ahaldane/NAMD_2.6b1_Source/charm-5.9/mpi-linux/tmp
Command cp -p pupmod ../include/ returned error code 1
charmc exiting...

tracef_f.f90 gives the same error but with module tracemod.

There were initially more errors for these two files, but I reduced them by playing with the fortran compiler options in conv-mach.sh (
it did not detect the compiler at first). I do not have ifc available,
but do pgf90 or lf95.


So is the compilation the problem? Or am I missing something obvious?
Any help appreciated!
Allan


-------------------------------


The pingpong test run on multiple nodes with command (more info below)
mpirun -np 8 -machinefile $PBS_NODEFILE ./pgm
fails with the following trace:
::[0] CmiAbort+0x25 [0x80c3aee]
::[1] _ZN4mainC1EP8CkArgMsg+0xaf [0x8081903]
::[2] _ZN12CkIndex_main19_call_main_CkArgMsgEPvP4main+0x2b ::[0x807f12f]
::[3] _Z10_initCharmiPPc+0x97b [0x808c683]
::[4] ::/home2/ahaldane/NAMD_2.6b1_Source/charm-5.9/mpi-linux/tests/charm++/pingpong/./pgm ::[0x80c3808]
::[5] ConverseInit+0x29c [0x80c3ac7]
::[6] main+0x20 [0x8094cbc]
::[7] __libc_start_main+0xe4 [0x42015574]
::[8] _Znwj+0x61 [0x807eac5]

and with error: [0] MPI Abort by user Aborting program !
(I did not do anything to kill it)


The full PBS script for the pingpong test is:
#PBS -N pongTest
#PBS -l nodes=4:ppn=2
#PBS -o pongtest.out
#PBS -e pongtest.err
#PBS -V
# ---------------------------
cd /home2/ahaldane/NAMD_2.6b1_Source/charm-5.9/mpi-linux/tests/charm++/pingpong/
mpirun -np 8 -machinefile $PBS_NODEFILE ./pgm


My arch/mpi-linux/conv-mach.sh is:
CMK_CPP_CHARM='/lib/cpp -P'
CMK_CPP_C='mpicc -E'
CMK_CC='mpicc '
CMK_CXX='mpiCC '
CMK_CXXPP='mpiCC -E '
CMK_CF77='mpif77'
CMK_CF90='mpif90'
CMK_RANLIB='ranlib'
CMK_LIBS='-lckqt -lmpich '
CMK_LD_LIBRARY_PATH="-Wl,-rpath,$CHARMLIBSO/"
CMK_NATIVE_LIBS=''
CMK_NATIVE_CC='gcc '
CMK_NATIVE_LD='gcc'
CMK_NATIVE_CXX='g++ '
CMK_NATIVE_LDXX='g++'
CMK_NATIVE_CC='gcc '
CMK_NATIVE_CXX='g++ '
CMK_F90LIBS='-L/usr/absoft/lib -L/opt/absoft/lib -lf90math -lfio -lU77 -lf77math '
CMK_MOD_EXT="mod"
CMK_F90_USE_MODDIR=1




Archive powered by MHonArc 2.6.16.

Top of Page