Sample MPI programs


Up: Contents Next: The MPE library of useful extensions Previous: The Convex Exemplar SPP

The mpich distribution contains a variety of sample programs, which are located in the mpich source tree.

mpich/examples/test
contains multiple test directories for the various parts of MPI. Enter ``make testing'' in this directory to run our suite of function tests.

mpich/examples/test/lederman
tests created by Steve Huss-Lederman of SRC. See the README in that directory.

mpich/examples/perftest
Performance benchmarking programs. See the script runmpptest for information on how to run the benchmarks. These are relatively sophisticated.

mpich/mpe/contrib/mandel
A Mandelbrot program that uses the MPE graphics package that comes with mpich. It should work with any other MPI implementation as well, but we have not tested it. This is a good demo program if you have a fast X server and not too many processes.

mpich/mpe/contrib/mastermind
A program for solving the Mastermind puzzle in parallel. It can use graphics (gmm) or not (mm).

mpich/examples/contrib/nuclei
This is the closest thing to a real scientific application that we have now; it has not been tested recently. It is the application described at the end of Chapter 3 of the Using MPI book.

Additional examples from the book Using MPI [3] are available by anonymous ftp and through the World Wide Web at ftp://info.mcs.anl.gov/pub/mpi/using/.



Up: Contents Next: The MPE library of useful extensions Previous: The Convex Exemplar SPP