Totalview® for HPC User Guide : PART IV Advanced Tools and Customization : Chapter 20 Setting Up Parallel Debugging Sessions : Debugging Cray XT Applications : Cray Linux Environment (CLE)
Cray Linux Environment (CLE)
CLE applications are similar to those on Cray XT Catamount. The primary difference is that CLE applications are launched using aprun rather than yod.
Most — perhaps all — programs are launched using a batch queueing system such as PBS, Moab, and so on. While this is independent from TotalView, you will need to do queue up for an interactive session. For example:
qsub -I -sz=size
Here is an example of how you would start a CLE debugging session:
totalview aprun -a -n4 a.out
TotalView is not able to stop your program before it calls MPI_Init(). While this is typically at the beginning of main(), the actual location depends on how you’ve written the program. This means that if you set a breakpoint before the MPI_Init() call, TotalView ignores it because the statement upon which you set the breakpoint will have already executed.