LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2004-11-14 08:18:34


On Nov 10, 2004, at 7:53 AM, atarpley wrote:

> Is there a way to broadcast a message over multiple
> inter-communicators?

No. The MPI API does not allow this.

> I am aware of how to broadcast to all processes within a single
> communicator
> (MPI_Bcast) but the only way I can think of to send a message to
> processes in
> DIFFERENT Inter-Communicators is to do sequentially walk through each
> Communicator and do a Send. Is there a better way?

A send or a BCAST, correct.

The other obvious alternative would be to make an "uber-communicator"
that contains all the processes in all of your intercommunicators, and
then you can use BCAST.

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/