Skip to content

Commit

Permalink
Adjust PETSc options
Browse files Browse the repository at this point in the history
Adjust PETSc options to allow tests using an older version of PETSc
to pass.
  • Loading branch information
milljm committed Apr 3, 2024
1 parent f38c93c commit 372306a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@
type = TransientAndAdjoint
forward_system = nl0
adjoint_system = adjoint
petsc_options_iname = '-pc_type -pc_factor_mat_solver_package'
petsc_options_value = 'lu superlu_dist'
petsc_options_iname = '-pc_type'
petsc_options_value = 'lu'
dt = 0.1
end_time = 1

Expand Down
2 changes: 0 additions & 2 deletions modules/optimization/examples/diffusion_reaction/tests
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
exodiff = forward_and_adjoint_out.e
prereq = 'diffusion_reaction/forward_exact diffusion_reaction/parameter_mesh'
detail = 'performing a forward and adjoint simulation, and '
petsc_version = ">=3.15"
[]
[optimize]
type = Exodiff
Expand All @@ -35,7 +34,6 @@
# steady solve
recover = false
detail = 'using TAO to perform optimization.'
petsc_version = ">=3.15"
[]
[]
[]

0 comments on commit 372306a

Please sign in to comment.