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

[cmake] When using mkl enforce single dynamic lib and explicitly set mkl_interface_layer #48

Merged
merged 3 commits into from
Sep 18, 2023

Conversation

Wentzell
Copy link
Member

No description provided.

Copy link
Member

@the-hampel the-hampel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me and works as expected. Now, without setting MKL_INTERFACE_LAYER there are no more segmentation faults. Very nice.

I have one small comment regarding the mkl.h include, that gives my machine some trouble. See my review. Maybe, once can also grep the LAPACK ROOT dir after cmake found MKL? But I could not find any variable that stores the root dir. However, MKLROOT should always be set when MKL is installed.

c++/nda/CMakeLists.txt Show resolved Hide resolved
@Wentzell Wentzell merged commit cb87bf3 into unstable Sep 18, 2023
3 of 4 checks passed
@Wentzell
Copy link
Member Author

Thank you @the-hampel for the feedback!

@Wentzell Wentzell deleted the DEV_MKL_INTERFACE_LAYER branch September 18, 2023 21:29
Wentzell added a commit that referenced this pull request Sep 18, 2023
…mkl_interface_layer (#48)

* When using mkl enforce single dynamic lib and explicitly set mkl_interface_layer
* When detecting MKL as BLAS/Lapack distrubtion, make sure headers are found through MKLROOT
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.

2 participants