Source code for CIME.SystemTests.icp

"""
CIME ICP test  This class inherits from SystemTestsCommon
"""
from CIME.XML.standard_module_setup import *
from CIME.SystemTests.system_tests_common import SystemTestsCommon


[docs] class ICP(SystemTestsCommon): def __init__(self, case, **kwargs): """ initialize an object interface to file env_test.xml in the case directory """ SystemTestsCommon.__init__(self, case, **kwargs)
[docs] def build_phase(self, sharedlib_only=False, model_only=False): self._case.set_value("CICE_AUTO_DECOMP", "false")
[docs] def run_phase(self): self._case.set_value("CONTINUE_RUN", False) self._case.set_value("REST_OPTION", "none") self._case.set_value("HIST_OPTION", "$STOP_OPTION") self._case.set_value("HIST_N", "$STOP_N") self._case.flush() self.run_indv(self)