Debugging code with TotalView: A primer
last update: 01/26/2004

Debugging code with TotalView: A primer
Table of contents

Credits and copyright

Introduction to code debugging

Overview of this primer

Part 1

Introduction to TotalView and how you use it to perform common debugging tasks

Examining core files with TotalView

Debugging a simple serial code

    TotalView session

Examining program variables

Obtaining more detailed information about the program by "diving"

Controlling where TotalView stops in your code

Locating action points in your code

Breakpoints (barriers)

Evaluation points

Watchpoints

Debugging parallel applications that produce multiple process windows in TotalView

Debugging a simple parallel code

Starting execution of an MPI code

Parallel threads (OpenMP threads) displayed by TotalView

Parallel processes (message passing parallelism) displayed by TotalView

Part 2

Overriding TotalView defaults

Setting paths to source files and executables for TotalView

Redirecting stdin, stdout, stderr, and startup parameters

Setting TotalView preferences

Setting TotalView signal processing

Part 3

TotalView examples

Understanding the TotalView debugger via simple examples

How to debug module code in TotalView

How to debug batch parallel jobs with TotalView

(See hybrid parallel job example under seminar materials below)

TotalView seminar materials

Strategies for debugging hybrid codes with TotalView on the IBM clusters

Example: Debugging a simple MPMD MPI-OpenMP hybrid job with TotalView


Next page | Table of contents - TotalView primer

If you have questions about this document, please contact SCD Customer Support. You can also reach us by telephone 24 hours a day, seven days a week at 303-497-1278. Additional contact methods: consult1@ucar.edu and during business hours in NCAR Mesa Lab Suite 39.

© Copyright 2004. University Corporation for Atmospheric Research (UCAR). All Rights Reserved.

Address of this page: http://www.scd.ucar.edu/docs/totalview/index.html