MPI_BCAST is a collective call meaning that all processes in a given
communicator must call it. There is one "root" process (who does the
sending); all the other processes are receivers.
Here is the description of MPI_BCAST in the MPI standard:
http://www.mpi-forum.org/docs/mpi-11-html/node67.html#Node67
You might want to look into a good book or take an MPI tutorial. Here's
a good tutorial:
http://webct.ncsa.uiuc.edu:8900/public/MPI/
________________________________
From: lam-devel-bounces_at_[hidden]
[mailto:lam-devel-bounces_at_[hidden]] On Behalf Of sanjeeb kumar deka
Sent: Friday, April 28, 2006 7:13 AM
To: lam-devel_at_[hidden]
Subject: [lam-devel] MPI_Bcast()!!
Hi,
Whenever, one process execute an MPI_Bcast() call, where the
does the element gets received in the receiver process?Suppose, N
processes broadcast one element each to every other element using
MPI_Bcast() in a distributed system then how can one process print it's
new element set[(N-1) elements received through MPI_Bcast() and the
other of its own].If possible kindly show with an example.
Regards...
Sanjeeb
<http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/s
ignature-home.htm/1507191490_at_Middle5?PARTNER=3>
|