moose icon indicating copy to clipboard operation
moose copied to clipboard

Suppress PETSc's unused options warning when Problem/solve=false

Open pbehne opened this issue 9 months ago • 1 comments

Motivation

Users can choose to run an MOOSE input without solving by setting Problem/solve=false. When this is done, however, PETSc sees options that are used during the solve as 'unused', and emits a warning. Since the user intentionally instructs MOOSE not to solve, these warnings are irrelevant and should not be displayed to the user.

Design

One possible design is to set PETSc's 'options_left' parameter to false when Problem/solve=false. This will suppress the warning.

Impact

Less annoying warnings to the user.

pbehne avatar May 10 '24 22:05 pbehne

@joshuahansel

pbehne avatar May 10 '24 22:05 pbehne