Fix additional compiler warnings and remarks - #1624
Merged
Merged
Conversation
Collaborator
Author
|
The fixes also tested using UFS-weather-model RT and confirmed the added warnings and remarks are resolved. |
Collaborator
|
Thank you for the updates Ming! I'll review this ASAP. |
JessicaMeixner-NOAA
approved these changes
Sep 4, 2026
JessicaMeixner-NOAA
left a comment
Collaborator
There was a problem hiding this comment.
**********************************************************************
********************* non-identical cases ****************************
**********************************************************************
mww3_test_03/./work_PR3_UQ_MPI_e (1 files differ)
mww3_test_03/./work_PR3_UQ_MPI_d2_c (16 files differ)
mww3_test_03/./work_PR1_MPI_d2 (17 files differ)
mww3_test_03/./work_PR2_UNO_MPI_d2 (17 files differ)
mww3_test_03/./work_PR2_UNO_MPI_e (1 files differ)
mww3_test_03/./work_PR3_UQ_MPI_d2 (15 files differ)
mww3_test_03/./work_PR3_UQ_MPI_e_c (1 files differ)
mww3_test_03/./work_PR1_MPI_e (1 files differ)
mww3_test_03/./work_PR2_UQ_MPI_e (1 files differ)
mww3_test_03/./work_PR2_UQ_MPI_d2 (15 files differ)
mww3_test_03/./work_PR3_UNO_MPI_d2_c (18 files differ)
mww3_test_03/./work_PR3_UNO_MPI_e (1 files differ)
mww3_test_03/./work_PR3_UNO_MPI_d2 (16 files differ)
mww3_test_03/./work_PR3_UNO_MPI_e_c (1 files differ)
mww3_test_09/./work_MPI_ASCII (0 files differ)
ww3_tp2.10/./work_MPI_OMPH (6 files differ)
ww3_tp2.6/./work_ST4_ASCII (0 files differ)
ww3_ufs1.3/./work_a (2 files differ)
Thank you for making these updates and explaining the reasoning behind the changes to me.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Summary
This PR fixes additional compiler warnings and remarks identified during UFS Weather Model regression testing. The changes are limited to warning/remark cleanup and are not expected to affect model results.
Description
This PR resolves
Winteger-division,Wunused-label,Wmaybe-uninitialized, andWunused-variablewarnings identified in filespdlib_field_vec.F90, w3iobcmd.F90, w3iorsmd.F90, w3profsmd.F90, w3profsmd_pdlib.F90, and w3updtmd.F90.The fixes should not change the results.
Issue(s) addressed
fixes #1623
Commit Message
Fix additional compiler warnings and remarks.
Check list
Testing
Ursa Intel:
matrixCompFull.txt
matrixCompSummary.txt
matrixDiff.txt
Ursa GNU:
matrixCompFull.txt
matrixCompSummary.txt
matrixDiff.txt