User Guide


OpenMP* in your Build Environment

OpenMP* is supported by certain versions of the Microsoft Visual C++* compiler, the GNU* compilers, the
Intel® C++ Compiler Classic
, and
Intel® Fortran Compiler Classic
  • Most recent versions of the Microsoft Visual C++* compiler include OpenMP support.
  • Certain editions of the
    Intel® Parallel Studio XE
    software suite includes the
    Intel® C++ Compiler Classic
    and the
    Intel® Fortran Compiler Classic
    , which supports the
    feature introduced with OpenMP 3.0.
For information about OpenMP support for the Microsoft compilers, see your Microsoft Visual Studio help.
For information about OpenMP support for the GNU compilers, see your compiler help or the appropriate man page, such as
To enable OpenMP on the command line, specify the appropriate compiler option (see your compiler documentation), such as the
(for Linux* OS) or
/Qopenmp (for Windows* OS)
option when using the Intel compilers.
To enable OpenMP on a
Windows OS system
using Microsoft Visual Studio*:
  1. In Solution Explorer, select (click) the name of one or more projects. To select multiple projects, hold down the Ctrl key.
  2. Select
    or right-click the project name and select
    from the pop-up menu.
  3. Specify the Configuration Properties for your C/C++ or Fortran project(s):
    OpenMP Support
    OpenMP Support
  4. Click
    to save the specified properties.
  5. Repeat the steps above for other configurations.
  6. You should check your startup project properties before starting a build.
You have set up your environment for OpenMP support on a Windows OS system.
Even if you are only using the
#pragma omp
pragmas within your source, Visual C++ sources compiled with the Microsoft compilers need to
#include <omp.h>.
Otherwise, running the application will be missing a
at load time.
To include the appropriate OpenMP environment when using the
Intel® Fortran Compiler Classic
, specify the
use omp_lib

Product and Performance Information


Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804