moose
moose copied to clipboard
MOOSE code still triggering PETSc's unused options warning
Bug Description
MOOSE is setting PETSc options that are not always used. When this occurs, PETSc emits an annoying unused options warning that the user cannot do anything about.
Steps to Reproduce
So far, I have seen 2 categories of unused options.
The first can be observed by running test/tests/problems/eigen_problem/eigensolvers/ipm.i
. This results in the following warning:
WARNING! There are options you set that were not used!
WARNING! could be spelling mistake, etc!
There are 7 unused database options. They are:
Option left: name:-ksp_converged_reason value: ::failed source: code
Option left: name:-mat_mffd_type value: wp source: code
Option left: name:-snes_converged_reason value: ::failed source: code
Option left: name:-snes_mf_operator (no value) source: code
Option left: name:-st_ksp_atol value: 1e-50 source: code
Option left: name:-st_ksp_max_it value: 10000 source: code
Option left: name:-st_ksp_rtol value: 0.01 source: code
The likely solution is not to set these options for Eigen
problems.
The second category can be observed by running test/tests/time_integrators/actually_explicit_euler_verification/ee-1d-linear.i
This results in the following warning:
WARNING! There are options you set that were not used!
WARNING! could be spelling mistake, etc!
There are 3 unused database options. They are:
Option left: name:-snes_converged_reason value: ::failed source: code
Option left: name:-snes_monitor_cancel (no value) source: code
Option left: name:-snes_type value: ksponly source: code
I have not yet investigated this category. All failures can be viewed here: https://civet.inl.gov/event/184918/
Impact
Users are annoyed with warnings that are not their fault.
[Optional] Diagnostics
No response