Debugging Memory Problems with MemoryScape : Chapter 4 Creating Programs for Memory Debugging : Setting Up MPI Debugging Sessions : Debugging Sun MPI Applications
Debugging Sun MPI Applications
* 
In many cases, you can bypass the procedure described in this section. For more information, see Debugging MPI Programs”.
MemoryScape can debug a Sun MPI program and display Sun MPI message queues. This section describes how to perform job startup and job attach operations.
To start a Sun MPI application, use the following command:
memscape mprun [ totalview_args ] -a [ mpi_args ]
For example:
memscape mprun -g blue -a -np 4 /usr/bin/mpi/conn.x
When the MemoryScape Window appears, select the Go button.