LSF Version 7.3 - Using Platform LSF HPC

Running Jobs for TotalView Debugging
Submit jobs two ways:
Start a job and TotalView together through LSF
Start TotalView and attach the LSF job
console_name
:0.0
Compiling your program for debugging
Before using submitting your job in LSF for debugging in TotalView, compile your
source code with the
-g compiler option. This option generates the appropriate
debugging information in the symbol table.
Any multiprocess programs that call
fork(), vfork(), or execve() should be
linked to the
dbfork library.
See your compiler documentation and the TotalView Users Guide for more information
about compiling programs for debugging.
Starting a job and TotalView together through LSF
bsub -a tvapplication [bsub_options] mpirun.lsf job [job_options] [-tvopt
tv_options]
-a tvapplication
Specifies the application you want to run through LSF and debug in TotalView.
-tvopt
tv_options
Specifies options to be passed to TotalView. Use any valid TotalView command option,
except
-a (LSF uses this option internally). See the TotalView Users Guide for
information about TotalView command options and setting up parallel debugging
sessions.
To submit a POE job and run TotalView:
% bsub -a tvpoe -n 2 mpirun.lsf myjob -tvopt -no_ask_on_dlopen
The method name tvpoe, uses the special esub for debugging POE jobs with
TotalView (
LSF_SERVERDIR/esub.tvpoe). -no_ask_on_dlopen is a TotalView
option that tells TotalView not to prompt about stopping processes that use the
dlopen
system call.
To submit a LAM/MPI job and run TotalView:
% bsub -a tvlammpi -n 2 mpirun.lsf myjob -tvopt -no_ask_on_dlopen
The method name tvlammpi, uses the special esub for debugging LAM/MPI jobs
with TotalView (
LSF_SERVERDIR/esub.tvlammpi). -no_ask_on_dlopen is a
TotalView option that tells TotalView not to prompt about stopping processes that use
the
dlopen system call.
When the TotalView Root window opens:
TotalView automatically acquires the pam process and a Process window opens.
Click Go in the Process window to start debugging the process.