Skip to content

Commit

Permalink
Merge pull request #4464 from ESMCI/jgfouca/mpas_ocn_petsc
Browse files Browse the repository at this point in the history
Add support for MPASO_USE_PETSC

Test suite:
Test baseline:
Test namelist changes:
Test status: [bit for bit, roundoff, climate changing]

Fixes [CIME Github issue #]

User interface changes?:

Update gh-pages html (Y/N)?:
  • Loading branch information
jgfouca authored Jul 24, 2023
2 parents 95c1430 + 226053a commit 883edea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CIME/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1116,6 +1116,7 @@ def _case_build_impl(
ninst_build = case.get_value("NINST_BUILD")
smp_value = case.get_value("SMP_VALUE")
clm_use_petsc = case.get_value("CLM_USE_PETSC")
mpaso_use_petsc = case.get_value("MPASO_USE_PETSC")
cism_use_trilinos = case.get_value("CISM_USE_TRILINOS")
mali_use_albany = case.get_value("MALI_USE_ALBANY")
mach = case.get_value("MACH")
Expand All @@ -1140,7 +1141,7 @@ def _case_build_impl(
# the future there may be others -- so USE_PETSC will be true if
# ANY of those are true.

use_petsc = clm_use_petsc
use_petsc = bool(clm_use_petsc) or bool(mpaso_use_petsc)
case.set_value("USE_PETSC", use_petsc)

# Set the overall USE_TRILINOS variable to TRUE if any of the
Expand Down

0 comments on commit 883edea

Please sign in to comment.