MPE Profiling library

The mpe directory has been partially ported to the Windows environment. The complete mpe library contains various graphical tools that have not been ported to Windows but the most important part has been - the profiling library.

Build your MPI application and link with the mpe library before the mpich library. There are two mpe libraries, mpe.lib and mped.lib. Use the mpe.lib library for projects built with the Release target and mped.lib for projects built with the Debug target.

The mpe library profiles mpich applications by recording clog files on each node of the parallel process and then collecting and merging them back to the root node when MPI_Finalize is called.

The resulting clog file needs to be converted to an slog file by running clog2slog.exe. Run this program from a command prompt with the name of the clog file as the first argument.

Then run Jumpshot to view the slog file.

Here is an example:

1. Build cpi from the examples\nt directory selecting the PDebug target. This project has "mped.lib mpichd.lib" in the link command.
2. MPIRun -np 4 cpi.exe
3. clog2slog cpi.exe.clog
4. java -jar jumpshot3.jar
5. File=>Select Logfile, choose cpi.exe.slog

clog2slog.exe and jumpshot3.jar are in the SDK\profiling directory. If you have the complete source tree then clog2slog.exe is in the mpich\bin directory and jumpshot3.jar is in the mpich\jumpshot-3 directory.

You must have Java 1.2 or 1.3 or higher to use Jumpshot.