Skip to content

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

Open
stephan-rohr wants to merge 1 commit intoQMCPACK:OMP_offloadfrom
stephan-rohr:fix/intel_compiler_OpenMP
Open

Intel Compiler: workaround if libomp-dev is installed on system.#273
stephan-rohr wants to merge 1 commit intoQMCPACK:OMP_offloadfrom
stephan-rohr:fix/intel_compiler_OpenMP

Conversation

@stephan-rohr
Copy link
Copy Markdown

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