From 91a3f8dee083d9b77a98c2f2d8e24b9a408b812e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20M=C3=BCller-Widmann?= Date: Thu, 18 Sep 2025 00:27:26 +0000 Subject: [PATCH 1/2] Disable use of older MKL_jll versions (#781) --- Project.toml | 1 + src/LinearSolve.jl | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 9f34fd610..0655e91b6 100644 --- a/Project.toml +++ b/Project.toml @@ -93,6 +93,7 @@ KrylovPreconditioners = "0.3" LazyArrays = "1.8, 2" Libdl = "1.10" LinearAlgebra = "1.10" +MKL_jll = "2019, 2020, 2021, 2022, 2023, 2024, 2025" MPI = "0.20" Markdown = "1.10" Metal = "1" diff --git a/src/LinearSolve.jl b/src/LinearSolve.jl index af2d94eb4..0b1241269 100644 --- a/src/LinearSolve.jl +++ b/src/LinearSolve.jl @@ -42,8 +42,11 @@ const CRC = ChainRulesCore @static if Sys.ARCH === :x86_64 || Sys.ARCH === :i686 if Preferences.@load_preference("LoadMKL_JLL", !occursin("EPYC", Sys.cpu_info()[1].model)) + # MKL_jll < 2022.2 doesn't support the mixed LP64 and ILP64 interfaces that we make use of in LinearSolve + # In particular, the `_64` APIs do not exist + # https://www.intel.com/content/www/us/en/developer/articles/release-notes/onemkl-release-notes-2022.html using MKL_jll - const usemkl = MKL_jll.is_available() + const usemkl = MKL_jll.is_available() && pkgversion(MKL_jll) >= v"2022.2" else const usemkl = false end From b7756063539992d080eaa2db439b08a30c26f42a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20M=C3=BCller-Widmann?= Date: Thu, 18 Sep 2025 08:22:29 +0200 Subject: [PATCH 2/2] Bump version number to 3.12.1 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 0655e91b6..76192c7e5 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "LinearSolve" uuid = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae" authors = ["SciML"] -version = "3.12.0" +version = "3.12.1" [deps] ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"