Totalview® for HPC User Guide : PART IV Advanced Tools and Customization : Chapter 19 Setting Up MPI Debugging Sessions : QSW RMS Applications
QSW RMS Applications
NOTE >> In many cases, you can bypass the procedure described in this section. For more information, see "Debugging MPI Programs".
TotalView supports automatic process acquisition on AlphaServer SC systems and 32-bit Red Hat Linux systems that use Quadrics RMS resource management system with the QSW switch technology.
NOTE >> Message queue display is supported only if you are running version 1, patch 2 or later, of AlphaServer SC.
Starting TotalView on an RMS Job
To start a parallel job under TotalView control, use TotalView as if you were debugging prun:
{ totalview | totalviewcli } prun -a prun-command-line
TotalView starts and shows you the machine code for RMS prun. Since you’re not usually interested in debugging this code, use the Process > Go command to let the program run.
CLI: dfocus p dgo
The RMS prun command executes 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.
Attaching to an RMS Job
To attach to a running RMS job, attach to the RMS prun process that started the job.
You attach to the prun process the same way you attach to other processes.
After you attach to the RMS prun process, you have the option to attach to slave MPICH processes. If you do, press Return or choose Yes. If you do not, choose No.
If you choose Yes, TotalView starts the server processes and acquires all MPI processes.
As an alternative, you can use the Group > Attach Subset command to predefine what TotalView should do.
 
RELATED TOPICS 
 
Attaching to processes using prun
Using the Group > Attach Subset command to specify TotalView behavior when attaching to an RMS prun process