You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
syevd! chosen as default algorithm for juliav v1.12.0+beta is reporting more errors respect to syevr!, creating
problems when a large number of eigen decompositions must be performed.
The same matrix can give LAPACKError (with info>0) on a device and pass on another and viceversa, furthermore the same matrix can give error or not based on the number of threads used, meaning that some instability is present (at least in OpenBLAS, haven't tested MKL yet).
test code with matrix saved in HDF5
The matrix is of medium size $658\times 658$ and resulted from a long computation, so it is stored in a `HDF5` file, if you tell me how can I attach the file for the debug I will send it to you. The code is just the following:
using HDF5
using LinearAlgebra
mat = nothing
h5open("mat_error.h5", "r") do file
global mat = Hermitian(file["mat"][])
end
@info "exectuing with 2 threads"
BLAS.set_num_threads(2)
eigen(mat)
@info "exectuing with 1 thread"
BLAS.set_num_threads(1)
eigen(mat)
The text was updated successfully, but these errors were encountered:
VinceNeede
changed the title
LAPACKError from syevd reported for only for 1 threaded diagonalization and only for v1.12
LAPACKError from syevd reported only for 1 threaded diagonalization and only for v1.12
Apr 25, 2025
VinceNeede
changed the title
LAPACKError from syevd reported only for 1 threaded diagonalization and only for v1.12syevd! is reporting more errors respect to syevr!Apr 27, 2025
syevd!
chosen as default algorithm forjuliav v1.12.0+beta
is reporting more errors respect tosyevr!
, creatingproblems when a large number of eigen decompositions must be performed.
The same matrix can give
LAPACKError
(withinfo
>0) on a device and pass on another and viceversa, furthermore the same matrix can give error or not based on the number of threads used, meaning that some instability is present (at least in OpenBLAS, haven't tested MKL yet).test code with matrix saved in HDF5
The matrix is of medium sizeError obtained
The output isThe text was updated successfully, but these errors were encountered: