Profiling and Debugging Your Code


Debugging is an important step in developing a new code, or porting an old one to a new machine. This session is presented as a primer for debugging problems with applications in an HPC environment. We will discuss the debugging of frequently encountered bugs in serial code with gdb and the debugging of parallel (MPI and threaded) codes with DDT on SHARCNET systems.

Instructor: TBA.

Prerequisites: Basic familiarity with a high-level language (C/C++/Fortran) as well as compiling and running programs via the SHARCNET command line environment.