Skip Navigation
Search

Debugging tools

gdb

gdb is the GNU debugging tool. gdb works by default without loading a specific module.

 

gdb4hpc

gdb4hpc is a parallel debugger for C, C++ and Fortran programs and is available on both the MACS and XCI systems as part of the Cray Programming Environment. It is a command line tool (based on gdb) and it can be used either to launch an application or attach to application which is already running.

It can be loaded via

module load CPE
module load gdb4hpc

 

ddt

ddt is Arm's debbuging tool. It can be launched via a GUI. Make sure you are connected to Ookami via  SSH X forwarding. On the login node load the modules which your program requires and also

module load arm-modules/21
module load forge

Now the arm ddt GUI can be opened via the command ddt

The interface will guid you through the setup of your debugging session.

 

valgrind

valgrind is an instrumentation framework for building dynamic analysis tools. valgrind works by default without loading any additional modules.

 

valgrind4hpc

valgrind4hpc is a parallel memory debugging tool that aids in detection of memory leaks and errors in parallel applications.

It can be loaded via

module load CPE
module load valgrind4hpc

 

CCDB

This is the Cray Comparative Debugger, which can be loaded via

module load CPE
module load cray-ccdb

Note that SSH X forwarding must be activated to open the GUI.

 

ATP

Cray's Abnormal Termination Processing can be loaded via

module load CPE
module load atp

 

STAT

Cray's Stack Trace Analysis Tool can be loaded via

module load CPE
module load cray-stat