[release/gfs.v17] Fix NCO fix-now compiler warnings in GDASApp and JEDI submodules - #2254
guillaumevernieres wants to merge 9 commits into
Conversation
|
Conduct the following test on WCOSS2 Cactus
The build ran to completion. A check of
These warnings may not be on NCO's fix now list. |
|
Thanks for the PR @guillaumevernieres and thanks for testing @RussTreadon-NOAA. From the remaining warnings listed, here's how it compares to NCO's list:
|
|
The 22 Build: WCOSS2,
|
|
Not sure GDASApp CI works with the |
|
Automated GW-GDASApp Testing Results: |
|
Build failures The build of
Label-based CI runs from Change gears and attempt to clone and build as
Branch However, the Cactus build fails @guillaumevernieres : How do you build |
|
Appologies @RussTreadon-NOAA , I'm pointing to |
|
I just pushed to my fork of the I just tested on Ursa and the above builds. |
AndrewEichmann-NOAA
left a comment
There was a problem hiding this comment.
Nothing obviously wrong by inspection
|
WCOSS2 build test Did the following on Cactus:
The gfs, gdas, and gsi builds successfully completed. Examine Most of these warnings are from the linker ( These remaining |
|
Thanks for the hash updates @guillaumevernieres and for that test and checking the logs @RussTreadon-NOAA. Of the warnings Russ listed and how they compare to NCO's list: Seems we're in pretty good shape. I've also confirmed that I'm able to clone/build this branch properly now with the NOAA-EMC hashes. I'm running g-w CI to make sure results reproduce, but I'm pretty sure that they will given Russ's previous test results. |
|
For this GDASApp PR |
Description
Fixes NCO "fix-now" compiler warnings flagged against
release/gfs.v17, inGDASApp itself and in the JEDI submodules it builds.
GDASApp changes
utils/obsprep/Ghrsst2Ioda.h,Smap2Ioda.h,Viirsaod2Ioda.h: replaceruntime-sized stack arrays (
float lat[dim0][dim1], etc. — non-standardC++ VLAs) with
std::vectorbuffers read via.data(), indexing withi*ncol+j. Same values, same loop order; theNOLINTmarkers that werehiding the VLA lint go away with them.
utils/soca/coupled/gdas_soca_to_fv3.h,utils/soca/diagb/gdas_soca_diagb.h,utils/soca/diagnostics/gdas_soca_diagnostics.cc: add missingoverrideon
execute()/appname().Submodule bumps
Each submodule is pointed at a
hotfix/warnings-<base-sha>branch cut fromthe exact commit
release/gfs.v17currently uses, containing only thewarning fixes for that repo:
sorc/fv3-jedif467912chotfix/warnings-777c784bsorc/fv3-jedi-lm5994c385hotfix/warnings-d1826a7sorc/ioda724af19ehotfix/warnings-release-211sorc/saberc8e0e3c3hotfix/warnings-c8e0e3c3sorc/socac9a94cb5hotfix/warnings-c9a94cbsorc/ufobb78f475hotfix/warnings-bb78f475Two of the submodule fixes are behavior changes rather than pure warning
suppression and deserve a closer look on the UFO side (see the UFO PR):
a comma-operator loop bound in
filters/Variables.ccthat could read pastoopsvars.size(), and a missingGroupBy::RECORD_IDcase infilters/ObsAccessor.ccthat made record-number grouping a no-op..gitmodulesnote: the hotfix branches forsaber,ioda,ufo,fv3-jedi-lm, andfv3-jedilive in thejcsda-internalforks, so thesubmodule URLs are switched from
jcsda/*tojcsda-internal/*. This isintentional so the pinned SHAs are fetchable, but reviewers should decide
whether that's acceptable for the release branch or whether the fixes need
to land in the public
jcsda/*repos first and the URLs reverted.No change of answers is expected from this PR.
Companion PRs
hotfix/warnings-c9a94cbhotfix/warnings-bb78f475hotfix/warnings-release-211hotfix/warnings-c8e0e3c3hotfix/warnings-777c784bhotfix/warnings-d1826a7Issues
Refs NOAA-EMC/global-workflow#6178
Automated CI tests to run in Global Workflow