[MPICH] How to change the communication groups

JACOB_LIBERMAN at Dell.com JACOB_LIBERMAN at Dell.com
Wed Jul 27 15:14:39 CDT 2005


You need to create your own communicator if youre not using
MPI_COMM_WORLD.

A communcator includes a process group, a context, and some attributes,
including the topology, which defines a virtual addressing scheme for
the process groups outside of the default process rank. 

Check out MPI_Cart_create and MPI_Cart_rank.

Thanks, jacob


> -----Original Message-----
> From: owner-mpich-discuss at mcs.anl.gov 
> [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Kevin C.
> Sent: Wednesday, July 27, 2005 2:32 PM
> To: mpich-discuss at mcs.anl.gov
> Subject: [MPICH] How to change the communication groups
> 
> I've been looking and looking on the internet for 
> documentation on programming in MPI but couldn't find any.
> 
> What am needing to know is how to change the communication 
> group for MPICH-1.2.1. Basically so that when the master 
> process 0 broadcasts a message it will only be heard by the 
> processes in a specific communication group.
> 
> Many thanks
> Kev
> 
> PS: Did anyone find out how to dynamically create/destroy MPI 
> processes on-the-fly / in-real-time for MPICH-2? 
> 




More information about the mpich-discuss mailing list