Dr. David Cronk Innovative Computing Lab University of ... - It works!
Dr. David Cronk Innovative Computing Lab University of ... - It works!
Dr. David Cronk Innovative Computing Lab University of ... - It works!
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Collective Communication: Bcast<br />
MPI_BCAST (buffer, count, datatype, root, comm, ierr)<br />
This routine copies count elements <strong>of</strong> type datatype from<br />
buffer on the process with rank root into the location<br />
specified by buffer on all other processes in the group<br />
referenced by the communicator comm<br />
All processes must supply the same value for the argument<br />
root<br />
MPI_BCAST is strictly in-place, not data is moved at the root<br />
REMEMBER: A broadcast need not be synchronizing.<br />
Returning from a broadcast tells you nothing about the<br />
status <strong>of</strong> the other processes involved in a broadcast.<br />
Furthermore, though MPI does not require MPI_BCAST to<br />
be synchronizing, it neither prohibits synchronous behavior.<br />
<strong>David</strong> <strong>Cronk</strong> 87