Add new 'SIMA_TESTDIR' case variable. - #524
Open
nusbaume wants to merge 2 commits into
Open
Conversation
nusbaume
had a problem deploying
to
CI-tests-on-CIRRUS
July 13, 2026 21:18 — with
GitHub Actions
Failure
cacraigucar
requested changes
Jul 15, 2026
Comment on lines
+309
to
+319
| <entry id="SIMA_TESTDIR"> | ||
| <type>char</type> | ||
| <valid_values></valid_values> | ||
| <default_value>/glade/campaign/cesm/community/amwg/sima_baselines</default_value> | ||
| <group>run_component_cam</group> | ||
| <file>env_run.xml</file> | ||
| <desc> | ||
| Path to directory where CAM-SIMA regression testing files are stored. | ||
| </desc> | ||
| </entry> | ||
|
|
Collaborator
There was a problem hiding this comment.
I know our testing is just on derecho right now. How does cime handle the different machines? I know I use the same cime variable on derecho and izumi for CAM runs. Should we add a specifier for derecho?
nusbaume
had a problem deploying
to
CI-tests-on-CIRRUS
July 17, 2026 20:37 — with
GitHub Actions
Error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tag name (required for release branches):
Originator(s): nusbaume
AI tools used (if applicable; please also add the "AI-generated code" label to the PR):
What: Claude Code Opus 4.8
How: Modified all of the
user_nl_camtest files to use the newSIMA_TESTDIRvariable.Description (include the issue title, and the keyword ['closes', 'fixes', 'resolves'] followed by the issue number):
This PR brings in the new
SIMA_TESTDIRCIME case variable, which allows for a developer to change the path for all CAM-SIMA physics snapshot test files in a single location, which should make it much easier for any future path changes, or if porting the tests to a new machine.Fixes #522
Describe any changes made to build system:
M cime_config/config_component.xml
Describe any changes made to the namelist: N/A
List any changes to the defaults for the input datasets (e.g. boundary datasets): N/A
List all files eliminated and why: N/A
List all files added and what they do: N/A
List all existing files that have been modified, and describe the changes:
(Helpful git command:
git diff --name-status development...<your_branch_name>)M cime_config/testdefs/testmods_dirs/cam/outfrq_beljaars_derecho/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_dme_adjust_derecho/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_gw_cam4_derecho/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_gw_cam7_derecho/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_hack_shallow_derecho/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_hb_vdiff_derecho/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_held_suarez_derecho/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_kessler_derecho/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_rk_stratiform_derecho/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_rrtmgp_cirrus_gpu/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_rrtmgp_derecho/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_rrtmgp_derecho_gpu/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_tj2016_after_coupler_derecho/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_tj2016_before_coupler_derecho/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_trcdata_bam_derecho/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_uw_vdiff_derecho/user_nl_cam
M cime_config/testdefs/testmods_dirs/cam/outfrq_zm_derecho/user_nl_cam
If there are new failures (compared to the
test/existing-test-failures.txtfile),have them OK'd by the gatekeeper, note them here, and add them to the file.
If there are baseline differences, include the test and the reason for the
diff. What is the nature of the change? Roundoff?
derecho/intel/aux_sima:
SMS_Ln9.ne3pg3_ne3pg3_mg37.FKESSLER.derecho_intel.cam-outfrq_se_cslam_multitape (Overall: NLFAIL)
- Known failure
derecho/gnu/aux_sima:
SMS_Ln9.ne3pg3_ne3pg3_mg37.FADIAB.derecho_gnu.cam-outfrq_se_cslam (Overall: DIFF)
- Known failure
derecho/nvhpc/aux_sima (test is run via Github workflow. Only run the test manually if we need to save new baselines):
If this changes climate describe any run(s) done to evaluate the new
climate in enough detail that it(they) could be reproduced:
CAM-SIMA date used for the baseline comparison tests if different than latest: