Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Compatible versions of Intel OpenMP and GCC

paul_f
Novice
983 Views

Is there any documentation on with versions of Intel OpenMP are compatible with which versions of GCC?

At work we tend to be very conservative about changing anything, and mostly use GCC 5.3.0 and Intel MKL 2017.

I've been working on a big project to test performance of more recent compilers and libraries. However I'm getting big performance (due to numerical problems) when I use MKL 2017 with versions of GCC 9.1 and later. If I use MKL 2020 then the problem goes away. If possible I'd like to avoid repeating that experience.

0 Kudos
1 Solution
paul_f
Novice
958 Views

Maybe the answer to my own question, there is this:

 

https://www.intel.com/content/www/us/en/docs/cpp-compiler/developer-guide-reference/2021-9/openmp-support.html

 

The OpenMP specification does not define interoperability of multiple implementations, so the OpenMP implementation supported by other compilers and OpenMP support in the Intel® C++ Compiler Classic might not be interoperable. Even if you compile and build the entire application with one compiler, be aware that different compilers might not provide OpenMP source compatibility that enable you to compile and link the same set of application sources with a different compiler and get the expected parallel execution results. 

 

Is that all that I can count on?

 

View solution in original post

0 Kudos
4 Replies
paul_f
Novice
959 Views

Maybe the answer to my own question, there is this:

 

https://www.intel.com/content/www/us/en/docs/cpp-compiler/developer-guide-reference/2021-9/openmp-support.html

 

The OpenMP specification does not define interoperability of multiple implementations, so the OpenMP implementation supported by other compilers and OpenMP support in the Intel® C++ Compiler Classic might not be interoperable. Even if you compile and build the entire application with one compiler, be aware that different compilers might not provide OpenMP source compatibility that enable you to compile and link the same set of application sources with a different compiler and get the expected parallel execution results. 

 

Is that all that I can count on?

 

0 Kudos
IntelSupport
Community Manager
878 Views

Hi,


Thanks for posting in Intel Communities.


We're glad to hear that the issue was resolved. Yes, we can prefer the same link for the versions. If you ever have any further queries or concerns, please raise a new thread. Thank you.


Regards,

Jilani


0 Kudos
IntelSupport
Community Manager
817 Views

Hi,



A gentle reminder:

Have you found the information to be useful? If you ever have any further queries or concerns, please raise a new thread. Thank you.



Regards,

Jilani


0 Kudos
IntelSupport
Community Manager
749 Views

Hi,



A gentle reminder:

Have you found the information to be useful? If you ever have any further queries or concerns, please raise a new thread. Have a good day. Thank you.



Regards,

Jilani


0 Kudos
Reply