Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Reg: OpenMP version in icc 14.0

shiva_rama_krishna_b
514 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
514 Views

there should be OpenMP 3.1 version

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

0 Kudos
TimP
Honored Contributor III
514 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.

0 Kudos
Reply