Skip to content

Resolve GNU compiler warnings in atmos_cubed submodule (#3196) // Create local backups of regression test log files (#3197)#3196

Merged
gspetro-NOAA merged 20 commits intoufs-community:developfrom
dpsarmie:fix/gnu_warnings_fv3
Apr 24, 2026
Merged

Resolve GNU compiler warnings in atmos_cubed submodule (#3196) // Create local backups of regression test log files (#3197)#3196
gspetro-NOAA merged 20 commits intoufs-community:developfrom
dpsarmie:fix/gnu_warnings_fv3

Conversation

@dpsarmie
Copy link
Copy Markdown
Collaborator

@dpsarmie dpsarmie commented Apr 15, 2026

Commit Queue Requirements:

  • This PR addresses a relevant WM issue (if not, create an issue).
  • All subcomponent pull requests (if any) have been reviewed by their code managers.
  • Run the full Intel+GNU RT suite (compared to current baselines), preferably on Ursa (Derecho or Hercules are acceptable alternatives). Exceptions: documentation-only PRs, CI-only PRs, etc.
    • Commit log file w/full results from RT suite run (if applicable).
    • Verify that test_changes.list indicates which tests, if any, are changed by this PR. Commit test_changes.list, even if it is empty.
  • Fill out all sections of this template.

Description:

#3196

This PR will pull in changes to the atmos_cubed submodule to resolve all GNU compiler warnings. The warnings were being triggered due to extra characters occurring after #if or #endif commands. Since the extra text were usually descriptors, the descriptors were moved to comments before the #if or #endif commands.

After this PR, the only remaining GNU compiler warnings will be in UPP.

#3197

This PR modifies rt.sh to save a backup of the most recent regression test logs. This was a requested feature that can help users when they need to run multiple tests or if they accidentally spin off a test when it was not intended. The new backup files (added extension of .bak) will not be saved to the repository and the files have been added to .gitignore

Commit Message:

* UFSWM - Add capability to create regression test log backups
* UFSWM - Update UFSATM hash to bring in atmos_cubed warning fix
  * UFSATM - Update atmos_cubed hash to bring in warning fix
    * atmos_cubed_sphere - Remove trailing text after #if and #endif to fix GNU compiler warnings

Priority:

  • Normal

Git Tracking

UFSWM:

Sub component Pull Requests:

UFSWM Blocking Dependencies:

  • None

Documentation:

  • Documentation update NOT required.

Changes

Regression Test Changes (Please commit test_changes.list):

  • No Baseline Changes.

Input data Changes:

  • None.

Library Changes/Upgrades:

  • No Updates

Testing Log:

  • RDHPCS
    • Orion
    • Hercules
    • GaeaC6
    • Derecho
    • Ursa
  • WCOSS2
    • Dogwood/Cactus
    • Acorn
  • CI
  • opnReqTest (complete task if unnecessary)

@github-project-automation github-project-automation Bot moved this to Evaluating in PRs to Process Apr 15, 2026
@gspetro-NOAA gspetro-NOAA added No Baseline Change No Baseline Change UFSATM There are changes to the UFSATM repository. A3S There are changes to the atmos_cubed_sphere component repository. labels Apr 16, 2026
@gspetro-NOAA gspetro-NOAA moved this from Evaluating to Waiting for Reviews (subcomponent) in PRs to Process Apr 16, 2026
@gspetro-NOAA gspetro-NOAA moved this from Waiting for Reviews (subcomponent) to Review in PRs to Process Apr 20, 2026
@gspetro-NOAA gspetro-NOAA moved this from Review to Schedule in PRs to Process Apr 23, 2026
@gspetro-NOAA
Copy link
Copy Markdown
Collaborator

@dpsarmie Could you sync w/develop and combine in #3197 ?

@dpsarmie
Copy link
Copy Markdown
Collaborator Author

dpsarmie commented Apr 23, 2026

@gspetro-NOAA Ok, #3197 changes have been merged into this PR.

I'll sync now

@dpsarmie
Copy link
Copy Markdown
Collaborator Author

@gspetro-NOAA Ok, now this should be ready for testing.

@gspetro-NOAA
Copy link
Copy Markdown
Collaborator

@dpsarmie I don't see the most recent dev/emc atmos_cubed_sphere hash 9599114 in your branch, but I might be missing something. Could you take a look?

@dpsarmie
Copy link
Copy Markdown
Collaborator Author

@dpsarmie I don't see the most recent dev/emc atmos_cubed_sphere hash 9599114 in your branch, but I might be missing something. Could you take a look?

You're right. Updated the FV3 branch and it now has that hash in its history. Thanks for catching that. Take a look and see if everything else looks ok. I hope the CI issues are on GitHub's side and not with this PR (looks like it from the logs).

@gspetro-NOAA
Copy link
Copy Markdown
Collaborator

You're right. Updated the FV3 branch and it now has that hash in its history. Thanks for catching that. Take a look and see if everything else looks ok. I hope the CI issues are on GitHub's side and not with this PR (looks like it from the logs).

No worries! It looks good now. I reran repo_check, and it's passing. The log warnings aren't worth rerunning because logs have changed since you ran tests, which is likely the reason for the failure. It matters more that they were originally passing, which they were. The Spack CI is failing due to some 500 errors in fetching certain submodules. From what I can tell, it's supposed to be a transient thing and CI related rather than code-related, so I think we can move forward.

@gspetro-NOAA gspetro-NOAA added the Ready for Commit Queue The PR is ready for the Commit Queue. All checkboxes in PR template have been checked. label Apr 23, 2026
@gspetro-NOAA gspetro-NOAA changed the title Resolve GNU compiler warnings in atmos_cubed submodule Resolve GNU compiler warnings in atmos_cubed submodule (#3196) // Create local backups of regression test log files (#3197) Apr 23, 2026
@gspetro-NOAA gspetro-NOAA added the In Testing The PR that is currently in testing stages label Apr 23, 2026
 on-behalf-of @ufs-community <ecc.platform@noaa.gov>
@dpsarmie
Copy link
Copy Markdown
Collaborator Author

Updated the UFSATM hash and reverted .gitmodules, this should be ready for final reviews.

@gspetro-NOAA gspetro-NOAA merged commit a0fbb02 into ufs-community:develop Apr 24, 2026
10 checks passed
@github-project-automation github-project-automation Bot moved this from Schedule to Done in PRs to Process Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A3S There are changes to the atmos_cubed_sphere component repository. In Testing The PR that is currently in testing stages No Baseline Change No Baseline Change Ready for Commit Queue The PR is ready for the Commit Queue. All checkboxes in PR template have been checked. UFSATM There are changes to the UFSATM repository.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Resolve GNU warnings in FV3 submodule Make a backup of previous RT log file before deleting

5 participants