-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Description
After loading MKL, I get ERROR: Error: no BLAS/LAPACK library loaded! and no gradient for BLAS-invoking functions. Before loading MKL it works as expected. MWE:
julia> using Enzyme, LinearAlgebra
julia> f(x) = dot(x, x)
f (generic function with 1 method)
julia> gradient(Reverse, f, ones(1))
1-element Vector{Float64}:
2.0
julia> using MKL
julia> gradient(Reverse, f, ones(1))
Error: no BLAS/LAPACK library loaded!
Error: no BLAS/LAPACK library loaded!
Error: no BLAS/LAPACK library loaded!
Error: no BLAS/LAPACK library loaded!
1-element Vector{Float64}:
0.0This is in a clean environment with current Enzyme, 0.12.25.
julia> versioninfo()
Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 8 × Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, skylake)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)Metadata
Metadata
Assignees
Labels
No labels