Totalview® for HPC User Guide : PART I Introduction to Debugging with TotalView : Chapter 2 Basic Debugging : Program Load and Navigation : Load the Program to Debug
Load the Program to Debug
NOTE >> Before starting TotalView, you must add TotalView to your PATH variable. For information on installing or configuring TotalView, see the TotalView for HPC Installation Guide.
1. Start TotalView.
totalview
The Start a Debugging Session dialog launches.
 
 
2. Select A new program to launch the Program Session dialog.
3. Provide a name for the session in Session Name field. This can be any string.
4. In the File Name field, browse to and select the wave_extended program, located in the directory install­dir/toolworks/totalview.version/platform/examples. Leave all other fields and options as is. ­Click Start Session to load the program into TotalView.
Note that this is the same as entering the program name as an argument when starting TotalView:
totalview wave_extended
(Note that this invocation assumes that your examples directory is known to TotalView or that you are invoking TotalView from within the examples directory.)
 
RELATED TOPICS 
 
Compiling programs for debugging
Various ways to start TotalView
Loading programs