From 54a644c7a33fb9787da2fbf9102cd810b1e8c321 Mon Sep 17 00:00:00 2001 From: Jose Daniel Lara Date: Thu, 28 Sep 2023 12:46:35 -0600 Subject: [PATCH] change parameters pardiso LODF --- src/lodf_calculations.jl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/lodf_calculations.jl b/src/lodf_calculations.jl index cc44d64a..575d69ed 100644 --- a/src/lodf_calculations.jl +++ b/src/lodf_calculations.jl @@ -139,6 +139,19 @@ function _pardiso_sequential_LODF!( @assert LinearAlgebra.ishermitian(A) ps = Pardiso.MKLPardisoSolver() Pardiso.set_matrixtype!(ps, Pardiso.REAL_SYM) + Pardiso.pardisoinit(ps) + # Pardiso.set_msglvl!(ps, Pardiso.MESSAGE_LEVEL_ON) + defaults = Pardiso.get_iparms(ps) + Pardiso.set_iparm!(ps, 1, 1) + for (ix, v) in enumerate(defaults[2:end]) + Pardiso.set_iparm!(ps, ix + 1, v) + end + Pardiso.set_iparm!(ps, 2, 2) + Pardiso.set_iparm!(ps, 59, 2) + Pardiso.set_iparm!(ps, 12, 1) + Pardiso.set_iparm!(ps, 11, 0) + Pardiso.set_iparm!(ps, 13, 0) + Pardiso.set_iparm!(ps, 32, 1) #Pardiso.set_msglvl!(ps, Pardiso.MESSAGE_LEVEL_ON) Pardiso.set_phase!(ps, Pardiso.ANALYSIS) Pardiso.pardiso(