Pardiso.jl extension
GridapSolvers provides a wrapper for the Pardiso library, through Pardiso.jl:
GridapSolvers.PardisoLinearSolver
— FunctionPardisoLinearSolver(; lib = :MKL, mtype = REAL_NONSYM, nthreads = 1, verbose = false)
Interface with the Pardiso.jl library, which provides access to the PARDISO solver. Check out the Pardiso.jl package for more details.
Arguments
lib
: The library to use, either:MKL
(forPardiso.MKLPardisoSolver
) or:Pardiso
(forPardiso.PardisoSolver
). Defaults to:MKL
.mtype
: The matrix type to use. Gets passed to the solver usingPardiso.set_matrixtype!
. Defaults toPardiso.REAL_NONSYM
.nthreads
: The number of threads to use for the solver. Gets passed to the solver usingPardiso.set_nprocs!
. Defaults to1
.verbose
: Iftrue
, enables verbose output from the solver by setting the message level toMESSAGE_LEVEL_ON
.