[MPICH] Changing the comm size at runtime

Patrick Gräbel pgraebel at stud.fh-dortmund.de
Sun Mar 18 14:02:13 CDT 2007


At the moment the master iterates over a set of Intracomm objects that
are created by calling MPI_Intercomm_Merge on the accepted Intercomm
objects in order to communicate. This works but...

...is there a way to form a larger Intracomm (or Intercomm) object that
contains all slaves at once? This would make the programm more elegant
and smaller.

Greetings
Patrick

Rajeev Thakur wrote:
> I should point out that you can also create an intracommunicator from an
> intercommunicator by using MPI_Intercomm_merge and then use the regular
> intracommunicator collectives if that's what you need.
> 
> Rajeev




More information about the mpich-discuss mailing list