Skip to content

Fix ZM Tests#8528

Merged
tcclevenger merged 6 commits into
masterfrom
whannah/eamxx/fix-zm-tests
Jul 9, 2026
Merged

Fix ZM Tests#8528
tcclevenger merged 6 commits into
masterfrom
whannah/eamxx/fix-zm-tests

Conversation

@whannah1

@whannah1 whannah1 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Various fixes for testing issues originating from PR #8421 which was a major ZM update.

  • The default value of use_fortran_bridge was not properly updated, so CIME tests with F2010xx-ZM were running the fortran bridge rather than the new C++ version of ZM. This does not explain any failure, but it was an oversight and is incorrect.
  • CIME tests with F2010xx-ZM fail on chrysalis due to a intel specific problem with the allocation of the "estbl" variable. The fix is certainly "hacky", but several alternatives were tested that did not fix the problem. The fix does not appear to negatively affect GPU builds.
  • ZM unit tests are failing due to a baseline generation problem, but an additional issue was discovered where the "old_snow" value for the fortran bridge was incorrectly set. The default value of this parameter changed n the previous PR, so a diff was expected, but it was expected to be fixed by a bless, which is not what happened. The current old_snow update, plus another bless, should resolve the issue.

[non-BFB] for ZM tests and F2010xx-ZM

@whannah1 whannah1 added Atmosphere Testing Anything related to unit/system tests EAMxx C++ based E3SM atmosphere model (aka SCREAM) CI: approved Allow gh actions PR testing on ghci-snl-* machines labels Jun 29, 2026
@whannah1 whannah1 changed the title Whannah/eamxx/fix zm tests Fix ZM Tests Jun 29, 2026
@whannah1
whannah1 marked this pull request as draft June 29, 2026 21:18
@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://E3SM-Project.github.io/E3SM/pr-preview/pr-8528/

Built to branch gh-pages at 2026-07-01 20:46 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@whannah1
whannah1 marked this pull request as ready for review July 1, 2026 03:04
@whannah1 whannah1 added ZM non-BFB PR makes roundoff changes to answers. labels Jul 1, 2026
Comment thread components/eamxx/src/physics/zm/impl/zm_opts_impl.hpp Outdated

@tcclevenger tcclevenger left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we can move forward with this, it is just in unit testing functions and we can remove when we update to C++20 since intel compiler will not be in use.

Comment thread components/eamxx/src/physics/zm/impl/zm_opts_impl.hpp Outdated
whannah1 added 3 commits July 1, 2026 14:30
Updated the comment regarding the Intel compiler bug workaround and added a note about future updates.
Moving this change to another PR
tcclevenger added a commit that referenced this pull request Jul 9, 2026
Various fixes for testing issues originating from PR #8421
which was a major ZM update.
  - The default value of use_fortran_bridge was not properly
    updated, so CIME tests with F2010xx-ZM were running the fortran
    bridge rather than the new C++ version of ZM. This does not
    explain any failure, but it was an oversight and is incorrect.
  - CIME tests with F2010xx-ZM fail on chrysalis due to a intel
    specific problem with the allocation of the "estbl" variable.
    The fix is certainly "hacky", but several alternatives were tested
    that did not fix the problem. The fix does not appear to negatively
    affect GPU builds.
  - ZM unit tests are failing due to a baseline generation problem, but
    an additional issue was discovered where the "old_snow" value for the
    fortran bridge was incorrectly set. The default value of this parameter
    changed n the previous PR, so a diff was expected, but it was expected
    to be fixed by a bless, which is not what happened. The current old_snow
    update, plus another bless, should resolve the issue.

[non-BFB] for ZM tests and F2010xx-ZM
@tcclevenger
tcclevenger merged commit a72438f into master Jul 9, 2026
13 of 15 checks passed
@tcclevenger
tcclevenger deleted the whannah/eamxx/fix-zm-tests branch July 9, 2026 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Atmosphere CI: approved Allow gh actions PR testing on ghci-snl-* machines EAMxx C++ based E3SM atmosphere model (aka SCREAM) non-BFB PR makes roundoff changes to answers. Testing Anything related to unit/system tests ZM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants