-
Notifications
You must be signed in to change notification settings - Fork 376
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
Allow short term archiving to work with MPAS files #1334
Conversation
Change regex for matching the hist and rst files for mpaso and mpascice. Should also do this for mpasli eventually.
mpas files currently don't include the casename so add logic to handle that for history and restart. Later include mpasli.
@jonbob do MPAS land ice model output files start with "mpasli"? I could add that. |
yes, they should |
@matthewhoffman do mpas-land ice history files start with "mpasli" ? |
Yes they do. |
Add "mpasli" to the files given special handling.
Further testing reveals that this works for STOP_N = REST_N. In the case where interim restart files are made (REST_N < STOP_N), this will delete the interim AND final MPAS restart files. More development needed. |
Pointing @sarich |
Better summary of current problem is here: ESMCI/cime#1364 |
@sarich, I've been testing this branch in this case dir on blues: To set up your own test, build an low res fully coupled case: On anvil, I'm running this with 96 tasks: I was running for 2 years but 4 months should work: The above should run for 4 months, output 1 restart set at the end and automatically call the short-term archiver and everything should be moved to the archive correctly. Now change REST_N: You can leave DOUT_S as false and invoke the short-term archiver manually from the caseroot. |
@sarich did my suggested test with nmonths work for you? I'm getting errors about nmonths being an invalid opt_n. I'd hate to go back to doing years. |
I got an error too (maybe the same one) so I gave up on it. I'll take
another look at it to see if it's something simple to fix.
…On Fri, Apr 28, 2017 at 4:26 PM, Robert Jacob ***@***.***> wrote:
@sarich <https://github.com/sarich> did my suggested test with nmonths
work for you? I'm getting errors about nmonths being an invalid opt_n. I'd
hate to go back to doing years.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1334 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEs_un8fAwBmnpmNprMSkbutfhzP5hJlks5r0lmTgaJpZM4MkTs0>
.
|
I did a test with a 2 year run and restarts every year. I also tried RESUBMIT and everything worked! |
Allow the case.st_archive script to work with mpaso and mpascice history and restart files. Also should work with mpasli but not tested. From the case directory, executing ./case.st_archive should move all history and restart files to the short term archive for all ACME components. Fixes #1305 S2-131 #close [BFB] * rljacob/cime/fix-mpas-starchive: fix mpas pattern matching so only interim restart files are deleted Add ability to archive MPAS land ice files Add ability to handle mpas files Change regex for mpaso and mpascice files
Too late to be relevant for this issue, but for the future --
You also need to set HIST_N From src/drivers/mct/shr/seq_timemgr_mod.F90:
and at Line 1397:
|
Allow the case.st_archive script to work with mpaso and mpascice history and restart files. Also should work with mpasli but not tested. From the case directory, executing ./case.st_archive should move all history and restart files to the short term archive for all ACME components. Fixes #1305 S2-131 #close [BFB] * rljacob/cime/fix-mpas-starchive: fix mpas pattern matching so only interim restart files are deleted Add ability to archive MPAS land ice files Add ability to handle mpas files Change regex for mpaso and mpascice files
Allow the case.st_archive script to work with mpaso and mpascice history and restart files. Also should work with mpasli but not tested. From the case directory, executing ./case.st_archive should move all history and restart files to the short term archive for all ACME components. Fixes #1305 S2-131 #close [BFB] * rljacob/cime/fix-mpas-starchive: fix mpas pattern matching so only interim restart files are deleted Add ability to archive MPAS land ice files Add ability to handle mpas files Change regex for mpaso and mpascice files
Allow the case.st_archive script to work with mpaso and mpascice history and restart files. Also should work with mpasli but not tested. From the case directory, executing ./case.st_archive should move all history and restart files to the short term archive for all ACME components. Fixes #1305 S2-131 #close [BFB] * rljacob/cime/fix-mpas-starchive: fix mpas pattern matching so only interim restart files are deleted Add ability to archive MPAS land ice files Add ability to handle mpas files Change regex for mpaso and mpascice files
Allow the case.st_archive script to work with mpaso and mpascice history and restart files. Also should work with mpasli but not tested. From the case directory, executing ./case.st_archive should move all history and restart files to the short term archive for all ACME components. Fixes #1305 S2-131 #close [BFB] * rljacob/cime/fix-mpas-starchive: fix mpas pattern matching so only interim restart files are deleted Add ability to archive MPAS land ice files Add ability to handle mpas files Change regex for mpaso and mpascice files
Allow the case.st_archive script to work with mpaso and mpascice history and restart files. Also should work with mpasli but not tested. From the case directory, executing ./case.st_archive should move all history and restart files to the short term archive for all ACME components. Fixes #1305 S2-131 #close [BFB] * rljacob/cime/fix-mpas-starchive: fix mpas pattern matching so only interim restart files are deleted Add ability to archive MPAS land ice files Add ability to handle mpas files Change regex for mpaso and mpascice files
Allow the case.st_archive script to work with mpaso and mpascice history and restart files.
Also should work with mpasli but not tested.
From the case directory, executing ./case.st_archive should move all history and restart files to the short term archive for all ACME components.
Fixes #1305
S2-131
[BFB]