Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

Reg: OpenMP version in icc 14.0

shiva_rama_krishna_b
284 Views

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
Vladimir_P_1234567890
284 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
284 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