This example code shows the use of simple MPI_Send/MPI_Recv operations in implementing a simple, one-dimensional decomposition of a 2-d mesh. The code uses

There are a number of related exercises that look at many variations of the communication step, including overlapping communication and computation.