There are a number of ways to start NextGen TotalView for HPC so a session is created and ready to begin when TotalView opens.
NOTE >> If you need features currently not supported in the NextGen TotalView for HPC UI (see "Introducing NextGen TotalView for HPC"), you can launch TotalView by invoking totalview without the flag -newUI. For example: totalview
NOTE >> If you have set the environment variable TVNEWUI to True, omit the flag -newUI in the commands below. See "Introducing NextGen TotalView for HPC" for more information.
Debugging a Program
totalview-newUIexecutable
Starts TotalView and loads the executable program.
Debugging a Parallel Program
totalview-newUI-args mpirun -np 4 ./mpi_program
Starts TotalView and loads a four-process MPI program.
Debugging a Core File
totalview-newUIexecutable corefile
Starts TotalView, loads the executable program, and an associated corefile. You can use wild cards in the core file name.
Debugging a Replay Recording File
totalview-newUIexecutable replay-recording-file
Starts TotalView, loads the executable program, and the replay-recording-file from a previous debugging session for which a ReplayEngine recording was saved to the named file.
Passing Arguments to the Program Being Debugged
totalview-newUIexecutable-aargs
Starts TotalView and passes all the arguments following the -a option to the executable program. When using the -a option, it must be the last TotalView option on the command line. Delimit multiple arguments with spaces.
totalview-newUI-argsexecutableargs
Similar to above, but uses the command line option -args to specify that the executable program and arguments follow.
Loading a Session
totalview-newUI -load_sessionsession-name
Starts TotalView and the named session.
RELATED TOPICS
Parallel preferences when debugging a parallel program