Totalview® for HPC User Guide : PART IV Advanced Tools and Customization : Chapter 19 Setting Up MPI Debugging Sessions : Open MPI Applications
Open MPI Applications
NOTE >> In many cases, you can bypass the procedure described in this section. For more information, see "Debugging MPI Programs".
Open MPI is an open source implementation of both the MPI-1 and MPI-2 documents that combines some aspects of four different (and now no longer under active development) MPI implementations: FT-MPI from the University of Tennessee, LA-MPI from Los Alamos National Laboratory, LAM/MPI from Indiana University, and PACX-MPI from the University of Stuttgart.
For more information on Open MPI, see http://www.open-mpi.org/.
Debug an Open 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 -args mpirun args ./prog
For example, to start TotalView on a four-process MPI program:
totalview -args mpirun -np 4 ./mpi_program
Alternatively, you can use the Session Manager or Startup Parameter window (accessed via Process > Startup Parameters) and choose the Parallel option to enter the parallel session details in the GUI.