CIME.SystemTests.sms.SMS
- class CIME.SystemTests.sms.SMS(case, **kwargs)[source]
Bases:
SystemTestsCommon
Methods
__init__
initialize an object interface to the SMS system test
Do NOT override this method, this method is the framework that controls the build phase.
Perform an individual build
This is the default build phase implementation, it just does an individual build.
clean_build
Compare env_run file to original and warn about differences
Do NOT override this method, this method is the framework that controls the run phase.
Perform an individual run.
This is the default run phase implementation, it just does an individual run.
- build(sharedlib_only=False, model_only=False, ninja=False, dry_run=False, separate_builds=False, skip_submit=False)[source]
Do NOT override this method, this method is the framework that controls the build phase. build_phase is the extension point that subclasses should use.
- build_phase(sharedlib_only=False, model_only=False)[source]
This is the default build phase implementation, it just does an individual build. This is the subclass’ extension point if they need to define a custom build phase.
PLEASE THROW EXCEPTION ON FAIL
- run(skip_pnl=False)[source]
Do NOT override this method, this method is the framework that controls the run phase. run_phase is the extension point that subclasses should use.
- run_indv(suffix='base', st_archive=False, submit_resubmits=None, keep_init_generated_files=False)[source]
Perform an individual run. Raises an EXCEPTION on fail.
keep_init_generated_files: If False (the default), we remove the init_generated_files subdirectory of the run directory before running the case. This is usually what we want for tests, but some specific tests may want to leave this directory in place, so can set this variable to True to do so.