Table of Contents

DDT

Arm DDT is a parallel debugger with a graphical user interface (GUI).

Available

Puhti

License

Usage is possible for both academic and commercial purposes.

Usage

Set up the debugger environment

module load ddt

Compile the application to be debugged, for example a Fortran, C or C++ program, with the compiler option -g to enable generation of debug information.

Here are a few examples of debug sessions (MPI debug sessions). The first requests 40 processes in a single node and the second 40 processes divided into two nodes:

salloc --nodes=1 --ntasks-per-node=40 --time=00:30:00 --partition=small --account=<project_id> ddt srun ./debug_enabled_code
salloc --nodes=2 --ntasks-per-node=20 --time=00:30:00 --partition=large --account=<project_id> ddt srun ./debug_enabled_code

Documentation