Hi all,
I met some strange problems when using LAM. Hope some experienced people can
give me a hand.
A month ago, I used LAM on my laptop successfully. Later, I was interrupted by
something else. And yesterday, when I resumed to work on my parallelization
code, something fishy happened:
The code that is executable before does not work now. When I tried to use
"mpirun -np 1 <executable>", I always had the following printouts:
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------
I am pretty sure that "lamboot" is successfully done. And the LAM version is
7.0.6. And the gcc version is "3.2.2". I did observe "gcc: invalid version
number format" in the configuration log. but I am not sure whether this is
the real reason.
thanks,
Guanhua
|