-
Notifications
You must be signed in to change notification settings - Fork 212
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
fix the restart tests by using ceil instead of int #4669
Conversation
@jasonb5 we continue to have trouble with black tests failing on files we didn't touch... |
@jedwards4b Hadn't pushed the PR that fixes it yet, I'll do that shortly. |
@jedwards4b #4670 will fix the pre-commit failure. See the PR description for an explanation. |
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.
Did you intend to update the cprnc submodule?
No - I'll back that out. Thanks |
@jedwards4b This PR is causing several prealpha test failures. An example is ERS_Ly7.f09_g17_gris4.T1850Gg.derecho_intel. Traceback (most recent call last):
File "/glade/u/home/fischer/code/cesm3_0_alpha03b/cime/CIME/SystemTests/system_tests_common.py", line 351, in run
self.run_phase()
File "/glade/u/home/fischer/code/cesm3_0_alpha03b/cime/CIME/SystemTests/ers.py", line 53, in run_phase
self._ers_first_phase()
File "/glade/u/home/fischer/code/cesm3_0_alpha03b/cime/CIME/SystemTests/ers.py", line 19, in _ers_first_phase
self._rest_n = self._set_restart_interval()
File "/glade/u/home/fischer/code/cesm3_0_alpha03b/cime/CIME/SystemTests/system_tests_common.py", line 179, in _set_restart_interval
expect(stop_n > 0, "Bad STOP_N: {:d}".format(stop_n))
ValueError: Unknown format code 'd' for object of type 'float' |
Got it - fix coming. |
int was rounding down, but this calculation should round up.
Test suite: ERS.f19_g17.A.derecho_intel
Test baseline:
Test namelist changes:
Test status: bit for bit
Fixes #4667
User interface changes?:
Update gh-pages html (Y/N)?: