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

Difference between revisions of "DDT"

From HLRS Platforms
Jump to navigationJump to search
(Added simple example and special for DDT + Open MPI on Nehalem Cluster)
Line 7: Line 7:
 
| 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/ddt
 +
}}
 +
 +
{{Note|text =
 +
Do not forget to compile your application with debugging info (<tt>-g</tt> option)
 +
}}
 +
 +
 +
== Examples ==
 +
=== starting the application from inside DDT ===
 +
 +
Set up the environment
 +
{{Command| command =
 +
module load debugger/ddt
 +
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.
 +
 +
==== Nec Nehalem Cluster special ====
 +
 +
If you want to debug a parallel Program using Open MPI with DDT on the NEC Nehalem Cluster select 'OpenMPI (Compatibility)' as the desired MPI Implementation.
 +
 +
 +
 +
 +
<!-- === attaching to an already running application === -->
  
 
== See also ==
 
== See also ==

Revision as of 11:11, 10 March 2010

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/ddt


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


Examples

starting the application from inside DDT

Set up the environment

module load debugger/ddt 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.

Nec Nehalem Cluster special

If you want to debug a parallel Program using Open MPI with DDT on the NEC Nehalem Cluster select 'OpenMPI (Compatibility)' as the desired MPI Implementation.



See also

External links