Skip to content

Disable clock sync of in-loop BML timers#1542

Closed
marshallward wants to merge 1 commit into
mom-ocean:dev/gfdlfrom
marshallward:bml_clocks
Closed

Disable clock sync of in-loop BML timers#1542
marshallward wants to merge 1 commit into
mom-ocean:dev/gfdlfrom
marshallward:bml_clocks

Conversation

@marshallward
Copy link
Copy Markdown
Collaborator

This patch overrides the default clock sync (configured in FMS) for the
CPU clocks inside of the bulk mixed layer's loops.

This prevents model hangs due to an inconsistent number of clock syncs
when different ranks have different size domains.

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 10, 2021

Codecov Report

Merging #1542 (cd31655) into dev/gfdl (f2e9983) will increase coverage by 0.00%.
The diff coverage is 83.33%.

❗ Current head cd31655 differs from pull request most recent head c43022a. Consider uploading reports for the commit c43022a to get more accurate results
Impacted file tree graph

@@            Coverage Diff            @@
##           dev/gfdl    #1542   +/-   ##
=========================================
  Coverage     29.15%   29.15%           
=========================================
  Files           239      239           
  Lines         71467    71467           
=========================================
+ Hits          20837    20838    +1     
+ Misses        50630    50629    -1     
Impacted Files Coverage Δ
...arameterizations/vertical/MOM_bulk_mixed_layer.F90 32.11% <83.33%> (ø)
config_src/infra/FMS1/MOM_cpu_clock_infra.F90 100.00% <0.00%> (+7.69%) ⬆️

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 f2e9983...c43022a. Read the comment docs.

This patch overrides the default clock sync (configured in FMS) for the
CPU clocks inside of the bulk mixed layer's loops.

This prevents model hangs due to an inconsistent number of clock syncs
when different ranks have different size domains.
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.

This PR adroitly alleviates the anomalies addressed in Issue #1527, which can be annulled after this advance is accepted. A-1 accomplishment, @marshallward.

@marshallward
Copy link
Copy Markdown
Collaborator Author

Amazing alliteration, @Hallberg-NOAA 🤣

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.

MOM6 (with ocean only benchmark) gets stuck with higher rank count per node

2 participants