Allinea DDT is a powerful, easy-to-use graphical debugger capable of debugging:
- Single process and multithreaded software
- Parallel (MPI) software
- Heterogeneous software such as that written to use GPUs
- Hybrid codes mixing paradigms such as MPI + OpenMP, or MPI + CUDA
- Multi-process software of any form, including client-server applications
Allinea DDT includes static analysis that highlights potential problems in the source code, integrated memory debugging that can catch reads and writes outside of array bounds, integration with MPI message queues and much more. It provides a complete solution for finding and fixing problems whether on a single thread or hundreds of thousands. Allinea DDT supports all of the compiled languages that are found in mainstream and high-performance computing including:
- C, C++, and all derivatives of Fortran, including Fortran 90.
- Parallel languages/models including MPI, UPC, and Fortran 2008 Co-arrays.
- GPU languages such as HMPP, OpenMP Accelerators, CUDA and CUDA Fortran.
Allinea DDT can be used for debugging on platforms from desktops to Petascale class machines running hundreds of thousands of processes.
Platforms and Locations
Versions other than the current default can be found under here also.
|N/A||We currently do not have licenses for DDT on our CORAL/CORAL EA systems|
Important: Only the bare essentials for getting started are provided here. DDT is a full-featured, sophisticated tool. Users will definitely want to review Allinea's documentation and/or tutorials.
1. On TOSS 3 systems, the ddt command is in the default path (/usr/tce/bin/ddt): Multiple version are available and your version can be switched via the allineaforge modules:
% module avail allineaforge -------------------------- /usr/tce/modulefiles/Core --------------------------- allineaforge/6.0.5 allineaforge/7.0.3 allineaforge/6.1.1 allineaforge/18.2.3 (D) Where: D: Default Module Use "module spider" to find all possible modules. Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys". % module load allineaforge/6.1.1 % which ddt /usr/tce/packages/allineaforge/forge-6.1.1/bin/ddt
2. Build your application being sure to specify the -g compiler flag (if you have not already done so).
3. Launch ddt with your application - the method depends upon whether you are running a serial or parallel application. See below.
1. If you are on a login node, or one of the pdebug or pbatch nodes via using the mxterm utility, you can simply invoke DDT with the name of your executable:
2. You should then see DDT's splash screen, followed by two new DDT windows.
3. In the "Run" window, you should see the name of your executable. If you have arguments to add for you program, you can enter those. Otherwise, just click the "Run" button to launch your serial program.
4. After your program launches, you should get a third window loaded with your serial program . You can now interact with your program (set breakpoints, run, examine data, etc.).
1. For running on LC pbatch partition nodes, you can acquire your partition using LC's mxterm utility. For example:
% mxterm 4 64 60
will request 4 nodes with 64 tasks/cores for 60 minutes.
2. When your new xterm window appears, launch DDT with your application:
% ddt myapp
3. The next step is important - you need to tell DDT to use SLURM as the MPI manager task, and then need to specify the srun arguments and desired number of processes. In the example below, generic (SLURM) is selected, 64 processes.
4. Click on the "Run" button - DDT will attempt to establish your parallel MPI job, as it connects to all processes
5. After DDT starts your parallel job, you will get a new window with your job loaded (below - click for larger image). You can then begin debugging as usual.
- Consult the vendor documentation (below)
- Contact the LC Hotline to report a problem.
Documentation and References
- Allinea (aka Arm) provides complete documentation on their website: https://www.arm.com/products/development-tools/server-and-hpc/forge/ddt
- The DDT installation directories contain documentation, including the DDT User Guide. For example: