<HTML>
<HEAD>
<TITLE>Re: [Beowulf] lamexec vs mpirun</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
<BR>
On 12/3/09 2:22 PM, "Glen Beane" <<a href="glen.beane@jax.org">glen.beane@jax.org</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
<BR>
On 12/3/09 1:16 AM, "christian suhendra" <<a href="christiansuhendra@gmail.com">christiansuhendra@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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<BR>
and i got this error<BR>
It seems that [at least] one of the processes that was started with<BR>
mpirun did not invoke MPI_INIT before quitting (it is possible that<BR>
more than one process did not invoke MPI_INIT -- mpirun was only<BR>
notified of the first one, which was on node n0).<BR>
<BR>
mpirun can *only* be used with MPI programs (i.e., programs that<BR>
invoke MPI_INIT and MPI_FINALIZE). You can use the "lamexec" program<BR>
to run non-MPI programs over the lambooted nodes.<BR>
<BR>
and then i try to run lamexec it work..<BR>
i wanna ask you guys the different between of lamexec and mpirun<BR>
thank you for your advice<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
You are <I>not</I> 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. <BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
Actually, I take this back – lamexec is not like lamboot and mpirun in one, for some reason I had LAM’s mpiexec command on my mind, which if I remember right is equivalent to lamboot + mpirun (It has been a while). lamexec is like a distributed shell that launches non-mpi programs on nodes running the LAM daemon (lamd). but my main point still stands, you aren’t using mpich even if you think you are. <BR>
<BR>
-- <BR>
Glen L. Beane<BR>
Software Engineer<BR>
The Jackson Laboratory<BR>
Phone (207) 288-6153<BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>