OpenMP*

The Intel® C++ Compiler supports the OpenMP* API version 1.0, while the Intel Fortran Compiler supports OpenMP 1.1. Both compilers perform code transformation to generate multithreaded code automatically as determined by your OpenMP* directive annotations to the program. The debugger offers info support for OpenMP.

Use the Intel® threading tools to optimize for Intel architecture in tandem with OpenMP. The Intel threading tools include the following:

  • KAP/Pro Toolset
  • Guide OpenMP* Compiler
  • Assure Thread Analyzer

Find out more about these tools at the Intel Software Products website.

The following option enables the parallelizer to generate multithreaded code based on the OpenMP* directives. The code can be executed in parallel on both single processor and multiple processor systems. The -Qopenmp option only works at an optimization level of -O2 (the default) or higher.

  • Windows*: -Qopenmp
  • Linux*: -openmp

Loops must meet same criteria as those for HLO and vectorization

For complete information on the OpenMP* standard, visit the OpenMP website at www.openmp.org.

For complete information on the Intel compilers' support for OpenMP, see the Intel Compiler User's Guide.