Examples from Using MPI, 2nd edition