Got it. Thanks.<div>Btw, is there any process manager which can run each MPI program as a thread in a process, that is, running an MPI application as a multi-threaded program?<br><br></div><div>-Clara<br><div class="gmail_quote">
On Fri, Jun 17, 2011 at 6:14 PM, Dave Goodell <span dir="ltr">&lt;<a href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
If you want gforker instead of hydra, please configure the top-level configure with &quot;--with-pm=gforker&quot; and build all of MPICH2 as usual.  Then the resulting mpiexec in your installation will be gforker&#39;s version of mpiexec.<br>

<br>
-Dave<br>
<div><div></div><div class="h5"><br>
On Jun 17, 2011, at 5:02 PM CDT, clara wrote:<br>
<br>
&gt; I tried to compile mpiexec in src/mp/gforker according to the following steps:<br>
&gt; 1) cd src/mp/gforker<br>
&gt; 2) ./configure<br>
&gt; 3) make<br>
&gt;<br>
&gt; But I got the following error message, can anyone help me? Thanks.<br>
&gt;<br>
&gt;  CC              mpiexec.c<br>
&gt; mpiexec.c: In function ‘mpiexec_usage’:<br>
&gt; mpiexec.c:279:2: warning: format not a string literal and no format arguments<br>
&gt; cd ../util &amp;&amp; make<br>
&gt; make[1]: Entering directory `/mnt/lux/code/mpi/mpich2/mpich2-1.4/src/pm/util&#39;<br>
&gt;   AR  libmpiexec.a cmnargs.o process.o ioloop.o pmiserv.o labelout.o env.o newsession.o rm.o pmiport.o dbgiface.o safestr2.o simple_pmiutil2.o ../../util/msgs/msgprint.o<br>
&gt; ar: two different operation options specified<br>
&gt; make[1]: *** [libmpiexec.a] Error 1<br>
&gt; make[1]: Leaving directory `/mnt/lux/code/mpi/mpich2/mpich2-1.4/src/pm/util&#39;<br>
&gt; make: *** [dummy] Error 2<br>
&gt;<br>
&gt;<br>
&gt; -Clara<br>
</div></div>&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>
_______________________________________________<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>
</blockquote></div><br></div>