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
새로운 기여자 I
2,165 조회수

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 포인트
1 솔루션
paul_f
새로운 기여자 I
2,140 조회수

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 포인트
4 응답
paul_f
새로운 기여자 I
2,141 조회수

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 포인트
IntelSupport
관리자
2,060 조회수

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 포인트
IntelSupport
관리자
1,999 조회수

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 포인트
IntelSupport
관리자
1,931 조회수

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 포인트
응답