Skip to content

Commit

Permalink
Removing Pardiso out of base jInv. It will have to be an add-on
Browse files Browse the repository at this point in the history
  • Loading branch information
erantreister committed Aug 18, 2019
1 parent f1de0b0 commit 77e5811
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 160 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ uuid = "3dacf901-f8cd-5544-86ed-7a705f85c244"
license = "MIT"
desc = "Flexible Framework for Parallel PDE Parameter Estimation"
authors = ["Eran Treister <[email protected]>"]
version = "1.0"
version = "1.0.0"

[deps]
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
Expand Down
19 changes: 0 additions & 19 deletions src/LinearSolvers/LinearSolvers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,6 @@ module LinearSolvers
end


# check if Pardiso is installed
const minPardisoVersion = VersionNumber(0,1,2)
global hasPardiso = false
try
using Pardiso
global hasPardiso = true
if myid()==1
vPardiso = Pkg.installed()["Pardiso"]
if vPardiso < minPardisoVersion
warn("jInv Pardiso support requires Pardiso.jl version $(minPardisoVersion) or greater. Pardiso support will not be loaded")
hasPardiso = false
end
end
catch
end



export solveLinearSystem!,solveLinearSystem

solveLinearSystem(A,B,param::AbstractSolver,doTranspose::Int=0) = solveLinearSystem!(A,B,zeros(eltype(B),size(B)),param,doTranspose)
Expand All @@ -48,7 +30,6 @@ module LinearSolvers

include("iterativeWrapper.jl")
include("blockIterativeWrapper.jl")
include("PardisoWrapper.jl")
include("juliaWrapper.jl")

export clear!
Expand Down
140 changes: 0 additions & 140 deletions src/LinearSolvers/PardisoWrapper.jl

This file was deleted.

0 comments on commit 77e5811

Please sign in to comment.