MPI_Send

Performs a blocking send.

📝 Syntax

  • MPI_Send(A, destination, tag)

  • MPI_Send(A, destination, tag, comm)

📥 Input argument

  • A - an nelson array to send.

  • destination - an integer value: rank of source.

  • tag - an integer value: message tag.

  • comm - a MPI_Comm object.

📄 Description

This function sends an array to a destination node on a given communicator with a specific message tag.

Note that there has to be a matching receive issued by the destination node.

Throws an exception if there is an error.

💡 Example

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

🔗 See also

MPI_Recv.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?