Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)

help

Nisha_A_
Beginner
83 Views
Is Intel thead checker support openMP 3.0.
0 Kudos
3 Replies
Peter_W_Intel
Employee
83 Views
Quoting - itlinkstonisha
Is Intel thead checker support openMP 3.0.

Hi,

I'm using Intel Thread Checker 3.1 Update 12, which includes ompPrime example (the codeuses OpemMP*). Now if I want to try OpenMP* 3.0 - I should convert the project to Intel C++ compiler 11.0.61(above) project which supports OpenMP* 3.0.

Intel Thread Checker can detect Write-Read, Write-Write errors after my doing above, and running Thread Checker with example.

Regards, peter
Peter_W_Intel
Employee
83 Views

Hi,

I'm using Intel Thread Checker 3.1 Update 12, which includes ompPrimeexample (the codeuses OpemMP*). Now if I want to try OpenMP* 3.0 - I should convert the project to Intel C++ compiler 11.0.61(above) project which supports OpenMP* 3.0.

Intel Thread Checker can detect Write-Read, Write-Write errors after my doing above, and running Thread Checker with example.

Regards, peter

I double-checked this question - use example named NQeens from Intel Parallel Composer, project nq-openmp-taskqwhich has many OpenMP* 3.0 supported keywords.

I commented out line "#pragma omp critical" for "nrOfSolutions++" (shared global), actually Intel Thread Checker can detect errors!

Now Iam100% sure that Intel Thread Checker 3.1 supports OpenMP* 3.0

Regards, Peter

By the way, why don't you use Intel Parallel Inspector? This tool also can detect thread issues.
TimP
Black Belt
83 Views
I commented out line "#pragma omp critical" for "nrOfSolutions++" (shared global), actually Intel Thread Checker can detect errors!

Now Iam100% sure that Intel Thread Checker 3.1 supports OpenMP* 3.0
I too have tried to determine whether Thread Checker was working by commenting out a critical. In my experience this is more like 50% sure.
Perhaps it's moot for C++, but support for OpenMP 2.5 with actual threading seems implied by claims of support for OpenMP 3.0. True, it's harder to write an ad with wording like "support for selected OpenMP 3.0 features."
Reply