Skip to content

Commit ce380c3

Browse files
committed
Remove dependency on LinearSolve.jl. Wait instead for implementation of SciML/LinearSolve.jl#190
1 parent e216523 commit ce380c3

File tree

5 files changed

+0
-79
lines changed

5 files changed

+0
-79
lines changed

Project.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,17 @@ version = "0.7.0"
77
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
88
IterativeSolvers = "42fd0dbc-a981-5370-80f2-aaf504508153"
99
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
10-
LinearSolve = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
11-
LinearSolvePardiso = "a6722589-28b8-4472-944e-bde9ee6da670"
1210
Pardiso = "46dd5b70-b6fb-5a00-ae2d-e8fea33afaf2"
1311
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
1412
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
15-
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
16-
Setfield = "efcf1570-3423-57d1-acb7-fd33fddbac46"
1713
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1814
SuiteSparse = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9"
1915
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
20-
UnPack = "3a884ed6-31ef-47d7-9d2a-63182c4928ed"
2116

2217
[compat]
2318
DocStringExtensions = "0.8.0,0.9"
2419
IterativeSolvers = "0.9.2"
25-
LinearSolve = "1.23"
2620
Requires = "1.1.3"
27-
SciMLBase = "1.49"
28-
Setfield = "0.7, 0.8, 1"
29-
UnPack = "1"
3021
julia = "1.6"
3122

3223
[extras]

src/ExtendableSparse.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ module ExtendableSparse
22
using SparseArrays
33
using LinearAlgebra
44
using SuiteSparse
5-
using Setfield: @set!
6-
using UnPack: @unpack
7-
import LinearSolve,SciMLBase
85

96
using Requires
107

@@ -20,10 +17,6 @@ include("extendable.jl")
2017
export SparseMatrixLNK,ExtendableSparseMatrix,flush!,nnz, updateindex!, rawupdateindex!, colptrs
2118

2219

23-
include("linearsolve.jl")
24-
25-
26-
2720
include("factorizations.jl")
2821
export JacobiPreconditioner, ILU0Preconditioner, ParallelJacobiPreconditioner, ParallelILU0Preconditioner, reorderlinsys
2922
export AbstractFactorization,LUFactorization, CholeskyFactorization

src/linearsolve.jl

Lines changed: 0 additions & 31 deletions
This file was deleted.

test/Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
44
IncompleteLU = "40713840-3770-5561-ab4c-a76e7d0d7895"
55
IterativeSolvers = "42fd0dbc-a981-5370-80f2-aaf504508153"
66
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
7-
LinearSolve = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
87
Pardiso = "46dd5b70-b6fb-5a00-ae2d-e8fea33afaf2"
98
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
109
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

test/runtests.jl

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ using AlgebraicMultigrid
1010
using IncompleteLU
1111
using IterativeSolvers
1212

13-
using LinearSolve
1413

1514
##############################################################
1615
@testset "Constructors" begin
@@ -464,33 +463,3 @@ end
464463
@test test_parilu0(1000)
465464
end
466465

467-
468-
function test_linearsolve(n)
469-
470-
A=fdrand(n,1,1, matrixtype=ExtendableSparseMatrix)
471-
b=rand(n)
472-
c=A\b
473-
@test c LinearSolve.solve(LinearProblem(A,b)).u
474-
475-
A=fdrand(n,n,1, matrixtype=ExtendableSparseMatrix)
476-
b=rand(n*n)
477-
c=A\b
478-
@test c LinearSolve.solve(LinearProblem(A,b)).u
479-
480-
@test c LinearSolve.solve(LinearProblem(A,b),UMFPACKFactorization()).u
481-
@test c LinearSolve.solve(LinearProblem(A,b),KLUFactorization()).u
482-
@test c LinearSolve.solve(LinearProblem(A,b),IterativeSolversJL_CG(),Pl=ILU0Preconditioner(A)).u
483-
@test c LinearSolve.solve(LinearProblem(A,b),IterativeSolversJL_CG(),Pl=JacobiPreconditioner(A)).u
484-
@test c LinearSolve.solve(LinearProblem(A,b),IterativeSolversJL_CG(),Pl=ParallelJacobiPreconditioner(A)).u
485-
@test c LinearSolve.solve(LinearProblem(A,b),IterativeSolversJL_CG(),Pl=ILUTPreconditioner(A)).u
486-
@test c LinearSolve.solve(LinearProblem(A,b),IterativeSolversJL_CG(),Pl=AMGPreconditioner(A)).u
487-
488-
489-
end
490-
491-
if Base.USE_GPL_LIBS
492-
#requires SuiteSparse which is not available on non-GPL builds
493-
@testset "LinearSolve" begin
494-
test_linearsolve(20)
495-
end
496-
end

0 commit comments

Comments
 (0)