[MPICH] semantic question re: groups

David Minor david-m at orbotech.com
Wed Jul 27 08:44:42 CDT 2005


Hello Newslist,

I have a master process that gathers replies from all of its slave
processes, then on the basis of the replies it needs to do a collective
operation on a sub-set of the slave processes.  What's the cleanest way to
do this?
I can create a group on the master process and then a communicator from the
group, but the slave processes cannot create the same communicator
without the duplicate global information that the master process holds.
Each slave process only knows whether it is going to participate in the
collective operation but it doesn't know anything about the other processes
participating except the master process.

I could do this of course with point-to-point operations, but it seems there
should be a neater way.  Any suggestions? 

David Minor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20050727/e17d3fef/attachment.htm>


More information about the mpich-discuss mailing list