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

+Make output reproduce across layout if DEBUG=True #316

Merged
merged 3 commits into from
Feb 11, 2023

Conversation

Hallberg-NOAA
Copy link
Member

This commit makes a set of changes so that the chksums output by the OM4_05 configuration with DEBUG = True reproduce between 252 and 256 PE runs (note that the solutions themselves already reproduced). This is includes adding a new optional omit_corners argument to the MOM_state_chksum and MOM_thermo_chksum routines, and revising the haloshift, omit_corners or symmetric arguments on 6 subroutine calls, to check more appropriate loop ranges. All answers are bitwise identical, but there is a new optional argument to three publicly visible debugging routines.

@codecov
Copy link

codecov bot commented Jan 28, 2023

Codecov Report

Merging #316 (7c944a4) into dev/gfdl (9412c9a) will increase coverage by 10.44%.
The diff coverage is n/a.

❗ Current head 7c944a4 differs from pull request most recent head c8caebb. Consider uploading reports for the commit c8caebb to get more accurate results

@@              Coverage Diff              @@
##           dev/gfdl     #316       +/-   ##
=============================================
+ Coverage     37.17%   47.61%   +10.44%     
=============================================
  Files           265       41      -224     
  Lines         74424     4532    -69892     
  Branches      13822      797    -13025     
=============================================
- Hits          27665     2158    -25507     
+ Misses        41674     2194    -39480     
+ Partials       5085      180     -4905     
Impacted Files Coverage Δ
config_src/infra/FMS1/MOM_cpu_clock_infra.F90 0.00% <0.00%> (-78.58%) ⬇️
src/framework/MOM_string_functions.F90 28.78% <0.00%> (-58.05%) ⬇️
src/framework/MOM_coms.F90 0.00% <0.00%> (-47.72%) ⬇️
config_src/infra/FMS1/MOM_coms_infra.F90 22.60% <0.00%> (-39.73%) ⬇️
src/framework/MOM_domains.F90 0.00% <0.00%> (-37.50%) ⬇️
config_src/infra/FMS1/MOM_domain_infra.F90 0.00% <0.00%> (-36.12%) ⬇️
src/framework/MOM_error_handler.F90 35.63% <0.00%> (-24.14%) ⬇️
config_src/infra/FMS1/MOM_io_infra.F90 0.00% <0.00%> (-23.72%) ⬇️
src/framework/MOM_document.F90 62.00% <0.00%> (-10.92%) ⬇️
src/framework/MOM_file_parser.F90 89.43% <0.00%> (-1.11%) ⬇️
... and 224 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

  This commit makes a set of changes so that the chksums output by the OM4_05
configuration with DEBUG = True reproduce between 252 and 256 PE runs (note that
the solutions themselves already reproduced).  This is includes adding a new
optional omit_corners argument to the MOM_state_chksum and MOM_thermo_chksum
routines, and revising the haloshift, omit_corners or symmetric arguments on 6
subroutine calls, to check more appropriate loop ranges.  All answers are
bitwise identical, but there is a new optional argument to three publicly
visible debugging routines.
@marshallward
Copy link
Member

Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/18213 ✔️

@marshallward marshallward merged commit 6ffbc90 into NOAA-GFDL:dev/gfdl Feb 11, 2023
@Hallberg-NOAA Hallberg-NOAA deleted the clean_chksums branch May 10, 2024 22:19
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