-
Notifications
You must be signed in to change notification settings - Fork 11
Debugging Tools
-
Compile GEOSldas for debugging:
parallel_build.csh -debug
. This will build GEOSldas in./build-Debug/
and install into./install-Debug/
. -
Follow the README.md instructions to set up and run the experiment except for the final step (i.e., do not run
sbatch lenkf.j
). Instead, executelenkf.j -debug
, which will complete some preprocessing and then stop at the point whereGEOSldas.x
would normally be run. -
Launch the debugging tool, e.g.,
totalview [PATH]/GEOSldas.x
, using theGEOSldas.x
executable from the-debug
install directory of step 1. -
Configure the debugger options, e.g., select the MPI stack that is encoded in the
./install-Debug/bin/g5_modules
script.
Use the "module" command to "load" a recent version of the available debugging tools.
To use debugging tools at NCCS, you need to be on an interactive compute node, which can be obtained with the following command:
xalloc --ntasks=28 --time=01:00:00 --account=[NCCS_COMPUTATIONAL_PROJECT_NUMBER]
Configure the debugging run following the instructions for MPI. (See item 4 above.)
Note: Debuggers may run out of licenses if too many processors are used; 28 processors are recommended.