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:
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.