Skip to content

Conversation

@j-fu
Copy link
Contributor

@j-fu j-fu commented Feb 8, 2023

This e.g. would allow to supply a matrix type with multithreaded factorization etc. Would solve #190.

However, see JuliaSparse/SparseArrays.jl#265 .

@codecov
Copy link

codecov bot commented Feb 8, 2023

Codecov Report

Merging #273 (82da413) into main (a7b7d2b) will decrease coverage by 35.12%.
The diff coverage is 47.05%.

@@             Coverage Diff             @@
##             main     #273       +/-   ##
===========================================
- Coverage   70.97%   35.86%   -35.12%     
===========================================
  Files          14       11        -3     
  Lines         858      764       -94     
===========================================
- Hits          609      274      -335     
- Misses        249      490      +241     
Impacted Files Coverage Δ
src/LinearSolve.jl 60.00% <ø> (-36.56%) ⬇️
src/factorization.jl 33.63% <46.66%> (-49.49%) ⬇️
src/default.jl 38.55% <50.00%> (-15.67%) ⬇️
src/factorization_sparse.jl 0.00% <0.00%> (-100.00%) ⬇️
ext/LinearSolveHYPRE.jl 0.00% <0.00%> (-92.60%) ⬇️
src/preconditioners.jl 21.42% <0.00%> (-58.58%) ⬇️
src/solve_function.jl 63.63% <0.00%> (-36.37%) ⬇️
src/iterative_wrappers.jl 53.88% <0.00%> (-23.44%) ⬇️
... and 5 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ChrisRackauckas
Copy link
Member

Anywhere that assumes it's a sparsematrixcsc should not remove the conversion because that could concrete things like MatrixOperators of SparseMatrixCSC. For things that are already concrete matrices it should be a no-op so that's fine, and then afterwards it should assert it's an AbstractSparseMatrixCSC and use the sparse matrix functions on it.

@ChrisRackauckas ChrisRackauckas merged commit 5840ee7 into SciML:main Feb 20, 2023
@j-fu
Copy link
Contributor Author

j-fu commented Feb 20, 2023

👍

@j-fu
Copy link
Contributor Author

j-fu commented Feb 27, 2023

Hi,I think we need a version update for LinearSolvePardiso.jl as well to bring this in place there.

@ChrisRackauckas
Copy link
Member

It should probably be changed into an extension package in the near future.

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

Successfully merging this pull request may close these issues.

2 participants