TotalView User Guide : Part IV: Advanced Tools, Configuration, and Customization : Setting Up MPI Debugging Sessions : LAM/MPI Applications
LAM/MPI Applications
*In many cases, you can bypass the procedure described in this section. For more information, see Debugging MPI Programs”.
The following is a description of the LAM/MPI implementation of the MPI standard. Here are the first two paragraphs of Chapter 2 of the “LAM/MPI User’s Guide”. You can obtain this document by going to the LAM documentation page at http://www.lam-mpi.org/using/docs/.
“LAM/MPI is a high-performance, freely available, open source implementation of the MPI standard that is researched, developed, and maintained at the Open Systems Lab at Indiana University. LAM/MPI supports all of the MPI-1 Standard and much of the MPI-2 standard. More information about LAM/MPI, including all the source code and documentation, is available from the main LAM/MPI web site.
“LAM/MPI is not only a library that implements the mandated MPI API, but also the LAM run-time environment: a user-level, daemon-based run-time environment that provides many of the services required by MPI programs. Both major components of the LAM/MPI package are designed as component frameworks—extensible with small modules that are selectable (and configurable) at run-time. ...
Debug a LAM/MPI program similarly to most MPI programs, using the following syntax if TotalView is in your path:
mpirun -tv args prog prog_args
As an alternative, you can invoke TotalView on mpirun:
totalview mpirun -a prog prog_args
The LAM/MPI User’s Guide discusses how to use TotalView to debug LAM/MPI programs.