-
Notifications
You must be signed in to change notification settings - Fork 32
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
Have a "revert to factory default" setting for that resets LBT to point to the BLAS that shipped with Julia (for 1.6 and earlier) #58
Comments
I (seem to have) managed to revert back to openblas by setting julia> BLAS.vendor()
:openblas64 again. Would be nice to have this work without having to adjust |
I revert by deleting and reinstalling Julia - since it doesn't affect the packages or anything. I'd rather get the default build from julialang.org instead of building my own system image, if I am using the standard configuration. |
Well, you are still free to reinstall Julia if we add this option. Note that one might be using MKL.jl in combination with a self-compiled julia in which case you would have to recompile entirely.
May I ask why? In what way is the default system image better than a self-built one? |
The default system image is built with a great amount of care. So unless I want something out of the ordinary, I personally prefer to use the download provided at julialang.org. |
With the new libblastrampoline infrastructure of Julia 1.7 this becomes irrelevant. |
I will note that with the LBT stuff, we currently allow loading MKL to override OpenBLAS, but do we need a function to go in the reverse direction? Just restarting Julia will give you OpenBLAS by default (unless you load MKL). |
I think that would be great, if only for comparing OpenBLAS and MKL performance when benchmarking a function. For symmetry we might want to add two functions |
It is currently done in the @staticfloat - Any thoughts? |
I'm thinking we should take these lines, wrap them in a function like |
Can we reopen this to not forget about it? The last few posts support reopening this. I just stumbled over it again in the context of setting up a centralised Julia depot on a HPC cluster. The depot contains a centralised MKL.jl installation. It also contains a central |
Do we want the function |
MKL.jl, I think. Will get it in people's hands sooner. |
I'm changing my mind on this. I think the |
At this point, given that we have moved to LBT since 1.7, I think the easiest way to reset on 1.6 is to reinstall Julia. |
I agree, but for LBT (i.e. Julia >=1.7) we still need a way to revert back to the default BLAS within a session. In fact, I still want a way to switch back and forth. Locally, I have a Julia PR that provides a |
I usually do |
Is it possible to switch back to OpenBLAS? If this is a feature it should be documented.
I see that there is a
enable_openblas_startup()
function ininstall.jl
: https://github.com/JuliaComputing/MKL.jl/blob/b6283ca3def34ee6329023e8e8ec2700c2328ff8/src/install.jl#L104How should one call this function to revert the changes?
The text was updated successfully, but these errors were encountered: