30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Debugging SiCortex MPI Applications<br />

The RMS prun command executes and starts all MPI processes. After<br />

<strong>TotalView</strong> acquires them, it asks if you want to stop them at startup. If you<br />

answer yes, <strong>TotalView</strong> halts them before they enter the main program. You<br />

can then create breakpoints.<br />

Attaching to an RMS Job<br />

To attach to a running RMS job, attach to the RMS prun process that<br />

started the job.<br />

You attach to the prun process the same way you attach to other processes.<br />

For details on attaching to processes, see “Attaching to Processes” on page 61.<br />

After you attach to the RMS prun process, <strong>TotalView</strong> asks if you also want<br />

to attach to slave MPICH processes. If you do, press Return or choose Yes.<br />

If you do not, choose No.<br />

If you choose Yes, <strong>TotalView</strong> starts the server processes and acquires all<br />

MPI processes.<br />

As an alternative, you can use the Group > Attach Subset command to predefine<br />

what <strong>TotalView</strong> should do. For more information, see “Attaching to<br />

Processes” on page 124.<br />

Debugging SiCortex MPI Applications<br />

In many cases, you can bypass the procedure described in this section. For more information,<br />

see “Debugging MPI Programs” on page 98<br />

Specific information on debugging SiCortex MPI applications is located in<br />

our discussion of running <strong>TotalView</strong> on SiCortex platforms. See “Debugging<br />

SiCortex Applications” on page 147 for information.<br />

Debugging SGI MPI Applications<br />

In many cases, you can bypass the procedure described in this section. For more information,<br />

see “Debugging MPI Programs” on page 98.<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.6 121

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!