The debugger provides information on OpenMP* locks, teams and threads when debugging an OpenMP* application.
To enable OpenMP* support, make sure the debugger has access to the shared library libomp_db.so, which by default is in the lib directory in your compiler installation.
The debugger automatically enables OpenMP* support when it detects that the debuggee is an OpenMP program. To switch off OpenMP* support, use the following command:
(idb) set $threadlevel="native"
To switch it back on, use the following command:
(idb) set $threadlevel="openmp"
The debugger enables you to view the following information about an OpenMP* application:
Information |
Use this window |
Use this command |
---|---|---|
threads |
||
tasks |
||
barriers |
||
taskwaits |
||
locks |
||
teams |
||
parent/child relationship |
Copyright © 2001-2011, Intel Corporation. All rights reserved.