Intel® C++ Compiler 16.0 User and Reference Guide

OpenMP* Source Compatibility and Interoperability with Other Compilers

The Intel® C++ Compiler includes OpenMP* libraries that are object-level compatible with OpenMP* support provided by certain versions of the following compilers:

The term "object-level interoperability" refers to the ability to link object files and libraries generated by one compiler with object files and libraries generated by the second compiler, such that the resulting executable runs successfully. In contrast, "source compatibility" means that the entire application is compiled and linked by one compiler, and you do not need to modify the sources to get the resulting executable to run successfully.

Different compilers support different versions of the OpenMP*specification. Based on the OpenMP*features your application uses, determine what version of the OpenMP* specification your application requires. If your application uses an OpenMP* specification level equal or less than the OpenMP* specification level supported by all the compilers, your application should have source compatibility with all compilers, but you need to link all object files and libraries with the same compiler's OpenMP* libraries.

The Intel OpenMP* run-time libraries provide source compatibility and object-level interoperability with the OpenMP* support provided by:

Guidelines for Using Different Intel® Compiler Versions

To avoid possible linking or run-time problems, follow these guidelines:

Guidelines for Using the Intel® C++ Compiler with non-Intel Compilers

To avoid possible linking or run-time problems, follow these guidelines:

Limitations When Using OpenMP* Libraries with Other Compilers

Limitations of threadprivate objects on object-level interoperability:

See Also