[Beowulf] lamexec vs mpirun

Glen Beane Glen.Beane at jax.org
Thu Dec 3 11:22:23 PST 2009




On 12/3/09 1:16 AM, "christian suhendra" <christiansuhendra at gmail.com> wrote:

hello guys i've buliding a cluster system with mpich-1.2.7p1,when i test my machine it work..but when i run the mpirun it doesn't work ini cluster...but its running
and i got this error
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.

and then i try to run lamexec it work..
 i wanna ask you guys the different between of lamexec and mpirun
thank you for your advice


You are not using mpich,  you are using LAM-MPI. LAM uses daemons that must be running on all of the nodes before mpirun can launch the MPI executables.   The lamexec command essentially does a "lamboot" and "mpirun" in a single command.  By the way, LAM is deprecated, and its users are encouraged to switch to OpenMPI.  If you were intending to use mpich and have it installed on your system LAM is being found first in your path and not mpich.

--
Glen L. Beane
Software Engineer
The Jackson Laboratory
Phone (207) 288-6153

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.beowulf.org/pipermail/beowulf/attachments/20091203/aae728b5/attachment.html>


More information about the Beowulf mailing list