Skip to content

Commit

Permalink
ACME must do a namelist-gen at case.setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfouca committed Mar 10, 2017
1 parent ca94b4c commit 163a8f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/python/CIME/case_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from CIME.XML.env_mach_pes import EnvMachPes
from CIME.XML.machines import Machines
from CIME.BuildTools.configure import configure
from CIME.utils import append_status, get_cime_root
from CIME.utils import append_status, get_cime_root, get_model
from CIME.test_status import *

import shutil
Expand Down Expand Up @@ -223,7 +223,7 @@ def _case_setup_impl(case, caseroot, clean=False, test_mode=False, reset=False):
logger.info("Finished testcase.setup")

# Some tests need namelists created here (ERP) - so do this if are in test mode
if test_mode:
if test_mode or get_model() == "acme":
logger.info("Generating component namelists as part of setup")
create_namelists(case)

Expand Down

0 comments on commit 163a8f6

Please sign in to comment.