Open jd-foster opened 5 months ago
The MWE as it stands needs to include LAPACK_jll
now:
using LinearSolve, blis_jll, LAPACK_jll
A = rand(4, 4)
b = rand(4)
prob = LinearProblem(A, b)
sol = solve(prob,LinearSolve.BLISLUFactorization())
sol.u
If you use LBT though then you're changing global settings.
I see now, you're trying to avoid LBT by going directly like you do with MKL? https://github.com/SciML/LinearSolve.jl/blob/f5282e549d62eccd67df5f7f72d272366983d034/src/mkl.jl#L7
Yes, we'd prefer not to trigger global changes and instead be as local as possible.
We'll see if we can get https://github.com/JuliaPackaging/Yggdrasil/issues/7660 done then.
Based on #431, this demonstrates how to get the BLIS extension working using
libblastrampoline
combined withLAPACK_jll
(based on Reference LAPACK 3.11 https://github.com/Reference-LAPACK/lapack/releases/tag/v3.11)Note that
suffix_hint="64_",
inBLAS.lbt_forward
enables ILP versions.