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.

Loading Programs<br />

Figure 54: Attach to an<br />

Existing Process<br />

If <strong>TotalView</strong> supports your program’s parallel process runtime library (for example,<br />

MPI, PVM, or UPC), it automatically connects to remote hosts. For more information,<br />

see Chapter 7, “Setting Up Parallel Debugging Sessions,” on page 131.<br />

� Attach to process<br />

Selecting this entry from the pulldown list on the left adds a list of processes<br />

running on a machine to which you can attach. (See Figure 54 on<br />

page 60.)<br />

This new information at the bottom of the window is a list of the processes<br />

executing on the selected host. To attach to a program, simply<br />

click on the program’s name, then press the OK button.<br />

You can select processes on other hosts by changing the information in<br />

the on host area.<br />

You cannot attach to processes running on another host if you are using<br />

<strong>TotalView</strong> Individual.<br />

For more information, see “Attaching to Processes” on page 61.<br />

� Open a core file<br />

Selecting this entry from the pulldown list changes the information being<br />

displayed in the dialog box so that you can open a core file. (See<br />

Figure 55.)<br />

The dialog box now contains a text field and browse button that you can<br />

use to name the core file, which is usually named core (of course). <strong>TotalView</strong><br />

also requires that you enter the name of program that dumped the core file.<br />

For more information, see “Examining Core Files” on page 63.<br />

Loading Programs Using the CLI<br />

When using the CLI, you can load programs in a number of ways. Here are<br />

some of them:<br />

60 Chapter 4: Setting Up a Debugging Session

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

Saved successfully!

Ooh no, something went wrong!