Difference between revisions of "Forge"
m (R Barthel moved page DDT to Forge: Software was purchased by Arm, hence it has been rebranded to "(Arm) Forge".)
Revision as of 14:53, 25 March 2019
|License||Floating or server locked licences for developers and users. | ARM Forge licensing|
|Links||ARM Forge Homepage|
ARM Forge (DDT + MAP): The debugger and profiler for C, C++ and F90 threaded and parallel code.
ARM DDT's powerful intuitive GUI defines the standard of multi-process, multi-threaded debugging. Zero-click variable comparisons and powerful array visualizations simplify the complexity of debugging software wriitten to exploit today's increasingly parallel processors, clusters and supercomputers.
DDT consists of a graphical front end and a back end serial debugger which controls the application program. One instance of the serial debugger controls one MPI process. Via the front end the user interacts with the debugger to select the program that will be debugged, to specify different options and to monitor the execution of the program. Debugging commands may be sent to one, all or a subset of the MPI processes.
See more infos about DDT
2 Versions and Availability
A list of versions currently available on all bwHPC-C5-Clusters can be obtained from the
On the command line interface of any bwHPC cluster you'll get a list of available versions
by using the command
'module avail devel/ddt'.
$ : bwUniCluster $ module avail devel/forge ------------------------ /opt/bwhpc/common/modulefiles ------------------------- devel/forge/19.0(Default) devel/forge/7.0
Now, the DDT-GUI may be started with the command
'ddt [program-name] &'.
[program-name] is the name of your program that you want to debug.
- The top line shows the executable file that will be run under control of the debugger. In the following lines you may input some options that are passed to your program or to the MPI environment.
- If your program reads data from stdin you can specify an input file in the startup window.
- Before starting an MPI program you should check that "Open MPI (Compatability)" or "Intel MPI" is the MPI implementation that has been selected. If this is not the case, you have to change this. Otherwise ddt may not be able to run your program. In order to debug serial programs, the selected MPI implementation should be "none". You may also change the underlying serial debugger using the "change" button. By default ddt uses its own serial debugger, but it may also use the Intel idb debugger.
- Select the number of MPI processes that will be started by ddt. If you are using ddt within a batch job, replace mpirun by ddt in the command line of your job-shellscript and make sure that the chosen number of MPI processes is identical to the number of MPI tasks (-p [number_of_procs]) that you selected with the job_shellscript command. When you debug a serial program, select 1.
- After you have checked all inputs in the ddt startup window, you can start the debugging session by pressing the "run" button.
The ddt window now shows the source code of the program that is being debugged and breakpoints can be set by just pointing to the corresponding line and pressing the right mouse button.
So you may step through your program, display the values of variables and arrays and look at the message queues.