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 106: PVM Tasks and<br />

Configuration Window<br />

Debugging PVM (Parallel Virtual Machine) and DPVM Applications<br />

Attaching to PVM/DPVM Tasks<br />

You can attach to a PVM or DPVM task if the following are true:<br />

� The computer architecture on which the task is running is the same as<br />

the computer architecture upon which <strong>TotalView</strong> is running.<br />

� The task must be created. (This is indicated when flag 4 is set in the PVM<br />

Tasks and Configuration Window.)<br />

� The task must not be a PVM tasker. If flag 400 is clear in the PVM Tasks<br />

and Configuration Window, the process is a tasker.<br />

� The executable name must be known. If the executable name is listed as a<br />

dash (–), <strong>TotalView</strong> cannot determine the name of the executable. (This<br />

can occur if a task was not created with the pvm_spawn() call.)<br />

To attach to a PVM or DPVM task:<br />

1 Select the Tools > PVM Tasks command from the Root Window.<br />

<strong>TotalView</strong> responds the PVM Tasks Window. (See Figure 106.)<br />

This window displays current information about PVM tasks and hosts—<br />

<strong>TotalView</strong> automatically updates this information as it receives events<br />

from PVM.<br />

Since PVM doesn’t always generate an event that allows <strong>TotalView</strong> to<br />

update this window, use the Window > Update command to ensure that<br />

you are seeing the most current information.<br />

For example, you can attach to the tasks named xep and mtile in the preceding<br />

figure because flag 4 is set. In contrast, you cannot attach to the<br />

– (dash) executables and tvdsvr, because flag 400 is set.<br />

2 Dive on a task entry that meets the criteria for attaching to tasks.<br />

<strong>TotalView</strong> attaches to the task.<br />

<strong>TotalView</strong> Reference <strong>Guide</strong>: version 8.7 155

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

Saved successfully!

Ooh no, something went wrong!