LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Wa-Kun Lam (rexchaos_at_[hidden])
Date: 2003-09-22 10:16:06


This time, I have seperated the source directory and the installation
directory and succeed in installing LAM 7.0

What make me headache is that I can't build the examples. So I only
copy the examples(e.g. cpi.c) to my work directory and issue

mpicc -o cpi cpi.c

After having booted LAM, I run the program parallelly.

mpirun N -s n0 cpi

However, the following message was outputed.

cpi: 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.
-----------------------------------------------------------------------------

Do I need to install something else?