- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -

Difference between revisions of "DDT"

From HLRS Platforms
Jump to navigationJump to search
(Update Remote Connection Example for HAWK)
Line 40: Line 40:
 
Select the right MPI implementation in the options and run your program.
 
Select the right MPI implementation in the options and run your program.
  
==== Hazel Hen special ====
+
==== Usage on HAWK ====
  
To debug a program with ddt on Hazel Hen you have to use the ''Reverse Connection'' feature.
+
To debug a program with ddt on HAWK you have to use the ''Reverse Connection'' feature.
 
Therefore first launch ddt on a login node:
 
Therefore first launch ddt on a login node:
 
{{Command | command =
 
{{Command | command =
Line 49: Line 49:
 
}}
 
}}
  
Load the forge module in your job script or interactive job and modify your ''aprun'' command line therein
+
Then, you have to execute the program you want to debug in a separate shell either via a job script or an interactive job as follows:
{{Command | command =module load forge<br>
+
Load the forge module in your job script or interactive job and modify your ''mpirun'' command line therein
ddt --connect aprun ...
+
{{Command | command=module load forge<br>
 +
ddt --connect mpirun ...
 
}}
 
}}
 +
 +
After some time a connection request window will pop up in the ddt GUI. Accept the request and you will get the ddt run window to start debugging.
 +
 +
For more information visit the [https://developer.arm.com/docs/101136/latest/arm-forge/connecting-to-a-remote-system ARM documentation].
  
 
== See also ==
 
== See also ==

Revision as of 19:11, 8 April 2020

Allinea DDT helps developers fix bugs quickly - from the desktop to the largest supercomputer. The most scalable parallel debugger for debugging MPI and multi-threaded codes, DDT leads the world in performance and usability.
Developer: Allinea
Platforms: NEC Nehalem Cluster
Category: Debugger
License: Commercial
Website: Allinea homepage


Usage

DDT is available through modules

module load debugger/forge


Note: Do not forget to compile your application with debugging info (-g option)


Examples

starting the application from inside DDT

Get an interactive job and set up the environment within

module load debugger/forge
module load mpi/openmpi


Compile your application

mpicc -g your_app.c -o your_app


Start DDT:

ddt your_app


Select the right MPI implementation in the options and run your program.

Usage on HAWK

To debug a program with ddt on HAWK you have to use the Reverse Connection feature. Therefore first launch ddt on a login node:

module load forge
ddt


Then, you have to execute the program you want to debug in a separate shell either via a job script or an interactive job as follows: Load the forge module in your job script or interactive job and modify your mpirun command line therein

module load forge
ddt --connect mpirun ...


After some time a connection request window will pop up in the ddt GUI. Accept the request and you will get the ddt run window to start debugging.

For more information visit the ARM documentation.

See also

External links