next up previous contents
Next: Debugging MPI Programs Up: Profiling and Viewing Previous: MPE Logging Routines

Profile Visualization with Upshot

The logfile viewing program that is distributed with MPI is called upshot. It is a simple graphical display of parallel time lines and state durations. Upshot is a Tcl/Tk script, so it can be customized and extended. Once you have created a logfile by inserting the MPE logging routines into your program and compiling and executing the program, the logfile can be viewed by invoking upshot. Simply type

upshot filename.log
at the UNIX prompt on porsche. Try this on the sample logfile cpilog.log provided for you on porsche in
 
~pollock\public\cpilog.log
When the window titled Upshot appears, click on Setup. cpilog.log will be automatically read, and upshot will display parallel time lines for each process, with states indicated by colored bars. Timestamp values, adjusted to start at 0 are shown along the bottom of the time lines. Upshot provides zooming capability for magnified views of the time lines.

In the reference Using MPI, another sample of logging is presented as part of a Fortran code that performs matrix-matrix multiplication on pages 42-46.



Lori Pollock
Wed Feb 4 14:18:58 EST 1998