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"><<a href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a>></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 "--with-pm=gforker" and build all of MPICH2 as usual. Then the resulting mpiexec in your installation will be gforker'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>
> I tried to compile mpiexec in src/mp/gforker according to the following steps:<br>
> 1) cd src/mp/gforker<br>
> 2) ./configure<br>
> 3) make<br>
><br>
> But I got the following error message, can anyone help me? Thanks.<br>
><br>
> CC mpiexec.c<br>
> mpiexec.c: In function ‘mpiexec_usage’:<br>
> mpiexec.c:279:2: warning: format not a string literal and no format arguments<br>
> cd ../util && make<br>
> make[1]: Entering directory `/mnt/lux/code/mpi/mpich2/mpich2-1.4/src/pm/util'<br>
> 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>
> ar: two different operation options specified<br>
> make[1]: *** [libmpiexec.a] Error 1<br>
> make[1]: Leaving directory `/mnt/lux/code/mpi/mpich2/mpich2-1.4/src/pm/util'<br>
> make: *** [dummy] Error 2<br>
><br>
><br>
> -Clara<br>
</div></div>> _______________________________________________<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>
<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>