Remove provenance/model specific configuration#4271
Conversation
Adds CIME flags and provenance Adds CIME flags and provenance code to support CIME PR ESMCI/cime#4271. The flags control how CIME's runtime operates and provenance is handle by three functions, save_build_provenance, save_prerun_provenance and save_postrun_provenance. [BFB] * jasonb5-adds_provenance: Updates customize readme Updates some method names Refactors save_postrun_provenance Refactors save_prerun_provenance Refactors save_build_provenance Adds provenance tests Splits out flags and provenance code. Adds initial CIME config and provenance
Adds CIME flags and provenance Adds CIME flags and provenance code to support CIME PR ESMCI/cime#4271. The flags control how CIME's runtime operates and provenance is handle by three functions, save_build_provenance, save_prerun_provenance and save_postrun_provenance. [BFB] * jasonb5-adds_provenance: Updates customize readme Updates some method names Refactors save_postrun_provenance Refactors save_prerun_provenance Refactors save_build_provenance Adds provenance tests Splits out flags and provenance code. Adds initial CIME config and provenance
|
I am removing myself as a reviewer since it's still at least 2 weeks before I'd get a chance to look at it and I don't want to hold it up. Thanks for your work on this @jasonb5 - this is a hugely valuable set of changes! |
…e 'e3sm' and 'cesm'
|
@jedwards4b I've addressed all the issues. I've attached the CESM configuration file. It should be place under |
|
Here's the configuration file, cesm_config.zip. |
jedwards4b
left a comment
There was a problem hiding this comment.
looks good - I ran scripts_regression_tests on cheyenne. There are a couple of failures I am looking into.
|
One of the test failures was my fault, it's fixed with no changes. The other looks like it shouldn't run for cesm: a possible solution is: |
|
@jedwards4b I'll look into that error. |
|
@jedwards4b I've fixed the issue, can you re-test please. Thanks! |
jedwards4b
left a comment
There was a problem hiding this comment.
All scripts_regression_tests now pass with cesm on cheyenne.
|
@jedwards4b Thanks will merge this shortly. |
This PR removes provenance and model specific configuration from
CIME. CIME will now look under a models
cime_configdirectoryfor a directory named
customize. All python files under this directorywill be loaded. Provence now works as a hook system, specific methods
need to be defined to enable provenance. Configuration flags that
alter how CIME operates may be defined here as well.
Provenance hooks:
save_build_provenancesave_prerun_provenancesave_postrun_provenanceTest suite: scripts_regression_tests
Test baseline: n/a
Test namelist changes: n/a
Test status: n/a
Fixes #3432 and #4153
User interface changes?: n
Update gh-pages html (Y/N)?: y