Hi,
I'm not able to run a simple helloworld program that I used to with mpich.
So I suspect that the lam installation may not have been correct.
This program just sends an int from PE 0 to PE 1 and prints helloworld.
Compiling and running:
mpicc -o helloworld helloworld.c
lamboot -v $PBS_NODEFILE
mpirun -np 2 helloworld
I've pasted the error I got, it's looking for liblamf77mpi.so.0 which it's
not able to find, I verified the path is in the LD_LIBRARY_PATH. (Why is it
looking for the fortran stuff!).
laminfo reports that ROMIO support is there.
ERROR:
n-1<20620> ssi:boot:base:linear: booting n0 (Empire-03-08)
n-1<20620> ssi:boot:base:linear: booting n1 (Empire-03-07)
n-1<20620> ssi:boot:base:linear: finished
/rstc/user1/erc/pushkar/mpi-code/helloworld: error while loading shared
libraries: liblamf77mpi.so.0: cannot
open shared object file: No such file or directory
----------------------------------------------------------------------------
-
It seems that [at least] one of the processes that was started with
mpirun did not invoke MPI_INIT before quitting (it is possible that
more than one process did not invoke MPI_INIT -- mpirun was only
notified of the first one, which was on node n0).
mpirun can *only* be used with MPI programs (i.e., programs that
invoke MPI_INIT and MPI_FINALIZE). You can use the "lamexec" program
to run non-MPI programs over the lambooted nodes.
----------------------------------------------------------------------------
-
Pushkar
|