Skip to content

ArrayInterfaceCore broken on 1.9 #356

@oscardssmith

Description

@oscardssmith

This package currently uses very low level interfaces to UMFPACK that aren't guaranteed to be stable. Specifically, on Julia master, I'm getting

lu_instance: Error During Test at /home/oscardssmith/.julia/dev/ArrayInterface.jl/lib/ArrayInterfaceCore/test/runtests.jl:70
  Test threw exception
  Expression: lu_instance(A) isa typeof(lu(A))
  MethodError: no method matching SparseArrays.UMFPACK.UmfpackLU(::Ptr{Nothing}, ::Ptr{Nothing}, ::Int64, ::Int64, ::Vector{Int64}, ::Vector{Int64}, ::Vector{Float64}, ::Int64)
  
  Closest candidates are:
    SparseArrays.UMFPACK.UmfpackLU(::SparseArrays.UMFPACK.Symbolic{Tv, Ti}, ::SparseArrays.UMFPACK.Numeric{Tv, Ti}, ::Int64, ::Int64, ::Vector{Ti}, ::Vector{Ti}, ::Vector{Tv}, ::Int64, ::SparseArrays.UMFPACK.UmfpackWS{Ti}, ::Vector{Float64}, ::Vector{Float64}, ::ReentrantLock) where {Tv<:Union{Float64, ComplexF64}, Ti<:Union{Int32, Int64}}
     @ SparseArrays ~/julia/usr/share/julia/stdlib/v1.9/SparseArrays/src/solvers/umfpack.jl:224
  
  Stacktrace:
   [1] lu_instance(jac_prototype::SparseMatrixCSC{Float64, Int64})
     @ ArrayInterfaceCore ~/.julia/dev/ArrayInterface.jl/lib/ArrayInterfaceCore/src/ArrayInterfaceCore.jl:456
   [2] macro expansion
     @ ~/julia/usr/share/julia/stdlib/v1.9/Test/src/Test.jl:477 [inlined]
   [3] macro expansion
     @ ~/.julia/dev/ArrayInterface.jl/lib/ArrayInterfaceCore/test/runtests.jl:70 [inlined]
   [4] macro expansion
     @ ~/julia/usr/share/julia/stdlib/v1.9/Test/src/Test.jl:1496 [inlined]
   [5] top-level scope
     @ ~/.julia/dev/ArrayInterface.jl/lib/ArrayInterfaceCore/test/runtests.jl:67

This is the same issue as SciML/LinearSolve.jl#205, @Wimmerer any chance you can fix this here also?

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