Uppsala Multidisciplinary Center for Advanced Computational Science

Allinea DDT - Distributed Debugging Tool

UPPMAX has 96 licenses (one license per (MPI) process) that allows you to debug programs running in parallel with up to 6 nodes on 16 cores or any other combination. The licenses are shared between all users that are in active debugging session.

To use the graphical user interface (GUI) make sure you have X11 forwarded when connecting to Tintin.

$ ssh -Y tintin.uppmax.uu.se

To use the program load the ddt module from you command line.

$ module load ddt

Make sure you have compiled your code with debugging flag options!

To start the program run:

$ ddt
$ ddt ./myprogram

To be able to debug MPI program select MPI option and then click on "Change" to select submission script configuration for Tintin and provide the job specific options.

System> select "Auto-Detect" for "MI/UPC Implementation" and tick "Create Root and Workers group automatically".

Job Submission> Browse and select "/sw/comp/ddt/3.2.1/templates/tintin-node.qtf" in the filed "Submission template file:". Make sure that "Quick Restart" is also ticked. This will allow you to restart your program without cancelling the allocated time and allocating it again.

"Edit Queue Submission Parameters..." to specify Partition, Project and requested time. Failing to provide project number will cause failures in the submission process.

On the main configuration window the button "Run" will change to "Submit". Click on this button to submit your debugging session to the queue manager.

If you enable "Memory debugging" tick "Preload the memory debugging library" and select "C/Fortran threads" in the "Language:" field. Read the manual for more detail on the options in this panel.

Useful links

Allinea DDT home page: http://www.allinea.com/products/ddt/

Support, known issues and release history: http://www.allinea.com/products/ddt-support/

User Guide: http://content.allinea.com/downloads/userguide.pdf