Download User Guide - Lemanicus Blue Gene/Q

Transcript
Initializing TotalView
The .Xdefaults file, which is actually read by the server when you start X Windows, is
only used by the GUI. The CLI ignores it.
The tvdinit.tvd file resides in the TotalView lib directory. It contains startup macros
that TotalView requires. Do not edit this file. Instead, if you want to globally set a
variable or define or run a CLI macro, create a file named .tvdrc and place it in the
TotalView lib directory.
As part of the initialization process, TotalView exports three environment variables
into your environment: LM_LICENSE_FILE, TVROOT, and either SHLIB_PATH or
LD_LIBRARY_PATH.
If you have saved an action point file to the same subdirectory as your program,
TotalView automatically reads the information in this file when it loads your program.
You can also invoke scripts by naming them in the TV::process_load_callbacks list.
For information on using this variable, see the “Variables” chapter of the TotalView
Reference Guide.
If you are debugging multi-process programs that run on more than one computer,
TotalView caches library information in the .totalview subdirectory. If you want to
move this cache to another location, set TV::library_cache_directory to this location. TotalView can share the files in this cache directory among users.
RELATED TOPICS
The TV::process_load_callbacks variable "TotalView Variables" in the TotalView Reference Guide
Saving action points
“Saving Action Points to a File” on page 192
84
Chapter 4: Starting TotalView