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

Use MKL BinaryBuilder Julia package by default #32

Open
amartinhuertas opened this issue Nov 18, 2021 · 1 comment
Open

Use MKL BinaryBuilder Julia package by default #32

amartinhuertas opened this issue Nov 18, 2021 · 1 comment

Comments

@amartinhuertas
Copy link
Member

No description provided.

@hammy4815
Copy link
Contributor

This would be really convenient - I'm not sure if there is a better way to do this, but it took me awhile to figure out how to make this work correctly. In case anyone comes across this with the same issue:

import MKL_jll
ENV["MKLROOT"] = replace(MKL_jll.libmkl_rt_path,"libmkl_rt.so"=>"")
import GridapPardiso

But I also had to change the build.jl from mkllibdir = joinpath(mklroot,"lib/intel64") to mkllibdir = mklroot. I suppose, alternatively one could copy the libdir to somewhere that contains "lib/intel64" in the file path to avoid changing the backend.

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

No branches or pull requests

2 participants