Loading Programs Using the CLI
When using the CLI, you can load programs in a number of ways. Here are a few examples.
Load a session
dsession -load session-name
Loads the session directly into TotalView.
Start a new process
dload -e executable
Open a core file
dattach -c corefile -e executable
If TotalView is not yet running, you can also provide the core file as a startup argument, like so:
totalview -newUI executable corefile [ options ]
Open a replay recording session file
dattach -c replay-recording -e executable
If TotalView is not yet running, you can also provide the replay recording file as a startup argument, like so:
totalview -newUI executable replay-recording-file [ options ]
Attach to a program using its process ID
dattach executable pid
Load an MPI job using the POE configuration and the hfiles starter argument. In this example, two processes will be used across nodes.
dload -mpi POE -np 2 -nodes -starter_args "hfile=~/my_hosts"