MPI_Bcast

Broadcasts a message from the process with rank "root" to all other processes of the communicator

📝 Syntax

  • A = MPI_Bcast(A, Root)

  • A = MPI_Bcast(A, Root, Comm)

📥 Input argument

  • A - a nelson variable.

  • Root - a integer value: rank of broadcast root.

  • Comm - a MPI_Comm object.

📤 Output argument

  • A - broadcasted array.

📄 Description

This function is used to broadcast an array to all group members.

💡 Example

mpiexec([modulepath('mpi'), '/examples/help_examples/MPI_Bcast.m'], 4)

🔗 See also

MPI_Barrier.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?