MPI send/ receive
We'll cover the following...
MPI Point to Point Communication
MPI point-to-point operations typically involve message passing between two, and only two, different MPI tasks. One task is performing a send operation and the other task is performing a matching receive operation. Different types of send and receive routines:
- Synchronous send
- Blocking send / blocking receive
- Non-blocking send / non-blocking receive
- Buffered send
- Combined send/receive
- “Ready” send
Any type of send routine can be paired with any type of receive routine.
MPI Send / Receive
MPI point-to-point communication routines generally have an argument list that takes one of the following formats:
MPI_Send (&buf,count,datatype,dest,tag,comm)
MPI_SEND (buf,count,datatype,dest,tag,comm,ierr)
Buffer: Program address space that references the data that is to be sent or received. In most cases, this is simply the variable name that is ...