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.

Manipulating Processes and Threads<br />

GUI, you specify the focus using the scope pulldown. For example, if you<br />

select a thread, and then select the Step button, <strong>TotalView</strong> steps the current<br />

thread. In contrast, if you select Process (Workers) and then select the Go<br />

button, <strong>TotalView</strong> tells all the processes that are in the same workers group<br />

as the current thread to start executing. (This thread is called the thread of<br />

interest.)<br />

Chapter 13, “Using Groups, Processes, and Threads,” on page 251 describes how<br />

<strong>TotalView</strong> manages processes and threads. While <strong>TotalView</strong> gives you the ability to control<br />

the precision your application requires, most applications do not need this level of<br />

interaction. In almost all cases, using the controls in the toolbar gives you all the control<br />

you need.<br />

Stopping Processes and Threads<br />

To stop a group, process, or thread, select a Halt command from the<br />

Group, Process, or Thread pulldown menu on the toolbar.<br />

CLI: dhalt<br />

Halts a group, process, or thread. Setting the focus changes the<br />

scope.<br />

The three Halt commands differ in the scope of what they halt. In all cases,<br />

<strong>TotalView</strong> uses the current thread, which is called the thread of interest or<br />

TOI, to determine what else it will halt. For example, selecting Process ><br />

Halt tells <strong>TotalView</strong> to determine the process in which the TOI is running. It<br />

then halts this process. Similarly, if you select Group > Halt, <strong>TotalView</strong><br />

determines what processes are in the group in which the current thread<br />

participates in. It then stops all of these processes.<br />

For more information on the Thread of Interest, see “Defining the GOI, POI, and TOI”<br />

on page 251.<br />

When you select the Halt button in the toolbar instead of the commands in<br />

the menubar, <strong>TotalView</strong> decides what it should stop based on what is set in<br />

the two toolbar pulldown lists.<br />

After entering a Halt command, <strong>TotalView</strong> updates any windows that can be<br />

updated. When you restart the process, execution continues from the point<br />

where <strong>TotalView</strong> stopped the process.<br />

Using the Processes/Ranks Tab<br />

The Processes Tab, which is called a Ranks Tab if you are running an MPI<br />

program, contains a grid. Each block in the grid represents one process.<br />

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

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

Saved successfully!

Ooh no, something went wrong!