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 55: Open a Core<br />

File<br />

Start a new process<br />

dload –e executable<br />

Open a core file<br />

dattach –c corefile –e executable<br />

Load a program using its process ID<br />

dattach executable pid<br />

Load a program on a remote computer<br />

dload executable –r hostname<br />

Loading Programs<br />

You can type the computer’s name (for example,<br />

gandalf.totalviewtech.com or an IP address.<br />

Load a poe program<br />

dload –mpi POE –np 2 –nodes \<br />

–starter_args "hfile=~/my_hosts"<br />

Attaching to Processes<br />

Seeing Attached Process States<br />

Starting <strong>TotalView</strong><br />

Using the Root Window<br />

Loading Programs<br />

If a program you’re testing is hung or looping (or misbehaving in some other<br />

way), you can attach to it while it is running. <strong>TotalView</strong> lets you attach to single<br />

and multi-process programs, and these programs can be running<br />

remotely.<br />

To attach to a process, select the Attach to an existing process item within<br />

the Program Page in the File > New Program command. (See Figure 56.)<br />

CLI: dattach executable pid<br />

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

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

Saved successfully!

Ooh no, something went wrong!