Figure 4-5: attached window, 8 exiting totalview – HP XC System 2.x Software User Manual

Page 67

Advertising
background image

5.

In a few seconds, the TotalView Process Window will appear, displaying information
on the

srun

process. In the TotalView Root Window, click

Attached

(Figure 4-5).

Double-click one of the remote

srun

processes to display it in the TotalView Process

Window.

Figure 4-5: Attached Window

6.

At this point, you should be able to debug the application as in Step 8 of Section 4.2.1.6.

4.2.1.8 Exiting TotalView

It is important that you make sure your job has completed before exiting TotalView. This
may require that you wait a few seconds from the time your job has completed until

srun

has completely exited.

If you exit TotalView before your job is completed, use the

squeue

command to check that

your job is not still on the system.

$ squeue

If it is still there, use the following command to remove all of your jobs:

$ scancel --user username

If you desire to cancel just certain jobs, refer to the

scancel

manpage for information about

selective job cancellation.

Debugging Applications

4-11

Advertising