<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, &quot;Glen Beane&quot; &lt;<a href="glen.beane@jax.org">glen.beane@jax.org</a>&gt; 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, &quot;christian suhendra&quot; &lt;<a href="christiansuhendra@gmail.com">christiansuhendra@gmail.com</a>&gt; 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). &nbsp;You can use the &quot;lamexec&quot; program<BR>
to run non-MPI programs over the lambooted nodes.<BR>
<BR>
and then i try to run lamexec it work..<BR>
&nbsp;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, &nbsp;you are using LAM-MPI. LAM uses daemons that must be running on all of the nodes before mpirun can launch the MPI executables. &nbsp;&nbsp;The lamexec command essentially does a &#8220;lamboot&#8221; and &#8220;mpirun&#8221; in a single command. &nbsp;By the way, LAM is deprecated, and its users are encouraged to switch to OpenMPI. &nbsp;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 &#8211; lamexec is not like lamboot and mpirun in one, &nbsp;for some reason I had LAM&#8217;s mpiexec command on my mind, which if I remember right is equivalent to &nbsp;lamboot + mpirun &nbsp;(It has been a while). &nbsp;lamexec is like a distributed shell that launches non-mpi programs on nodes running the LAM daemon (lamd). &nbsp;but my main point still stands, &nbsp;you aren&#8217;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>