Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mmread() raises LoadError #112

Open
alugowski opened this issue Jan 21, 2023 · 0 comments
Open

mmread() raises LoadError #112

alugowski opened this issue Jan 21, 2023 · 0 comments

Comments

@alugowski
Copy link

"A.mtx" is a simple coordinate matrix, loaded correctly by MatrixMarket.mmread().

using SuiteSparseGraphBLAS

SuiteSparseGraphBLAS.mmread("A.mtx")

result:

ERROR: LoadError: MethodError: no method matching GBMatrix(::Vector{Int64}, ::Vector{Int64}, ::Vector{Int64}; nrows=7, ncols=7)
Closest candidates are:
  GBMatrix(::AbstractVector, ::AbstractVector, ::AbstractVector{T}; combine, fill) where T at ~/.julia/packages/SuiteSparseGraphBLAS/hotIr/src/types.jl:431 got unsupported keyword arguments "nrows", "ncols"
  GBMatrix(::AbstractVector, ::AbstractVector, ::AbstractVector{T}, ::Any, ::Any; combine, fill) where T at ~/.julia/packages/SuiteSparseGraphBLAS/hotIr/src/types.jl:427 got unsupported keyword arguments "nrows", "ncols"
  GBMatrix(::AbstractVector, ::AbstractVector, ::T; fill) where T at ~/.julia/packages/SuiteSparseGraphBLAS/hotIr/src/types.jl:462 got unsupported keyword arguments "nrows", "ncols"
  ...
Stacktrace:
 [1] kwerr(::NamedTuple{(:nrows, :ncols), Tuple{Int64, Int64}}, ::Type, ::Vector{Int64}, ::Vector{Int64}, ::Vector{Int64})
   @ Base ./error.jl:165
 [2] (::SuiteSparseGraphBLAS.var"#563#565"{Bool, Bool})(mmfile::IOStream)
   @ SuiteSparseGraphBLAS ~/.julia/packages/SuiteSparseGraphBLAS/hotIr/src/mmread.jl:124
 [3] open(::SuiteSparseGraphBLAS.var"#563#565"{Bool, Bool}, ::String, ::Vararg{String}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ Base ./io.jl:384
 [4] open
   @ ./io.jl:381 [inlined]
 [5] mmread (repeats 2 times)
   @ ~/.julia/packages/SuiteSparseGraphBLAS/hotIr/src/mmread.jl:58 [inlined]
 [6] top-level scope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant