[mpich-discuss] problem in compiling gforker

Anthony Chan chan at mcs.anl.gov
Mon Jun 20 11:50:25 CDT 2011


MPI program is run as a process in MPICH2 (or popular MPI implementations).
If you want run each MPI program as a thread, you can try FG-MPI from Alan
Wagner's group at University of British Columbia.

http://ieeexplore.ieee.org/Xplore/login.jsp?url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel5%2F5465895%2F5470678%2F05470773.pdf%3Farnumber%3D5470773&authDecision=-203

A.Chan

----- Original Message -----
> Got it. Thanks.
> 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?
> 
> -Clara
> On Fri, Jun 17, 2011 at 6:14 PM, Dave Goodell <goodell at mcs.anl.gov>
> wrote:
> 
> > 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.
> >
> > -Dave
> >
> > On Jun 17, 2011, at 5:02 PM CDT, clara wrote:
> >
> > > I tried to compile mpiexec in src/mp/gforker according to the
> > > following
> > steps:
> > > 1) cd src/mp/gforker
> > > 2) ./configure
> > > 3) make
> > >
> > > But I got the following error message, can anyone help me? Thanks.
> > >
> > >  CC mpiexec.c
> > > mpiexec.c: In function ‘mpiexec_usage’:
> > > mpiexec.c:279:2: warning: format not a string literal and no
> > > format
> > arguments
> > > cd ../util && make
> > > make[1]: Entering directory
> > `/mnt/lux/code/mpi/mpich2/mpich2-1.4/src/pm/util'
> > >   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
> > > ar: two different operation options specified
> > > make[1]: *** [libmpiexec.a] Error 1
> > > make[1]: Leaving directory
> > `/mnt/lux/code/mpi/mpich2/mpich2-1.4/src/pm/util'
> > > make: *** [dummy] Error 2
> > >
> > >
> > > -Clara
> > > _______________________________________________
> > > mpich-discuss mailing list
> > > mpich-discuss at mcs.anl.gov
> > > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> >
> > _______________________________________________
> > mpich-discuss mailing list
> > mpich-discuss at mcs.anl.gov
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> >
> 
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list