Programs from the Using MPI book, Chapter 3: Using MPI in Simple Programs Programs -------- pi.f: Compute the value of pi using numerical integration, in Fortran cpi.c: Compute the value of pi using numerical integration, in C cpilog.c: Same as cpi, but uses mpe logging routines to produce log files for viewing with upshot matmult.f: Multiply a matrix times a vector, self-scheduling algorithm monte.c: Compute the value of pi using Monte Carlo integration, and display computation graphically monte.h: Include file for monte.c, to control logging Makefile.in: A makefile template compatible with the makefile templates used by the MPICH model MPI implementation. Makefile: A sample makefile for these programs, generated from Makefile.in by Gnu configure, for one machine environment. You will probably have to modify this. .