Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

How can I debug an OpenMP compiled C++ program ?

Intel_C_Intel
Employee
614 Views
Hello Community Members,
I use VS2003 with Intel C++ 9.0 compiler. I'm new in OpenMP programming and especially in debugging. I'd like to debug and see my variables in my programs written using OpenMP paralellization directives. How can I start with learning OpenMP debugging and programming ? What kind of tools should I use for this purpose?

Sincerely
Cem DEMiRKIR
0 Kudos
2 Replies
TimP
Honored Contributor III
614 Views
Intel Thread Checker is an excellent tool for checking correctness of OpenMP parallelization.

Message Edited by hagabb on 05-04-2006 01:05 PM

0 Kudos
Henry_G_Intel
Employee
614 Views

Hello Cem,

The best way to begin learning OpenMP is by reading the OpenMP Application Program Interface (v2.5) at www.openmp.org. It explains all of the directives and API functions and contains dozens of example codes.

Tim is right aboutIntel Thread Checker. It's an excellent tool for debugging OpenMP programs.Intel Thread Profiler can help you tune your OpenMP program once it is debugged.

Henry

Message Edited by hagabb on 05-04-2006 01:22 PM

0 Kudos
Reply