Problems with Intel oneMKL

This morning, I updated to Julia version 1.11.6 (2025-07-09), and I’ve been encountering the following recurring error:

Intel oneMKL ERROR: Parameter 6 was incorrect on entry to DLASWP.

This message repeats multiple times during execution, for example:

Intel oneMKL ERROR: Parameter 6 was incorrect on entry to DLASWP.
Intel oneMKL ERROR: Parameter 6 was incorrect on entry to DLASWP.

┌ Info: Detailed: 24.0% | t = 0.12 yr | T: 10.09 → 10.3 → 10.51 K | Interior: 10.44 K | Surface: 10.16 K | Ice: H₂O = 6.981e12, CO₂ = 7.14e11, CO = 1.131e12 | Elapsed: 53.5 s
└ @ Main.CometDetailed /home/naceur/23AVRIL2025/CP-Shulmann/WENO/Surrogate/C-SurOGATE.jl:874

I’ve spent the whole day investigating this online, and while it seems related to Julia’s linear algebra routines (possibly LAPACK bindings via oneMKL), I’m not making any progress. I tried to restructure my code to avoid heavy matrix operations by making it more iterative, but the error still persists.

One point of confusion: I’m running this on a Ryzen CPU (not Intel), so I don’t understand why oneMKL is involved in the first place. At this stage, I feel the issue may be beyond what I can solve alone