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.

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

customer_compiling.html ” target=”_top”>link to information<br />

located on your site.<br />

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

Setting Up Remote Debugging Sessions<br />

Setting Up Parallel Debugging Sessions<br />

Initializing <strong>TotalView</strong><br />

Loading Programs<br />

Attaching to Processes<br />

Examining Core Files<br />

<strong>TotalView</strong> Command-Line Options<br />

<strong>TotalView</strong> can debug programs that run in many different computing environments<br />

and which use many different parallel processing modes and systems.<br />

This section looks at few of the ways you can start <strong>TotalView</strong>. See the<br />

“<strong>TotalView</strong> Command Syntax” chapter in the <strong>TotalView</strong> Reference <strong>Guide</strong> for more<br />

detailed information.<br />

In most cases, the command for starting <strong>TotalView</strong> looks like the following:<br />

totalview [ executable [ corefiles ] ] [ options ]<br />

where executable is the name of the executable file to debug and corefile is the<br />

name of the core file to examine.<br />

CLI: totalviewcli [ executable [ corefiles ]] [ options ]<br />

Your environment may require you to start <strong>TotalView</strong> in another way. For<br />

example, if you are debugging an MPI program, you must invoke <strong>TotalView</strong><br />

on mpirun. For details, see Chapter 7, “Setting Up Parallel Debugging Sessions,”<br />

on page 131.<br />

You can use the GUI and the CLI at the same time. Use the Tools ><br />

Command Line command to display the CLI’s window.<br />

Your installation may have its own procedures and guidelines for running<br />

<strong>TotalView</strong>. Your site administrator may have made a link to information<br />

located on your site.<br />

The following examples show different ways of that you might begin debugging<br />

a program:<br />

Starting <strong>TotalView</strong> totalview Starts <strong>TotalView</strong> without loading a program or core file.<br />

Instead, <strong>TotalView</strong> displays its File > New Program dialog<br />

box. You can now fill in information that allows<br />

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

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

Saved successfully!

Ooh no, something went wrong!