MPI_BCAST(buffer, count, datatype, root, comm)
int MPI::Comm::Bcast(void* buffer, int count, const MPI::Datatype& datatype, int root) const = 0
void
The ``in place'' option is not meaningful here.
If comm is an intercommunicator, then the call involves all processes in the intercommunicator, but with one group (group A) defining the root process. All processes in the other group (group B) pass the same value in argument root, which is the rank of the root in group A. The root passes the value MPI_ROOT in root. All other processes in group A pass the value MPI_PROC_NULL in root. Data is broadcast from the root to all processes in group B. The receive buffer arguments of the processes in group B must be consistent with the send buffer argument of the root.
MPI-Standard for MARMOT