MPI `ping-pong` send and receive example

The following code shows an MPI ping-pong program developed by Wes Kendall (reproduced with thanks!).

Get hands-on with 1000+ tech skills courses.