


Up: Contents
Next: The MPE library of useful extensions
Previous: Symmetric Multiprocessors (SMPs)
The mpich distribution contains a variety of sample programs, which are located in the mpich source tree.
-
mpich/examples/basic
-
contains a few short programs in Fortran, C, and C++
for testing the simplest features of MPI.
-
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).
Additional examples from the book Using MPI
[9] are available by anonymous ftp and
through the World Wide Web at ftp://info.mcs.anl.gov/pub/mpi/using/.
At the web site ftp://info.mcs.anl.gov/pub/mpi can also be found
tutorial material containing other examples.



Up: Contents
Next: The MPE library of useful extensions
Previous: Symmetric Multiprocessors (SMPs)