Totalview® for HPC User Guide : PART IV Advanced Tools and Customization : Chapter 20 Setting Up Parallel Debugging Sessions : Debugging OpenMP Applications : Debugging OpenMP Programs : About TotalView OpenMP Features
About TotalView OpenMP Features
TotalView interprets the changes that the OpenMP compiler makes to your code so that it can display your program in a coherent way. Here are some things you should know:
The compiler can generate multiple outlined routines from a single parallel region. This means that a single line of source code can generate multiple blocks of machine code inside different functions.
You can’t single step into or out of a parallel region. Instead, set a breakpoint inside the parallel region and let the process run to it. After execution reaches the parallel region, you can single step in it.
OpenMP programs are multi-threaded programs, so the rules for debugging multi-threaded programs apply.