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?
|