TotalView User Guide : Part II: Setting Up : Setting Up MPI Debugging Sessions : Debugging SGI MPI Applications : Starting TotalView on an SGI MPI Job

Starting TotalView on an SGI MPI Job
You normally start SGI MPI programs by using the mpirun command. You use a similar command to start an MPI program under debugger control, as follows:
{ totalview | totalviewcli } mpirun –a mpirun-command-line
This invokes TotalView and tells it to show you the machine code for mpirun. Since you’re not usually interested in debugging this code, use the Process > Go command to let the program run.
The SGI MPI mpirun command runs and starts all MPI processes. After TotalView acquires them, it asks if you want to stop them at startup. If you answer Yes, TotalView halts them before they enter the main program. You can then create breakpoints.
If you set a verbosity level that allows informational messages, TotalView also prints a message that shows the name of the array and the value of the array services handle (ash) to which it is attaching.

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com