I compiled openmpi-1.2.2 with:
./configure CFLAGS=-g -pg -O3
--enable-mpi-threads --enable-progress-threads --enable-static
--disable-shared --without-memory-manager \
--without-libnuma --disable-mpi-f77 --disable-mpi-f90 --disable-mpi-cxx
(Thanks Jeff, now I know that I have to add --without-memory-manager and
--without-libnuma for static linking)
then I run my client app with:
../hostfile -n 32 raytrace -finputs/car.env
The program runs well and each process completes succssfully (I can tell
because all processes have now generated gmon.out successfully and a "ps
aux" on other slave nodes (except the originating node) show that my program
in slave nodes have already exited (not existant). Therefore I think this
may have something to do with mpirun,which hangs forever.
Can you see anything wrong in my ./configure command which explains the
mpirun hang at the end of the run? How can I fix it?