Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

what OpenMP version?

Ralf
Beginner
1,103 Views
Hi there,
how can I find out which OpenMP version I am using ?
Compiler version:
Intel Visual Fortran Composer XE 2011 Integration for Microsoft Visual Studio* 2010, 12.0.3471.2010
Cheers
-Ralf
0 Kudos
3 Replies
TimP
Honored Contributor III
1,103 Views
The macro _OPENMP should have the value 200805, meaning the standard issued in the month 05/2008 (OpenMP 3.0), although that level of the standard isn't fully implemented. With some much older compiler, if you got an earlier value of the macro, you would know that it is not OpenMP 3.0.
I'm not sure what version number you are quoting; the compiler version is given at command line by
ifort -V
0 Kudos
Ralf
Beginner
1,103 Views
Thanks Tim,
where do I find the macro '_OPENMP'?
the number I quoted is from the VS 2010 Help-Menu, under Installed products when I go on 'Intel Visual Fortran'.
ifort -V gives 12.0.4.196 Build 20110427
Cheers
-Ralf
0 Kudos
Steven_L_Intel1
Employee
1,103 Views
_OPENMP is a preprocessor macro. You'd have to use it in a program and compile it with preprocessing enabled.

The 12.0 compiler supports OpenMP 3.0.
0 Kudos
Reply