LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Andrew Friedley (afriedle_at_[hidden])
Date: 2006-09-21 10:19:41


Hayawardh V wrote:
> Hi,
> I want to use a non-blocking broadcast in an MPI program. I just realised
> MPI_Ibcast is not part of the MPI-2 specifications.
> What is a possible workaround?
> Is it better to do MPI_Isend to each processor or a single MPI_Bcast? Or is
> there any other way?

I'd say it depends on your application. Try both, evaluate them, and
choose the method you like best. There certainly are other 'better'
ways (such as a tree-based algorithm), but will take more work on your
part. Try searching google if you want more information.

You might also check out libNBC (NonBlocking Collectives):

http://www.unixer.de/research/nbcoll/

Andrew