-
Notifications
You must be signed in to change notification settings - Fork 383
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
Correct ocean/ice output settings and surface forcing #1823
Conversation
@vanroekel this is still a PR in progress, but you can set up and test the high rez G case on here. The MPAS-ocean submodule points to the head of your commit for G case salinity restoring. |
78f8e99
to
e438153
Compare
Upgrade build system. Make incompatible flags to case.build mutually exclusive Add new flag for building individual components Never run buildnml when building individual libs/components Test suite: by-hand, scripts_regression_tests Test baseline: Test namelist changes: Test status: bit for bit Fixes #1741 User interface changes?: Yes, new -b flag to case.build. Update gh-pages html (Y/N)?: N Code review: jedwards, sacks
53976b3
to
1fc3a2b
Compare
7b6d531
to
f3fe44a
Compare
34f0d4a
to
962369c
Compare
@jonbob and @vanroekel This PR now has everything from last Friday that made the BFB restarts with G case salinity restoring work. It passed a quick test:
without salinity restoring. @jonbob could you test ERS with salinity restoring on? |
- framework updates - mpas-o surface restoring still a work in progress.
Previously, the sea ice would write monthly time-averaged files, and also monthly restart files for the time average. This serves no purpose, and wastes i/o time and disk space. Restart files are only needed for time-averaged files if the restart interval is shorter than the output interval (strictly speaking, if the restart interval is not a multiple of the output interval). The MPAS-sea ice submodule can now use config_am_timeSeriesStatsMonthly_restart_stream = 'none' and similar flags. In addition, flags are changed so that the default behavior in ACME is to not write time-averaged restart files for both Monthly and Daily sea ice averages. (Daily averages are default off anyway). Note this does not remove any capability. If you wanted restart files written for monthly time averages for, say, a high-resolution run that proceeds 10 days at a time, you would just change input_interval and output_interval in the streams file. I think that will be a small minority of cases. see ocean version here: #1777
The files in ACME streams.ocean have clobber_mode="truncate" and when I run it with truncate in stand alone, for files with more than one time like highFrequencyOutput, it will delete the whole file upon restart. It is safer to just use clobber_mode="overwrite" for everything. That does not delete the file, but just overwrites a record with the same time. It only writes a warning to the processor zero log file, so does not create a log file for every single processor. For simulations with yearly restarts in ACME everything is fine. For monthly or other restarts, it will delete some analysis data. All those lines are originally from an old commit: c79031a (Robert Jacob 2016-07-25 00:03:30 -0500 569) print $stream_file ' clobber_mode="truncate"' . "\n";
Makes changes for ocean forcing to work with new framework
Ocean submodule also has salinity restoring changes. Remove config_forcing_restart_file
Passes:
|
Overwrite was causing a pio error that we don't yet understand.
This is because we changed clobber mode back to truncate. If we use yearly file intervals but restart within the year, we will delete the previous part of the file.
We were having some runs hang on PIO writes at random times. We suspected the change from truncate to overwrite, so went back. Changed some analysis output to monthly so mid-year restarts don't delete files. Latest commit passes:
|
With salinity restoring on, it passes:
|
Also tested cases with land ice cavities. These run successfully:
@JeremyFyke note the second one is a B case. The only thing I had to do was add
|
I updated the mpasli namelist scripts to match the new codebase and added some fields @akturner had requested to mpascice output. It passed SMS.T62_oQU120_ais20.MPAS_LISIO_TEST.edison_gnu with new changes |
Salinity restoring is on for G-cases by default now |
So far, last commit passes:
Also checked that salinity restoring is on for:
using:
|
Correct ocean/ice output settings and surface forcing This PR updates the MPAS framework and corrects the use of mpas_forcing in all components. It also updates output settings for all MPAS components. * Changes in MPAS and ACME for G case salinity restoring which is now bit-restartable and bfb across different partitions. It is set on by default for G-cases with resolutions that have the required restoring data files. * Stop writing sea ice time series stats restart files (see 1777) * Change high frequency streams variables (for movies). We currently record many unneeded variables for debugging that are also recorded in the monthly history files. * White space clean up in buildnml * MPAS timer integer division was changed from I4 to I8 so that clock can run past 34 years (counted in seconds). Tested with: * PET_Ln9.ne30_oECv3_ICG.A_WCYCL1850S.cori-knl_gnu * PEM_Ln9.ne30_oECv3_ICG.A_WCYCL1850S.cori-knl_gnu * PET_Ln9.T62_oQU240.GMPAS-IAF.cori-knl_intel * PET_Ln9.T62_oQU240.GMPAS-IAF.cori-knl_gnu * ERS_P480.T62_oEC60to30v3.GMPAS-NYF.edison_gnu (with restoring on) * PET_Ln9_P240.T62_oEC60to30v3.GMPAS-NYF.edison_intel (with restoring on) * PEM_Ln9_P480.T62_oEC60to30v3.GMPAS-NYF.edison_intel (with restoring on) [NML] [BFB]
merged to next |
Last commit passes
Also ran several cases successfully with ice cavities. |
Correct ocean/ice output settings and surface forcing This PR updates the MPAS framework and corrects the use of mpas_forcing in all components. It also updates output settings for all MPAS components. * Changes in MPAS and ACME for G case salinity restoring which is now bit-restartable and bfb across different partitions. It is set on by default for G-cases with resolutions that have the required restoring data files. * Stop writing sea ice time series stats restart files (see 1777) * Change high frequency streams variables (for movies). We currently record many unneeded variables for debugging that are also recorded in the monthly history files. * White space clean up in buildnml * MPAS timer integer division was changed from I4 to I8 so that clock can run past 34 years (counted in seconds). Tested with: * PET_Ln9.ne30_oECv3_ICG.A_WCYCL1850S.cori-knl_gnu * PEM_Ln9.ne30_oECv3_ICG.A_WCYCL1850S.cori-knl_gnu * PET_Ln9.T62_oQU240.GMPAS-IAF.cori-knl_intel * PET_Ln9.T62_oQU240.GMPAS-IAF.cori-knl_gnu * ERS_P480.T62_oEC60to30v3.GMPAS-NYF.edison_gnu (with restoring on) * PET_Ln9_P240.T62_oEC60to30v3.GMPAS-NYF.edison_intel (with restoring on) * PEM_Ln9_P480.T62_oEC60to30v3.GMPAS-NYF.edison_intel (with restoring on) [NML] [BFB]
merged to master |
Woo-hoo! I did a few last tests on this branch - restart tests on G case with salinity restoring. I confirmed that salinity restoring is on, and they all pass. @vanroekel: good job and thank you for your dedication to a thorny issue. Note I tested both intel and gnu, due on recent issues.
|
Thanks @mark-petersen and thanks to @jonbob for his help on this. |
Minor clean-up namelists to match new versions of mpas components This PR pulls together some minor script clean-ups that go along with the recent mpas update in PR #1823. There are some minor but necessary namelist and streams improvements. Tested with: * PET_Ln9.T62_oQU240.GMPAS-IAF.cori-knl_gnu * PET_Ln9.T62_oQU240.GMPAS-IAF.cori-knl_intel * ERS_Ld3.T62_oQU240.GMPAS-IAF.cori-knl_gnu * PET_Ln9.T62_oQU240.GMPAS-IAF.theta_intel [BFB] [NML]
Minor clean-up namelists to match new versions of mpas components This PR pulls together some minor script clean-ups that go along with the recent mpas update in PR #1823. There are some minor but necessary namelist and streams improvements. Tested with: * PET_Ln9.T62_oQU240.GMPAS-IAF.cori-knl_gnu * PET_Ln9.T62_oQU240.GMPAS-IAF.cori-knl_intel * ERS_Ld3.T62_oQU240.GMPAS-IAF.cori-knl_gnu * PET_Ln9.T62_oQU240.GMPAS-IAF.theta_intel [BFB] [NML]
Correct ocean/ice output settings and surface forcing This PR updates the MPAS framework and corrects the use of mpas_forcing in all components. It also updates output settings for all MPAS components. * Changes in MPAS and ACME for G case salinity restoring which is now bit-restartable and bfb across different partitions. It is set on by default for G-cases with resolutions that have the required restoring data files. * Stop writing sea ice time series stats restart files (see 1777) * Change high frequency streams variables (for movies). We currently record many unneeded variables for debugging that are also recorded in the monthly history files. * White space clean up in buildnml * MPAS timer integer division was changed from I4 to I8 so that clock can run past 34 years (counted in seconds). Tested with: * PET_Ln9.ne30_oECv3_ICG.A_WCYCL1850S.cori-knl_gnu * PEM_Ln9.ne30_oECv3_ICG.A_WCYCL1850S.cori-knl_gnu * PET_Ln9.T62_oQU240.GMPAS-IAF.cori-knl_intel * PET_Ln9.T62_oQU240.GMPAS-IAF.cori-knl_gnu * ERS_P480.T62_oEC60to30v3.GMPAS-NYF.edison_gnu (with restoring on) * PET_Ln9_P240.T62_oEC60to30v3.GMPAS-NYF.edison_intel (with restoring on) * PEM_Ln9_P480.T62_oEC60to30v3.GMPAS-NYF.edison_intel (with restoring on) [NML] [BFB]
Correct ocean/ice output settings and surface forcing This PR updates the MPAS framework and corrects the use of mpas_forcing in all components. It also updates output settings for all MPAS components. * Changes in MPAS and ACME for G case salinity restoring which is now bit-restartable and bfb across different partitions. It is set on by default for G-cases with resolutions that have the required restoring data files. * Stop writing sea ice time series stats restart files (see 1777) * Change high frequency streams variables (for movies). We currently record many unneeded variables for debugging that are also recorded in the monthly history files. * White space clean up in buildnml * MPAS timer integer division was changed from I4 to I8 so that clock can run past 34 years (counted in seconds). Tested with: * PET_Ln9.ne30_oECv3_ICG.A_WCYCL1850S.cori-knl_gnu * PEM_Ln9.ne30_oECv3_ICG.A_WCYCL1850S.cori-knl_gnu * PET_Ln9.T62_oQU240.GMPAS-IAF.cori-knl_intel * PET_Ln9.T62_oQU240.GMPAS-IAF.cori-knl_gnu * ERS_P480.T62_oEC60to30v3.GMPAS-NYF.edison_gnu (with restoring on) * PET_Ln9_P240.T62_oEC60to30v3.GMPAS-NYF.edison_intel (with restoring on) * PEM_Ln9_P480.T62_oEC60to30v3.GMPAS-NYF.edison_intel (with restoring on) [NML] [BFB]
This PR updates output settings for MPAS-Ocean and MPAS-sea ice. They are not extremely time critical.
[NML]
[BFB]