Skip to content

FMS1: Don't create IO domains for single-PE domain#1522

Merged
Hallberg-NOAA merged 2 commits into
mom-ocean:dev/gfdlfrom
marshallward:no_1pe_io_layout
Oct 25, 2021
Merged

FMS1: Don't create IO domains for single-PE domain#1522
Hallberg-NOAA merged 2 commits into
mom-ocean:dev/gfdlfrom
marshallward:no_1pe_io_layout

Conversation

@marshallward
Copy link
Copy Markdown
Collaborator

FMS mpp domain creation is done in the clone_MD_to_d2D function, and
currently an IO domain is always created within the MPP domain.

This has caused problems with single-PE runs in FMS1, where the
write_field logic was not able to reach the part which removes halo
data if an IO domain was present, and halo data was being written to the
restart files.

This issue arose when PARALLEL_RESTARTFILES was set to True for
single-PE tests.

This does not appear to be a problem with FMS2, and no action is needed
by the FMS team.

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 13, 2021

Codecov Report

Merging #1522 (2f91303) into dev/gfdl (7e8d6e2) will decrease coverage by 0.00%.
The diff coverage is 25.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##           dev/gfdl    #1522      +/-   ##
============================================
- Coverage     29.09%   29.09%   -0.01%     
============================================
  Files           239      239              
  Lines         71566    71567       +1     
============================================
- Hits          20825    20824       -1     
- Misses        50741    50743       +2     
Impacted Files Coverage Δ
config_src/infra/FMS1/MOM_domain_infra.F90 37.76% <25.00%> (-0.23%) ⬇️

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 7e8d6e2...2f91303. Read the comment docs.

FMS mpp domain creation is done in the `clone_MD_to_d2D` function, and
currently an IO domain is always created within the MPP domain.

This has caused problems with single-PE runs in FMS1, where the
`write_field` logic was not able to reach the part which removes halo
data if an IO domain was present, and halo data was being written to the
restart files.

This issue arose when `PARALLEL_RESTARTFILES` was set to `True` for
single-PE tests.

This does not appear to be a problem with FMS2, and no action is needed
by the FMS team.
@marshallward marshallward deleted the no_1pe_io_layout branch October 20, 2021 12:59
@marshallward marshallward restored the no_1pe_io_layout branch October 20, 2021 12:59
@marshallward marshallward reopened this Oct 20, 2021
@marshallward
Copy link
Copy Markdown
Collaborator Author

oops accidentally closed this

Copy link
Copy Markdown
Collaborator

@Hallberg-NOAA Hallberg-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logic behind this PR is sound, and it should be merged in as it has now passed both TC testing and pipeline testing at https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/13911.

@Hallberg-NOAA Hallberg-NOAA merged commit 1700498 into mom-ocean:dev/gfdl Oct 25, 2021
@marshallward marshallward deleted the no_1pe_io_layout branch March 8, 2022 19:49
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