An interesting tutorial on this topic can be found at https://github.com/antolonappan/MPI_tutorial.
3.129.247.196