-
Notifications
You must be signed in to change notification settings - Fork 216
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
Short-term archiving not working if DOUT_S_SAVE_INTERIM_RESTART_FILES is false #1572
Comments
Isn't DOUT_S_SAVE_INTERIM_RESTART_FILES set to FALSE by default? The title would imply short term archiving stopped working at all and we know that isn't true. |
I think it was not working if REST_N < STOP_N and DOUT_S_SAVE_INTERIM_RESTART_FILES was FALSE |
I tried that in ACME recently and it worked fine. With a fully coupled case. |
That's how I noticed the problem reported in #1449 |
@jedwards4b - In my test case, I am pretty sure I had REST_N = STOP_N = 5 (days). So I'm pretty sure this bug applies to the default setup. @rljacob - it was the fix for #1449 (i.e., PR #1511 ) that introduced this bug. So I suspect short-term archiving would be broken in ACME if you tried it with the current cime master. |
Short-term archiver fix Fix logic in st_archive wrt DOUT_S_SAVE_INTERIM_RESTART_FILES Test suite: scripts_regression_tests.py - several runs of create_newcase with various settings of DOUT_S_SAVE_INTERIM_RESTART_FILES and REST_N Test baseline: Test namelist changes: Test status: bit for bit Fixes #1572 User interface changes?: Code review: Bill Sacks
I just tried creating an A compset case from cime master, using create_newcase (not create_test). The short-term archiver failed with this error:
I think the problem is this code in case_st_archive.py:
It seems to not create the necessary directory tree in a regular case with DOUT_S_SAVE_INTERIM_RESTART_FILES=FALSE.
Why does this have
or case.get_value("TEST")
? That is presumably why we haven't picked up any problems in our testing.The text was updated successfully, but these errors were encountered: