- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
- Information contained in the HLRS Wiki is not legally binding and HLRS is not responsible for any damages that might result from its use -
DDT: Difference between revisions
From HLRS Platforms
Jump to navigationJump to search
No edit summary |
(→Usage) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
| license = Commercial | | license = Commercial | ||
| website = [http://www.allinea.com/ Allinea homepage] | | website = [http://www.allinea.com/ Allinea homepage] | ||
}} | |||
== Usage == | |||
DDT is available through modules | |||
{{Command|command = | |||
module load debugger/forge | |||
}} | |||
{{Note|text = | |||
Do not forget to compile your application with debugging info (<tt>-g</tt> option) | |||
}} | |||
== Examples == | |||
=== starting the application from inside DDT === | |||
Get an interactive job and set up the environment within | |||
{{Command| command = | |||
module load debugger/forge<br> | |||
module load mpi/openmpi | |||
}} | |||
Compile your application | |||
{{Command| command = | |||
mpicc -g your_app.c -o your_app | |||
}} | |||
Start DDT: | |||
{{Command| command = | |||
ddt your_app | |||
}} | |||
Select the right MPI implementation in the options and run your program. | |||
==== Hazel Hen special ==== | |||
To debug a program with ddt on Hazel Hen you have to use the ''Reverse Connection'' feature. | |||
Therefore first launch ddt on a login node: | |||
{{Command | command = | |||
module load forge<br> | |||
ddt | |||
}} | |||
Load the forge module in your job script or interactive job and modify your ''aprun'' command line therein | |||
{{Command | command =module load forge<br> | |||
ddt --connect aprun ... | |||
}} | }} | ||
Line 13: | Line 59: | ||
== External links == | == External links == | ||
* [http://www.allinea.com/ Allinea homepage] | * [http://www.allinea.com/ Allinea homepage] | ||
* [http://www.allinea.com/index.php?page=79 DDT Demos] | |||
* [http://www.allinea.com/downloads/userguide.pdf DDT User Guide] | |||
[[Category:Debugger]] | [[Category:Debugger]] |
Revision as of 13:19, 31 October 2018
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. |
|
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
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.
Hazel Hen special
To debug a program with ddt on Hazel Hen you have to use the Reverse Connection feature. Therefore first launch ddt on a login node:
module load forge
ddt
ddt
Load the forge module in your job script or interactive job and modify your aprun command line therein
module load forge
ddt --connect aprun ...
ddt --connect aprun ...