You can use the latest Arm (Allinea) DDT debugger on the XC40 system (Theta).
There is no limit to the number of users; however, users have to share the available license tokens.
Modules and Soft keys
On Theta, for the latest version load the module forge/19.1.2. When using the Arm Forge Remote Client, specify remote installation directory, "/soft/debuggers/forge-19.1.2-2019-08-06”. The Remote Client version must match.
On the systems managed with softenv (Cooley), use the soft key "+forge" for the latest version available. When using the Allinea Remote Client, specfiy remote installation directory "/soft/debuggers/forge".
Debugging with DDT
DDT may be started in two ways.
- Via Remote Client from your laptop or workstation (Recommended)
- Running the DDT client on a login node and displaying back to you via X11.
Option A: Via Remote Client (Recommended)
This method is best for remote use of DDT because the GUI client runs directly on your laptop or workstation. This has much lower remote bandwith requirements than the other method.
- Download the remote client at https://developer.arm.com/tools-and-software/server-and-hpc/downloads/arm-forge. (Note: There is a link near the bottom of the page for versions prior to the latest release. You have to use a similar version to the loaded forge module on Theta. For example, you may download Arm Forge Client 19.1.4 for the Theta module forge/19.1.2)
- Run the client on your local machine and select Remote Launch->Configure to set up a configuration to connect to the login node.
- Run your application on Theta with one of the following command lines:
- ddt --offline aprun -n 48 ./example
- ddt --connect aprun -n 48 ./example
On an interactive job mode, run your application with ddt --connect.
jkwack@thetalogin4:~/HPC_benchmarks/JKBench_GeoSeries> qsub -I -n 1 -t 60 -q debug-cache-quad -A Performance Connecting to thetamom3 for interactive qsub... Job routed to queue "debug-cache-quad". Memory mode set to cache quad for queue debug-cache-quad Wait for job 414368 to start... Opening interactive session to 3836 jkwack@thetamom3:/gpfs/mira-home/jkwack> module load forge jkwack@thetamom3:/gpfs/mira-home/jkwack>cd HPC_benchmarks/JKBench_GeoSeries jkwack@thetamom3:/gpfs/mira-home/jkwack/HPC_benchmarks/JKBench_GeoSeries> ddt --connect aprun -n 64 ./Comp_GeoSeries_DP 4096 100