Debugging Compaq MPI Applications
You can debug Compaq MPI applications on the Compaq Alpha platform. To use TotalView with Compaq MPI, you must use Compaq MPI version 1.7 or later.
Compaq MPI programs are most often started with the dmpirun command. You would use very similar command when starting an MPI program under TotalView's control:
totalview dmpirun -a dmpirun-command-line
This invokes TotalView and tells it to show you the code for the main program in dmpirun. Since you are not usually interested in debugging this code, you can use the Process > Go command to let the program run.
The dmpirun command runs and starts all of the MPI processes. TotalView acquires them and then asks if you want to stop them all.
Note: Problems can occur while rerunning Compaq MPI programs under TotalView control due to resource allocation issues within Compaq MPI. Consult the Compaq MPI manuals and release notes for information on using mpiclean to clean up the MPI system state.
Attaching to a Compaq MPI Job
To attach to a running Compaq MPI job, attach to the dmpirun process that started the job. The procedure for attaching to a dmpirun process is the same as the procedure for attaching to other processes. For details, see Attaching to Processes.
After TotalView has attached to the dmpirun process, it displays the same dialog as it does with MPICH.