wiki:mpich/MPI_Bcast

Version 2 (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)