Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel Compiler: workaround if libomp-dev is installed on system. #273

Open
wants to merge 1 commit into
base: OMP_offload
Choose a base branch
from

Conversation

stephan-rohr
Copy link

For intel offload targets, OpenMP initialization is stuck in hanging state if the user has 'libomp-dev' package installed on system. The package adds a symbolic link 'libiomp5.so -> libomp.so'.

The MKL detection from CMake picks up this symbolic link and adds the library to the link line for the miniqmc application.

This patch implements a workaround to just incorporate oneAPI's Library environment into CMake's to supersede the system libraries.

For intel offload targets, OpenMP initialization is stuck in hanging state
if the user has 'libomp-dev' package installed on system. The package
adds a symbolic link 'libiomp5.so -> libomp.so'.

The MKL detection from CMake picks up this symbolic link and adds the
library to the link line for the miniqmc application.

This patch implements a workaround to just incorporate oneAPI's Library
environment into CMake's to supersede the system libraries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant