The examples from Using MPI, 3rd Edition are available here,
along with Makefiles and autoconf-style
The examples are organized by chapter and may be accessed through the list
on the left.
The file sampleruns may be used to run
all of the examples, and shows sample calling sequences. Not all examples are
complete, runnable programs. Some are provided as example code or routines,
primarily for reference.