Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] mixing send and bcast
From: Ashley Pittman (ashley_at_[hidden])
Date: 2011-01-08 08:01:12


On 8 Jan 2011, at 12:05, Hicham Mouline wrote:

> Hi
>
> Will MPI_Probe return that there is a message pending reception if the sender MPI_Bcast a message?

No.

> Is the only way to receive a broadcast from the root is to call MPI_BCast in the slave?

Yes.

Broadcast and the other collective operations are just that, "collective" and have to be called from all ranks in a communicator with the same parameters and in the same order.

Ashley.

-- 
Ashley Pittman, Bath, UK.
Padb - A parallel job inspection tool for cluster computing
http://padb.pittman.org.uk