Community
cancel
Showing results for 
Search instead for 
Did you mean: 
72 Views

Reg: OpenMP version in icc 14.0

Hi,

i have icc 14.0.1.106 build 20131008 on my system. How can i find the version of OpenMP.

Thanks

sivaramakrishna

0 Kudos
2 Replies
72 Views

there should be OpenMP 3.1 version

if you want to get a version of runtime you can set KMP_VERSION environment variable.

TimP
Black Belt
72 Views

The standard way of finding that the OpenMP claims to be 3.1 is to check the value of _OPENMP (it's the date when that version of the standard was released).  You can use this for coarse grained conditional compilation, such as choosing the OpenMP 2.0 subset supported by Microsoft.

There's no way to get a listing of which OpenMP 4 features should be present.  The current compilers claim to support OpenMP 4.0 with the exception of user defined reduction.  That's a big enough exception that it will still report 3.1.

Reply