Viewing OpenMP* Information

This topic does not apply to Mac OS*

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:

Viewing OpenMP* Information

Information

Use this command

threads

idb info thread

tasks

idb info task

barriers

idb info barrier

taskwaits

idb info taskwait

locks

idb info lock

teams

idb info team

parent/child relationship

idb info openmp thread tree



Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.