Issue Arpack computing eigs

Hi all,
I have a weird error using Arpack.jl.
I am using eigs to compute a generalized eigenvalue problem for large, symmetric, sparse matrices, i.e. eigs(A, B, nev = 1, which = :SM).
I am using julia 1.8.5 on ubuntu 22.04 and while the computation works perfectly fine on my laptop, I have an error on my desktop for the exact same code.

The error I have :

ERROR: LoadError: ┌ Error: XYAUPD_Exception: Maximum number of iterations taken. All possible eigenvalues of OP has been found.
│ IPARAM(5) returns the number of wanted converged Ritz values.
│   info = 1
└ @ Arpack ~/.julia/packages/Arpack/FCvNd/src/libarpack.jl:47

 [1] aupd_wrapper(T::Type, matvecA!::Arpack.var"#12#22"{LinearAlgebra.Symmetric{Float64, SparseArrays.SparseMatrixCSC{Float64, Int64}}}, matvecB::Arpack.var"#19#29"{LinearAlgebra.Symmetric{Float64, SparseArrays.SparseMatrixCSC{Float64, Int64}}}, solveSI::Arpack.var"#20#30", n::Int64, sym::Bool, cmplx::Bool, bmat::String, nev::Int64, ncv::Int64, which::String, tol::Float64, maxiter::Int64, mode::Int64, v0::Vector{Float64}, check::Int64)
   @ Arpack ~/.julia/packages/Arpack/FCvNd/src/libarpack.jl:141
 [2] _eigs(A::LinearAlgebra.Symmetric{Float64, SparseArrays.SparseMatrixCSC{Float64, Int64}}, B::LinearAlgebra.Symmetric{Float64, SparseArrays.SparseMatrixCSC{Float64, Int64}}; nev::Int64, ncv::Int64, which::Symbol, tol::Float64, maxiter::Int64, sigma::Nothing, v0::Vector{Float64}, ritzvec::Bool, explicittransform::Symbol, check::Int64)
   @ Arpack ~/.julia/packages/Arpack/FCvNd/src/Arpack.jl:240
 [3] #eigs#5
   @ ~/.julia/packages/Arpack/FCvNd/src/Arpack.jl:53 [inlined]

I entirely reinstalled julia on my desktop and the error still appear.

Any idea where this could come from ?

The problem comes from the Arpack package : it works with 0.5.3 but not with 0.5.4.

1 Like