30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 115: Sorted and<br />

Aggregated Root Window<br />

Using the Process Window<br />

display. In most cases, this is what you want to do as you will not be debugging<br />

these processes or threads.<br />

If you are running <strong>TotalView</strong> Team, a manager process uses a token in exactly the same<br />

way a user process. For example, if you are running a 32 process MPI job that is<br />

invoked using mpirun, you will need 33 tokens.<br />

� View > Display Exited Threads: Tracking when processes stop and start<br />

executing in a multi-process, multi-threaded enviroment can be challenging.<br />

Selecting this command tells <strong>TotalView</strong> to display threads after<br />

they’ve exited. While this clutters your display with information about<br />

threads that are no longer executing, it can sometimes be helpful in trying<br />

to track down some problems. You probably don’t want to see these<br />

threads in the listing. However, you can tell <strong>TotalView</strong> to show them at<br />

anytime. That is, <strong>TotalView</strong> remembers them so that toggling this command<br />

shows this information.<br />

Using the Process Window<br />

The Process Window (see Figure 116 on page 170) contains the code for the<br />

process or thread that you’re debugging, as well as other related information.<br />

This window contains panes of information. The large scrolling list in<br />

the middle of the Process Window is the Source Pane. (The contents of<br />

these panes are discussed later in this section.)<br />

As you examine the Process Window, notice the following:<br />

� The thread ID shown in the Root Window and in the process’s Threads<br />

Tab with the Tabs Pane is the logical thread ID (TID) assigned by<br />

<strong>TotalView</strong> and the system-assigned thread ID (SYSTID). On systems such<br />

as HP Alpha Tru64 UNIX, where the TID and SYSTID values are the same,<br />

<strong>TotalView</strong> displays only the TID value.<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.7 169

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

Saved successfully!

Ooh no, something went wrong!