Starting Your Program
To execute a program from within the CLI, enter a dload command followed by the drun command.
If your program is launched from a starter program such as srun or yod, use the drerun command rather than drun to start your program. If you use drun, default arguments to the process are suppressed; drerun passes them on.
This example uses the totalviewcli command to start the CLI, followed by dload and drun commands. Since this was not the first time the file was run, breakpoints exist from a previous session.
In this example, the CLI prompt is “
d1.<>”. The information preceding the greater-than symbol (>) symbol indicates the processes and threads upon which the current command acts. The prompt is discussed in
About the CLI Prompt.
% totalviewcli
d1.<>
dload arraysAlpha #load the arraysAlpha program
1
No matching breakpoints were found
75 real16_array (i, j) = 4.093215 * j+2
76 #endif
77 26 continue
78 27 continue
79
80 do 40 i = 1, 500
81 denorms(i) = x'00000001'
82 40 continue
83 do 42 i = 500, 1000
84 denorms(i) = x'80000001'
d1.<>
dbreak 80 # Add two action points
1
d1.<> dbreak 83
2
d1.<>
drun # Run the program to the action point