[MPICH] separate master and slave programs?

Rusty Lusk lusk at mcs.anl.gov
Tue Aug 15 20:03:10 CDT 2006


From: Syed Irfan <irfan at itee.uq.edu.au>
Subject: [MPICH] separate master and slave programs?
Date: Wed, 16 Aug 2006 10:48:31 +1000

> Hello,
> 
> Is it possible to have separate programs for master code and slave code? 
> Because if there is MPI_Init(), MPI_Comm_rank() etc. in the 2 programs 
> they will be having 2 separate communication domains etc. Any 
> suggestions on if this is possible or how to go about this?
> 
> thanks,
> Irfan
> 

Whether this is possible or not depends on the MPI implementation.  It
is certainly possible with MPICH and MPICH2.  The documentation for
the standard mpiexec (in MPICH2) explains how to do it.

Rusty Lusk




More information about the mpich-discuss mailing list