In this section we are going to learn about an auxiliary library, called MPE, for the analysis and visualization of MPI programs. The library can be also used to visualize data handled by MPI programs - although its graphic capabilities are very simple.
We begin with the discussion of how to ``MPE-instrument'' MPI programs, and how to view the logs generated thusly. There are various auxiliary tools for processing the logs and one huge Java program for viewing them in a graphical format.
Then we'll look at the graphics component of MPE and illustrate its use by discussing some simple (and then less simple) example programs.
The MPE library and utilities are not as well documented as MPI itself. But you can download a fairly readable, if terse, MPE manual, ftp://ftp.mcs.anl.gov/pub/mpi/mpeman.pdf, from Argonne. The PDF file has a January 2003 time stamp on it, the last I have had a look at it, but it is not entirely up to date with respect to MPICH2. MPE is also discussed in ``Using MPI'' by Gropp, Lusk and Skjellum, but this discussion may be a little old, because the book itself was published in 1994.