wiki:mpich/MPI_Bcast
close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.

Version 1 (modified by wade, 16 years ago) (diff)

--

=MPI_Bcast= Broadcasts a message from the process with rank "root" to all other processes of the group.

=Synopsis=

#include "mpi.h"
int MPI_Bcast ( void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm )

=Input/output Parameters=

  buffer    starting address of buffer (choice)
  count     number of entries in buffer (integer)
  datatype  data type of buffer (handle)
  root 	    rank of broadcast root (integer)
  comm 	    communicator (handle)