Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)

help

Nisha_A_
Beginner
316 Views
Is Intel thead checker support openMP 3.0.
0 Kudos
3 Replies
Peter_W_Intel
Employee
316 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
0 Kudos
Peter_W_Intel
Employee
316 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.
0 Kudos
TimP
Honored Contributor III
316 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."
0 Kudos
Reply