[MPICH] How to change the communication groups

Rusty Lusk lusk at mcs.anl.gov
Wed Jul 27 14:42:44 CDT 2005


From: "Kevin C." <kevingpo at hotmail.com>
Subject: [MPICH] How to change the communication groups
Date: Wed, 27 Jul 2005 20:31:59 +0100

> 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.

The "communication group" you are referring to is called a
"communicator" in MPI.  There are various ways of creating
communicators; the most convenient one is MPI_Comm_split.  Just googling
MPI_Comm_split will point you at a number of tutorial sources.

Rusty Lusk




More information about the mpich-discuss mailing list