Skip to content

Update CAM_Convection_YOG to cesm3_0_alpha09e (CAM cam6_4_186) - #10

Open
addisug wants to merge 1 commit into
mainfrom
update-yog-alpha09e
Open

Update CAM_Convection_YOG to cesm3_0_alpha09e (CAM cam6_4_186)#10
addisug wants to merge 1 commit into
mainfrom
update-yog-alpha09e

Conversation

@addisug

@addisug addisug commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Refreshes the YOG deep-convection integration from cesm3_0_alpha07f to cesm3_0_alpha09e (CAM cam6_4_186)
  • Updates all src/cam/*.F90 files, adds the previously-missing SAM_consts.F90, and updates the CAM namelist XML files
  • Fixes a CMake/Catamount shared-library build failure in libraries/FTorch/buildlib, surfaced by Derecho's 24.12->25.10 default module stack upgrade
  • Expands the README and build instructions with the concrete porting/build gotchas hit along the way: the physpkg.F90 merge needed for upstream CAM changes near the YOG hook, the nested FTorch submodule init issue, the USE_FTORCH=TRUE requirement, the CMake/Catamount fix, and the yog_lat_max=30 default (a prior global-application test crashed CLUBB around simulated day 26)

Test plan

  • Built cleanly on Derecho (F2000climo/f09_f09_mg17)
  • 1-day smoke test run completed with yog_scheme='on' -- scheme initializes and produces output with no crash

Refreshes the YOG deep-convection integration from cesm3_0_alpha07f to
cesm3_0_alpha09e:

- Updated src/cam/*.F90 to the cam6_4_186 versions; added SAM_consts.F90
  (was previously missing from this folder).
- Updated bld/namelist_files/*.xml to the current CAM tag's namelist
  definitions.
- Fixed libraries/FTorch/buildlib for a CMake/Catamount shared-library
  build failure surfaced by Derecho's 24.12->25.10 default module stack
  upgrade (newer CMake enforces "no shared libraries" under CIME's Cray
  Catamount build flag even for IMPORTED SHARED targets referencing an
  already-built libtorch_cpu.so).
- README: documented the physpkg.F90 merge needed when upstream CAM
  changes near the YOG hook (example from the cam6_4_126->cam6_4_186
  port), the nested FTorch submodule init gotcha, the USE_FTORCH=TRUE
  requirement, the CMake/Catamount fix, and the yog_lat_max=30 default
  (a prior global-application test crashed CLUBB around simulated day
  26 - the NN extrapolates badly outside its tropical SAM training
  domain).
- docs/build_instructions.md: expanded with the concrete steps and
  gotchas above.

Tested with a 1-day F2000climo/f09_f09_mg17 smoke test on Derecho.
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.

1 participant