30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Installation Notes ..................................................................................................... 147<br />

Using <strong>TotalView</strong> on SiCortex .................................................................................... 147<br />

MPI Debugging .......................................................................................................... 148<br />

Debugging Global Arrays Applications ........................................................................... 148<br />

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

Supporting Multiple Sessions ..................................................................................... 151<br />

Setting Up ORNL PVM Debugging ............................................................................ 152<br />

Starting an ORNL PVM Session ................................................................................ 152<br />

Starting a DPVM Session .......................................................................................... 153<br />

Automatically Acquiring PVM/DPVM Processes ....................................................... 154<br />

Attaching to PVM/DPVM Tasks ................................................................................. 155<br />

About Reserved Message Tags ............................................................................. 156<br />

Cleaning Up Processes ......................................................................................... 156<br />

Debugging Shared Memory (SHMEM) Code ................................................................... 156<br />

Debugging UPC Programs ............................................................................................... 158<br />

Invoking <strong>TotalView</strong> .................................................................................................... 158<br />

Viewing Shared Objects ............................................................................................ 158<br />

Displaying Pointer to Shared Variables .................................................................... 160<br />

8 Using <strong>TotalView</strong> Windows<br />

part III - Using the GUI<br />

Using Mouse Buttons ...................................................................................................... 165<br />

Using the Root Window ................................................................................................... 166<br />

Using the Process Window .............................................................................................. 169<br />

Viewing the Assembler Version of Your Code ................................................................. 171<br />

Diving into Objects ......................................................................................................... 173<br />

Resizing and Positioning Windows and Dialog Boxes ..................................................... 175<br />

Editing Text ..................................................................................................................... 176<br />

Saving the Contents of Windows .................................................................................... 177<br />

9 Visualizing Programs and Data<br />

Displaying Call Graphs .................................................................................................... 179<br />

Visualizing Array Data ..................................................................................................... 181<br />

Command Summary ................................................................................................... 181<br />

How the Visualizer Works ......................................................................................... 182<br />

Viewing Data Types in the Visualizer ........................................................................ 182<br />

Viewing Data ......................................................................................................... 183<br />

Visualizing Data Manually ......................................................................................... 183<br />

Using the Visualizer .................................................................................................. 184<br />

Using Dataset Window Commands ....................................................................... 185<br />

Using View Window Commands ............................................................................ 185<br />

Using the Graph Window .......................................................................................... 186<br />

Displaying Graph Views ........................................................................................ 186<br />

Using the Surface Window ........................................................................................ 187<br />

Displaying Surface Views ...................................................................................... 189<br />

Manipulating Surface Data ................................................................................... 191<br />

Visualizing Data Programmatically ............................................................................ 192<br />

Launching the Visualizer from the Command Line ................................................... 193<br />

Configuring <strong>TotalView</strong> to Launch the Visualizer ....................................................... 193<br />

Setting the Visualizer Launch Command .............................................................. 194<br />

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

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

Saved successfully!

Ooh no, something went wrong!