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.
dfocus p dgo
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.