The Allinea DDT Debugger at PPPL

The Allinea DDT Debugger has been installed for test purposes. This debugger can be used on non-parallel (sequential) jobs or parallel (MPI) jobs. For detailed instructions, see DDT User Guide Version 2.5.1. You might paticularly look at Appendices C, D, and E where known issues are discussed.


The following configurations have been tested.

To debug in non-parallel mode:
   o Compile program with debug flags.
   o Set up DDT using command "module load ddt"
   o Run DDT with the command "ddt"

   o Then in DDT, click on "Run and Debug a Program"
     Fill out the application entry in the Welcome" popup 
       and click run.

   o DDT will then go into debug mode.  Breakpoints are set
     by double-clicking on source statements. Standard output
     is seen by selecting the Input/Output tab in the lower
     quarter of the display.

To debug in parallel mode using openmpi:
   o Compile program with debug flags.
   o Set up DDT using command "module load ddt"
     Your bash .profile or c-shell .login file must have:
       module load pathscale/3.2
       module load openmpi/1.2.7-debug (note the 1.2.7-debug)
       module load ddt
    o With the "use command", get into the cluster
    o Run DDT with the command
       "ddt -config $DDT_HOME/config_openmpi.ddt"

   o Then in DDT, click on "Run and Debug a Program"
     Fill out the application entry in the Welcome" popup 
       and click run.

   o DDT will then go into debug mode.  Breakpoints are set
     by double-clicking on source statements. Standard output
     is seen by selecting the Input/Output tab in the lower
     quarter of the display.

To debug in parallel mode on STIX with vsmpich2:
  o Compile program with debug flags.
   o Set up DDT using command "module load ddt"
     Your bash .profile or c-shell .login file must have:
       module load intel
       module load vsmpich2
       module load ddt
    o With the "use command", get onto stix
    o Run DDT with the command
       "ddt -config $DDT_HOME/config_vsmpich2.ddt"

   o Then in DDT, click on "Run and Debug a Program"
     Fill out the application entry in the Welcome" popup
       and click run.

   o DDT will then go into debug mode.  Breakpoints are set
     by double-clicking on source statements. Standard output
     is seen by selecting the Input/Output tab in the lower
     quarter of the display.


2010-03-05 Lew Randerson (lranderson@pppl.gov or helpdesk@pppl.gov)