Totalview® for HPC User Guide : PART II Debugging Tools and Tasks : Chapter 5 Loading and Managing Sessions : Other Configuration Options : Setting Startup Parameters
Setting Startup Parameters
After you load a program, you may want to change a program’s command-line arguments and environment variables or change the way standard input, output, and error behave. Do this using the Process > Startup Parameters command. The displayed dialog box is nearly identical to that displayed when you use the File > Debug New Program command, differing only in that it has an Apply button to save your entered parameters, rather than a Start Session button.
For information on other options you can edit here, see "Options: Reverse Debugging, Memory Debugging, and CUDA" and "Setting Environment Variables and Altering Standard I/O".
If you are using the CLI, you can set default command line arguments by setting the ARGS_DEFAULT variable.
Also, the drun and drerun commands let you reset stdin, stdout, and stderr.
 
RELATED TOPICS 
 
The ARGS_DEFAULT variable
"TotalView Variables" in the TotalView for HPC Reference Guide and "dset ARGS_DEFAULT {value}"
The drun command
drun n the TotalView for HPC Reference Guide
The drerun command
drerun in the TotalView for HPC Reference Guide and Restarting Programs” on page 178