Skip to content

Test failure with METIS ordering in SPQR tests #369

Closed
@ViralBShah

Description

@ViralBShah

Despite building with METIS support in SuiteSparse 7, the QR factorization test with METIS ordering fails, returning -1:

julia> qr(sprand(10,10,0.8), ordering=SparseArrays.LibSuiteSparse.SPQR_ORDERING_METIS)
-1
ERROR: Sparse QR factorization failed
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] _qr!(ordering::Int64, tol::Float64, econ::Int64, getCTX::Int64, A::SparseArrays.CHOLMOD.Sparse{Float64}, Bsparse::Ptr{Nothing}, Bdense::Ptr{Nothing}, Zsparse::Ptr{Nothing}, Zdense::Ptr{Nothing}, R::Base.RefValue{Ptr{SparseArrays.LibSuiteSparse.cholmod_sparse_struct}}, E::Base.RefValue{Ptr{Int64}}, H::Base.RefValue{Ptr{SparseArrays.LibSuiteSparse.cholmod_sparse_struct}}, HPinv::Base.RefValue{Ptr{Int64}}, HTau::Base.RefValue{Ptr{SparseArrays.LibSuiteSparse.cholmod_dense_struct}})
   @ SparseArrays.SPQR ~/julia/usr/share/julia/stdlib/v1.10/SparseArrays/src/solvers/spqr.jl:74
 [3] qr(A::SparseMatrixCSC{Float64, Int64}; tol::Float64, ordering::Int64)
   @ SparseArrays.SPQR ~/julia/usr/share/julia/stdlib/v1.10/SparseArrays/src/solvers/spqr.jl:199
 [4] top-level scope
   @ REPL[21]:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions