-
Notifications
You must be signed in to change notification settings - Fork 318
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
ctsm5.3.019: Stop running 0th time step #2084
Conversation
Fix unit tests for nstep starting at 1 instead of 0
Thanks a lot for this work, @olyson ! Are there any pieces of this that you feel warrant a careful review - i.e., that you'd like someone else to think about (if so, I would probably ask someone else to do that so that I can stay focused on some ESMF work for now)- or are you comfortable enough with the changes you made that a quick look-over should be sufficient? Can you please go ahead and remove the !KO comments when you get a chance? |
From discussion today: @olyson feels reasonably confident that these changes are correct. @samsrabin would like us to run ctsm_sci - or at least his new test - to make sure that this change doesn't break that. |
We agreed to leave my comments in for now to help @ekluzek perform his review and understand the reasoning behind the changes, then remove them after that. |
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 just skimmed through some pieces of this (not a full review, but just some selective checks). Thank you very much for your careful work on this @olyson and especially for the comments describing your reasoning!
I did a quick check that the changes here are consistent with some specific things I raised in #925 . One question I had from skimming back through the comments in #925 is if you remember if you did the searches through the code that I mentioned in #925 (comment):
I think when I did my earlier search I looked for nstep == 0 but didn't look for similar things like nstep /= 0, nstep > 0, nstep >= 1, etc. We'll need to check for uses like that.
Full aux_clm test suite results (output of ./parse_cime.cs.status tests_0803-171434ch/cs.status -s): Test summary The pending test is EXPECTED as is the failed test. I'm not familiar with those two tests. Maybe someone will know why those might pass? Otherwise, I will look into it. |
Thanks @olyson ! It makes sense that the FUNIT test doesn't show BASELINE comparison failures: that is a weird test that just runs the unit tests, so doesn't actually do baseline comparisons. As for the PFS test: I think it might not actually produce any history files (by design)... so again, it makes sense that there are no BASELINE failures for that since there is nothing to compare. |
Yep, I don't see any history files for the PFS test, thanks. |
STILL NEED THIS FOR rtm, BUT ALSO FOR mosart WHILE ITS NEXT TAG IS PENDING Before starting the test-suites, include Erik's mosart/rtm bug fix: @@ -248,7 +248,7 @@ contains
if (mainproc) then
call get_curr_date(yr, mon, day, tod)
- write(timestamp,'(".",i4.4,"-",i2.2,"-",i2.2,"-",i5.5)'),yr,mon,day,tod
+ write(timestamp,'(".",i4.4,"-",i2.2,"-",i2.2,"-",i5.5)') yr,mon,day,tod
locfn = './'// trim(rpntfil)//trim(inst_suffix)//timestamp src/riverroute/RtmRestFile.F90 @@ -255,7 +255,7 @@ contains
if (masterproc) then
call get_curr_date(yr, mon, day, tod)
- write(timestamp,'(".",i4.4,"-",i2.2,"-",i2.2,"-",i5.5)'),yr,mon,day,tod
+ write(timestamp,'(".",i4.4,"-",i2.2,"-",i2.2,"-",i5.5)') yr,mon,day,tod
locfn = './'// trim(rpntfil)//trim(inst_suffix)//timestamp |
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.
@slevis-lmwg and I are going over this, and I'm marking this with approve so it can move forward. I made a couple comments on things to do. And the conversation with a checkbox should be resolved.
I thought there were good comments around the code here. The unneeded old code and comments were removed. So this looks good.
The RXCROP tests still won't work there, but will in the next one. This will be ctsm5.3.019 and they will work on ctsm5.3.020.
slevis resolved conflicts: .gitmodules
derecho testing
izumi testing
Check them with
|
I'm trying out a new idea that we'll discuss next week. Since, this is the next tag in line I added the tagname to the title. This allows us to see the tagnames in the list of closed PR's. It might not always make sense to do this, and if the order changes or the tagname is changed, it'll have to be updated at least by the time the tag is made to keep it accurate. But, I think this will be helpful especially for closed PR's, and also usually for the next tag that's in line. |
@olyson I'm almost ready to merge your PR:
|
Regarding the ChangeLog, it says that mosart and rtm changes are not bfb due to a bug. Does that imply that the changes due this PR alone are bfb? If so, should we say that explicitly? Or is that what you mean when you say the diffs will be eliminated in the next tag? |
|
|
I will go with "not needed" for two reasons:
|
Sounds good then, thanks. |
Description of changes
Stop running 0th time step.
Specific notes
See discussion in #925
DONE Note that "!KO" comments are still to be removed.
Contributors other than yourself, if any: @billsacks
CTSM Issues Fixed (include github issue #):
Fixes #925
Are answers expected to change (and if so in what way)? Yes, more than roundoff.
Any User Interface Changes (namelist or namelist defaults changes)? No
Testing performed, if any:
See discussion in #925