I need to run multi-process mpi programs. Is it possible that run them without mpirun command? to include everything needed into one stand alone binary?<br><br><div class="gmail_quote">2009/11/20  <span dir="ltr">&lt;<a href="mailto:chan@mcs.anl.gov">chan@mcs.anl.gov</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
----- &quot;junli gu&quot; &lt;<a href="mailto:gujunli@gmail.com">gujunli@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi everyone:<br>
&gt;<br>
&gt; &nbsp;I want to run mpi program like a normal binary without<br>
&gt; mpirun/mpiexec<br>
&gt; command, like this: ./mpi_hello . Is this possible?<br>
<br>
</div>Yes. but without mpiexec, you can only run 1 process.<br>
<div class="im"><br>
&gt; This is possible only that I can compile mpi program and put all the<br>
&gt; runtime<br>
&gt; information into a stand alone binary. I don&#39;t know if it is<br>
&gt; possible.<br>
<br>
</div>Hmm... Since you are using a cross-compiler, alpha-gcc, not sure how<br>
you built it... &nbsp;Trying adding -static during linking to see if it<br>
links OK.<br>
<br>
A.Chan<br>
<div><div></div><div class="h5"><br>
&gt; &nbsp;Thank you very much!<br>
&gt;<br>
&gt; --<br>
&gt; ************************************************<br>
&gt; Junli Gu--¹È¿¡Àö<br>
&gt; Coordinate Science Lab<br>
&gt; University of Illinois at Urbana-Champaign<br>
&gt; ************************************************<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; mpich-discuss mailing list<br>
&gt; <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
&gt; <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
_______________________________________________<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>************************************************<br>Junli Gu--¹È¿¡Àö<br>Coordinate Science Lab<br>University of Illinois at Urbana-Champaign<br>************************************************<br>