Totalview® for HPC User Guide : PART IV Advanced Tools and Customization : Chapter 21 Setting Up Parallel Debugging Sessions : Debugging OpenMP Applications
Debugging OpenMP Applications
TotalView supports many OpenMP compilers for the C, C++, and Fortran languages. Supported compilers and architectures are listed in the TotalView Platforms and Systems Requirements document.
The following are some features that TotalView supports:
Source-level debugging of the original OpenMP code.
The ability to plant breakpoints throughout the OpenMP code, including lines that are executed in parallel.
Visibility of OpenMP worker threads.
Access to SHARED and PRIVATE variables in OpenMP PARALLEL code.
A stack-back link token in worker threads’ stacks so that you can find their master stack.
Access to OMP THREADPRIVATE data in code compiled by supported compilers.
Topics in this section are:
"Debugging OpenMP Programs"
"Viewing OpenMP Private and Shared Variables"
"Viewing OpenMP THREADPRIVATE Common Blocks"
"Viewing the OpenMP Stack Parent Token Line"