Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

!ARM Forge is a one of the few Debugging and Performance profiling tools available on Shaheen. Developers can make use of these tools to find bugs in their code by live or offline debugging and also create performance profiles of parallel, sequential and even Python applications running on compute nodes of Shaheen.

...

Firstly you need to instrument your source code for debugging by compiling it with -g flag enabled. Debuggers such as gdb, idb, TotalView or Arm Forge ddt require this instrumentation. Once you have (re) compiled the application, you can launch ddt as batch job as follows:

Code Block
#!/bin/bash
#SBATCH --ntasks=32
#SBATCH --time=01:00:00
#SBATCH --hint=nomultithread

# Load your software environment
module load arm-forge/20.2.1
ddt --connect

...