LSF Version 7.3 - Using Platform LSF HPC
The process starts running and stops at the first breakpoint you set.
pam
MPI_init() Go
Debug your job as you would normally in TotalView.
When you are finished debugging your program, choose
File > Exit to exit
TotalView, and click Yes in the Exit dialog. As TotalView exits it kills the
pam
process. In a few moments, LSF detects that PAM has exited and your job exits as
Done successfully.
Running TotalView and attaching a LSF job
bsub -a application [bsub_options] mpirun.lsf job [job_options]
-a application
Specifies the application you want to run through LSF and debug in TotalView.
See the TotalView Users Guide for information about attaching jobs in TotalView and
setting up parallel debugging sessions.
Submit a job.
For example:
% bsub -a poe -n 2 mpirun.lsf myjob
The method name poe, uses the esub for running POE jobs
(
LSF_SERVERDIR/esub.poe).
% bsub -a mpich_gm -n 2 mpirun.lsf myjob
The method name mpich_gm, uses the special esub for running MPICH-GM jobs
(
LSF_SERVERDIR/esub.mpich_gm).
Start TotalView on the execution host.
FIle > Search Path...
The TotalView Root window opens, and pam appears in the Unattached page of the
TotalView Root window.
Double-click pam as the process to attach.
A Process window opens. Your jobs move from the Unattached page to the
Attached page.
Click Go in the Process window?
Debug your job as you would normally in TotalView.