Skip to content
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

+(*)Restore ability to use decomposed restart files #1318

Merged
merged 1 commit into from
Feb 6, 2021

Conversation

Hallberg-NOAA
Copy link
Collaborator

Added optional MOM_Domain arguments to the 0-d and 1-d versions of
MOM_read_data, enabling them to read from a domain-decomposed file if the single
file is not present. The MOM_read_data calls in restore_state were modified to
use these new optional arguments, thereby restoring the ability of MOM6 to read
from domain-decomposed restart files, which had been broken by a known miscreant
on January 3, 2021 with MOM6 commit aea16f7. All answers and output are
bitwise identical in cases that worked.

  Added optional MOM_Domain arguments to the 0-d and 1-d versions of
MOM_read_data, enabling them to read from a domain-decomposed file if the single
file is not present.  The MOM_read_data calls in restore_state were modified to
use these new optional arguments, thereby restoring the ability of MOM6 to read
from domain-decomposed restart files, which had been broken by a known miscreant
on January 3, 2021 with MOM6 commit aea16f7.  All answers and output are
bitwise identical in cases that worked.
@codecov
Copy link

codecov bot commented Feb 6, 2021

Codecov Report

Merging #1318 (770197b) into dev/gfdl (b5158bb) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##           dev/gfdl    #1318      +/-   ##
============================================
- Coverage     45.77%   45.77%   -0.01%     
============================================
  Files           234      234              
  Lines         72507    72513       +6     
============================================
  Hits          33193    33193              
- Misses        39314    39320       +6     
Impacted Files Coverage Δ
src/framework/MOM_io_infra.F90 34.97% <0.00%> (-0.71%) ⬇️
src/framework/MOM_restart.F90 37.62% <0.00%> (-0.11%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b5158bb...770197b. Read the comment docs.

@marshallward
Copy link
Collaborator

marshallward commented Feb 6, 2021

@marshallward
Copy link
Collaborator

Looks good, tests are passing. I'm expecting we'll discuss on Monday how to modify the test suite to catch these in the future.

@marshallward marshallward merged commit a582bff into mom-ocean:dev/gfdl Feb 6, 2021
@Hallberg-NOAA Hallberg-NOAA deleted the restart_fix branch July 30, 2021 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants