Thanks so much.<br><br><div class="gmail_quote">On Mon, Jun 20, 2011 at 12:50 PM, Anthony Chan <span dir="ltr"><<a href="mailto:chan@mcs.anl.gov">chan@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;">
<br>
MPI program is run as a process in MPICH2 (or popular MPI implementations).<br>
If you want run each MPI program as a thread, you can try FG-MPI from Alan<br>
Wagner's group at University of British Columbia.<br>
<br>
<a href="http://ieeexplore.ieee.org/Xplore/login.jsp?url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel5%2F5465895%2F5470678%2F05470773.pdf%3Farnumber%3D5470773&authDecision=-203" target="_blank">http://ieeexplore.ieee.org/Xplore/login.jsp?url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel5%2F5465895%2F5470678%2F05470773.pdf%3Farnumber%3D5470773&authDecision=-203</a><br>
<br>
A.Chan<br>
<div><div></div><div class="h5"><br>
----- Original Message -----<br>
> Got it. Thanks.<br>
> Btw, is there any process manager which can run each MPI program as a<br>
> thread<br>
> in a process, that is, running an MPI application as a multi-threaded<br>
> program?<br>
><br>
> -Clara<br>
> On Fri, Jun 17, 2011 at 6:14 PM, Dave Goodell <<a href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a>><br>
> wrote:<br>
><br>
> > If you want gforker instead of hydra, please configure the top-level<br>
> > configure with "--with-pm=gforker" and build all of MPICH2 as usual.<br>
> > Then<br>
> > the resulting mpiexec in your installation will be gforker's version<br>
> > of<br>
> > mpiexec.<br>
> ><br>
> > -Dave<br>
> ><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<br>
> > > following<br>
> > 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<br>
> > > format<br>
> > arguments<br>
> > > cd ../util && make<br>
> > > make[1]: Entering directory<br>
> > `/mnt/lux/code/mpi/mpich2/mpich2-1.4/src/pm/util'<br>
> > > AR libmpiexec.a cmnargs.o process.o ioloop.o pmiserv.o<br>
> > > labelout.o<br>
> > env.o newsession.o rm.o pmiport.o dbgiface.o safestr2.o<br>
> > simple_pmiutil2.o<br>
> > ../../util/msgs/msgprint.o<br>
> > > ar: two different operation options specified<br>
> > > make[1]: *** [libmpiexec.a] Error 1<br>
> > > make[1]: Leaving directory<br>
> > `/mnt/lux/code/mpi/mpich2/mpich2-1.4/src/pm/util'<br>
> > > make: *** [dummy] Error 2<br>
> > ><br>
> > ><br>
> > > -Clara<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>
> ><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>
> ><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>
_______________________________________________<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>