-
Notifications
You must be signed in to change notification settings - Fork 361
ctsm5.4.050: Remove FatesColdSatPhen testmod #4155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
012516d
d1eaf7a
18f49ff
a7e3035
f924f9b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2539,10 +2539,11 @@ | |||||
| <option name="wallclock">00:20:00</option> | ||||||
| </options> | ||||||
| </test> | ||||||
| <test name="SMS" grid="f45_f45_mg37" compset="I2000Clm60FatesSpRsGs" testmods="clm/FatesColdSatPhen"> | ||||||
| <test name="SMS" grid="f45_f45_mg37" compset="I2000Clm60FatesSpRsGs" testmods="clm/FatesColdDailyHist"> | ||||||
| <machines> | ||||||
| <machine name="derecho" compiler="nvhpc" category="aux_clm"/> | ||||||
| <machine name="derecho" compiler="nvhpc" category="fates"/> | ||||||
| <machine name="derecho" compiler="nvhpc" category="remove-fatescoldsatphen-testmod"/> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From your notes you'll remove this new temporary testlist when you are done, which is good. |
||||||
| </machines> | ||||||
| <options> | ||||||
| <option name="wallclock">00:20:00</option> | ||||||
|
|
@@ -3627,7 +3628,9 @@ | |||||
| <test name="ERI_D_Ld9" grid="f45_f45_mg37" compset="I2000Clm60FatesSpCruRsGs" testmods="clm/FatesColdSatPhenCamLndTuningMode"> | ||||||
| <machines> | ||||||
| <machine name="derecho" compiler="intel" category="aux_clm"/> | ||||||
| <machine name="derecho" compiler="intel" category="remove-fatescoldsatphen-testmod"/> | ||||||
| <machine name="derecho" compiler="gnu" category="fates"/> | ||||||
| <machine name="derecho" compiler="gnu" category="remove-fatescoldsatphen-testmod"/> | ||||||
| </machines> | ||||||
| <options> | ||||||
| <option name="wallclock">00:20:00</option> | ||||||
|
|
@@ -4130,11 +4133,13 @@ | |||||
| <option name="wallclock">00:40:00</option> | ||||||
| </options> | ||||||
| </test> | ||||||
| <test name="SMS_D" grid="1x1_brazil" compset="I2000Clm60FatesSpCruRsGs" testmods="clm/FatesColdSatPhen"> | ||||||
| <test name="SMS_D" grid="1x1_brazil" compset="I2000Clm60FatesSpCruRsGs" testmods="clm/FatesColdDailyHist"> | ||||||
| <machines> | ||||||
| <machine name="derecho" compiler="intel" category="ctsm_sci"/> | ||||||
| <machine name="derecho" compiler="intel" category="prebeta"/> | ||||||
| <machine name="derecho" compiler="intel" category="remove-fatescoldsatphen-testmod"/> | ||||||
| <machine name="derecho" compiler="gnu" category="fates"/> | ||||||
| <machine name="derecho" compiler="gnu" category="remove-fatescoldsatphen-testmod"/> | ||||||
| </machines> | ||||||
| <options> | ||||||
| <option name="wallclock">00:20:00</option> | ||||||
|
|
@@ -4164,35 +4169,39 @@ | |||||
| <test name="SMS_D_Ld3" grid="f09_g17" compset="I2000Clm60FatesSpCruRsGs" testmods="clm/FatesColdSatPhen_prescribed"> | ||||||
| <machines> | ||||||
| <machine name="derecho" compiler="gnu" category="fates"/> | ||||||
| <machine name="derecho" compiler="gnu" category="remove-fatescoldsatphen-testmod"/> | ||||||
| </machines> | ||||||
| <options> | ||||||
| <option name="wallclock">00:30:00</option> | ||||||
| <option name="comment">Test with prescribed LAI and soil moisture with FatesSP mode</option> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You could add something here that points out that this should use a FatesSp compset.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This might also go other places as well...
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why, though? Is the thinking that these testmods won't work without a
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, good question. This is really a testing philosphy type thing for me. Which might need a longer conversation. But, as one point, I think our testing should be small deviations from standard ways that the model is run. And we should test and retest those standards ways as often as possible. So if you need FatesSp for a test you do it with the FatesSp compset, so that you are testing the standard compset alongside the test that's a deviation from the standard compset. The other part is to ensure that as things change things don't work in the test -- but would've broken if the FatesSp compset was used. With this the two can evolve seperately, and that could cause problems as those change. Now, an alturnative way to do this would be to add this to the include_user_mods: ../../../usermods_dirs/clm/fates_sp as that will ensure they are aligned as the FatesSp compsets are done using user-mods right now. That may change in the future, but adding it explicitly would make it more visible. Is that sufficient? Or would you like to do a quick chat on this? A longer term discussion on testing philosphy would also be good to do with the group, but that can be later.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, Erik—your explanation for wanting to always run these tests with a FatesSp compset makes a lot of sense, so I will make a change. (No need for a larger group discussion, as far as I'm concerned.) But since the general motivation behind this PR is "make it hard to do the wrong thing," just adding a note like "make sure to..." doesn't feel sufficient. The way I see it, there are two options:
Which would you prefer?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ahh. You are right it's better to make have a way to ensure it's followed over just a reminder to do it. I would be good with either. But I'd say I prefer the later with it aborting if you do a mismatch. |
||||||
| </options> | ||||||
| </test> | ||||||
| <test name="SMS_Lm1" grid="f45_f45_mg37" compset="I2000Clm60FatesSpCruRsGs" testmods="clm/FatesColdBasic"> | ||||||
| <test name="SMS_Lm1" grid="f45_f45_mg37" compset="I2000Clm60FatesSpCruRsGs" testmods="clm/FatesColdDailyHist"> | ||||||
| <machines> | ||||||
| <machine name="derecho" compiler="intel" category="fates"/> | ||||||
| <machine name="derecho" compiler="intel" category="remove-fatescoldsatphen-testmod"/> | ||||||
| </machines> | ||||||
| <options> | ||||||
| <option name="wallclock">00:40:00</option> | ||||||
| <option name="comment">Smoke test that uses just the FATES SP compset.</option> | ||||||
| </options> | ||||||
| </test> | ||||||
| <test name="ERS_Ld30" grid="f45_f45_mg37" compset="I2000Clm60FatesSpCruRsGs" testmods="clm/FatesColdSatPhen"> | ||||||
| <test name="ERS_Ld30" grid="f45_f45_mg37" compset="I2000Clm60FatesSpCruRsGs" testmods="clm/FatesColdDailyHist"> | ||||||
| <machines> | ||||||
| <machine name="derecho" compiler="intel" category="fates"/> | ||||||
| <machine name="derecho" compiler="intel" category="remove-fatescoldsatphen-testmod"/> | ||||||
| </machines> | ||||||
| <options> | ||||||
| <option name="wallclock">00:40:00</option> | ||||||
| <option name="comment">30 day exact restart test for FATES fixed biogeography reduced complexity mode on an f45 grid.</option> | ||||||
| </options> | ||||||
| </test> | ||||||
| <test name="ERP_P128x2_Ld30" grid="f45_f45_mg37" compset="I2000Clm60FatesSpCruRsGs" testmods="clm/FatesColdSatPhen"> | ||||||
| <test name="ERP_P128x2_Ld30" grid="f45_f45_mg37" compset="I2000Clm60FatesSpCruRsGs" testmods="clm/FatesColdDailyHist"> | ||||||
| <machines> | ||||||
| <machine name="derecho" compiler="intel" category="fates"/> | ||||||
| <machine name="derecho" compiler="intel" category="aux_clm"/> | ||||||
| <machine name="derecho" compiler="intel" category="prebeta"/> | ||||||
| <machine name="derecho" compiler="intel" category="remove-fatescoldsatphen-testmod"/> | ||||||
| </machines> | ||||||
| <options> | ||||||
| <option name="wallclock">00:40:00</option> | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| ../FatesColdBasic | ||
| ../FatesColdDailyHist |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1 @@ | ||
|
|
||
| hist_mfilt = 1 | ||
| hist_nhtfrq = -24 | ||
|
|
||
| use_fates_sp = .true. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I really think that we shouldn't set this in the testmod, that we should use the FatesSp compset. I think there are other things besides use_fates_sp that are set there now, and even if there aren't they may well be more in the future.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Now, your notes give this:
OK, I can see that. But, add a comment that says that in the user_nl_clm. I think the tests for these modes should use the FatesSp compset, but as they are generally testing something slightly outside of that, it's probably OK to have that here. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| ../FatesColdBasic | ||
| ../FatesColdDailyHist |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1 @@ | ||
|
|
||
| hist_mfilt = 1 | ||
| hist_nhtfrq = -24 | ||
|
|
||
| use_fates_sp = .true. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above add a comment that talks about this and that in general this should be used with a FatesSP compset. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| To test standard FATES SP mode configurations, use a FatesSp compset instead of a testmod. | ||
|
|
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| ../FatesColdSatPhen | ||
| ../FatesColdDailyHist |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| ../FatesColdSatPhen | ||
| ../FatesColdDailyHist |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| use_fates_sp = .true. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above add a comment about this. |
||
| use_lai_streams = .true. | ||
| lai_tintalgo = 'lower' ! set time interpolation to use lower value, so can compare more directly to input dataset | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do really like this more descriptive name.