Debugging OpenMP Applications
TotalView provides explicit support for many OpenMP C and Fortran compilers. The compilers and architectures that we support are listed in the TotalView Platforms document and our Web site.
Here are some of the 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 the IBM and Compaq compilers.
The code examples used in this section are included in the TotalView distribution in the examples/omp_simple_f file.
Note: On the SGI IRIX platform, you must use the MIPSpro 7.3 compiler or later to debug OpenMP.