@@ -5,7 +5,8 @@ using HYPRE.LibHYPRE: HYPRE_Complex
55using HYPRE: HYPRE, HYPREMatrix, HYPRESolver, HYPREVector
66using LinearSolve: HYPREAlgorithm, LinearCache, LinearProblem, LinearSolve,
77 OperatorAssumptions, default_tol, init_cacheval, __issquare,
8- __conditioning, LinearSolveAdjoint
8+ __conditioning, LinearSolveAdjoint, LinearVerbosity
9+ using SciMLLogging: Verbosity, verbosity_to_int
910using SciMLBase: LinearProblem, LinearAliasSpecifier, SciMLBase
1011using UnPack: @unpack
1112using Setfield: @set!
@@ -159,10 +160,11 @@ function create_solver(alg::HYPREAlgorithm, cache::LinearCache)
159160 solver = create_solver (alg. solver, comm)
160161
161162 # Construct solver options
163+ verbose = verbosity_to_int (cache. verbose. numerical. HYPRE_verbosity)
162164 solver_options = (;
163165 AbsoluteTol = cache. abstol,
164166 MaxIter = cache. maxiters,
165- PrintLevel = Int (cache . verbose) ,
167+ PrintLevel = verbose,
166168 Tol = cache. reltol)
167169
168170 # Preconditioner (uses Pl even though it might not be a *left* preconditioner just *a*
0 commit comments