Skip to content

CCPP: replace machine module with ccpp_kinds module - #415

Merged
rhaesung merged 7 commits into
ufs-community:ufs/devfrom
climbfuji:feature/ccpp_kinds
Nov 18, 2026
Merged

rhaesung merged 7 commits into
ufs-community:ufs/devfrom
climbfuji:feature/ccpp_kinds

Conversation

@climbfuji

@climbfuji climbfuji commented Nov 4, 2026 •

Copy link
Copy Markdown

Description of Changes:

  1. Remove machine.{F,meta}
  2. Replace imports from module machine with imports from ccpp_kinds (ccpp-framework generated) in all schemes, dependencies, and submodules

Tests Conducted:

See ufs-community/ufs-weather-model#3414

Dependencies:

Documentation:

Todo @climbfuji @dustinswales

Issue (optional):

Working toward NCAR#194

Contributors (optional):

Changes implemented partially with Anthrophic Claude. All code reviews and GitHub contributions (commits, issues, pull requests) by @climbfuji.

@gspetro-NOAA

Copy link
Copy Markdown

@climbfuji Will this PR need any substantial updates once ufs-community/ufs-weather-model#3366 goes in? I noticed there are some changes in your PR that touch MYNN_EDMF.

@climbfuji

Copy link
Copy Markdown
Author

@climbfuji Will this PR need any substantial updates once ufs-community/ufs-weather-model#3366 goes in? I noticed there are some changes in your PR that touch MYNN_EDMF.

I think it will be fairly straightforward.

@gspetro-NOAA

Copy link
Copy Markdown

Great! We've started processing 3411, but yours is next in the queue unless something high priority (like addition of Gaea C7) bumps it.

@climbfuji

Copy link
Copy Markdown
Author

Great! We've started processing 3411, but yours is next in the queue unless something high priority (like addition of Gaea C7) bumps it.

I believe all that's needed is a conflict resolution in ccpp-physics (because two files my PR modifies were removed), and a small PR in the new MYNN EDMF submodule.

@dustinswales dustinswales left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for making this update!

@gspetro-NOAA

gspetro-NOAA commented Nov 18, 2026 •

Copy link
Copy Markdown

@climbfuji Please update the CCPP subcomponent hashes and revert .gitmodules:

@gspetro-NOAA

gspetro-NOAA commented Nov 18, 2026 •

Copy link
Copy Markdown

@climbfuji I'm also noticing that the MYNN_EDMF hash is ahead of the 2b2da61 hash in the WM. Do you have a PR open for that?
EDIT: Found it. Will add to the WM PR.

@gspetro-NOAA

gspetro-NOAA commented Nov 18, 2026 •

Copy link
Copy Markdown

@dustinswales @rhaesung Could one of you do the hash/.gitmodules update? Dom is at a conference, so I don't think he'll see this, and I don't have permissions.

@rhaesung

Copy link
Copy Markdown
Collaborator

@gspetro-NOAA Done—reverted .gitmodules and updated the four submodule hashes. Please check!

@gspetro-NOAA

Copy link
Copy Markdown

@gspetro-NOAA Done—reverted .gitmodules and updated the four submodule hashes. Please check!

Looks good to me! Please merge as soon as you have a chance. 🙂

@rhaesung
rhaesung merged commit 2813986 into ufs-community:ufs/dev Nov 18, 2026
1 of 3 checks passed
@climbfuji

Copy link
Copy Markdown
Author

Thanks for taking care of this. The MYNN EDMF update sneaked in a few days ago due to the recently merged update for that code.

@climbfuji
climbfuji deleted the feature/ccpp_kinds branch November 18, 2026 21:49
gspetro-NOAA pushed a commit to ufs-community/ufs-weather-model that referenced this pull request Nov 19, 2026
…dyn, ... (#3414)

* UFSWM - Update CMEPS, UFSATM, ccpp-physics, and its submodules to use `kind_phys`, `kind_dyn`, etc from the ccpp-framework generated `ccpp_kinds` module instead of the hardcoded `machine` module.
  * CMEPS - CCPP: replace machine module with ccpp_kinds module
  * UFSATM - 
    * ccpp-physics - CCPP: replace machine module with ccpp_kinds module
      * CCPP submodules (list) - see ufs-community/ccpp-physics#415
AndersJensen-NOAA pushed a commit to AndersJensen-NOAA/ccpp-physics that referenced this pull request Nov 19, 2026
Brings in the machine --> ccpp_kinds change (ufs-community#415), including the
TEMPO, C3, MYNN_SFC and MYNN_EDMF submodule updates. Resolved the
mp_tempo.F90 conflict by keeping the ieee_arithmetic import and using
ccpp_kinds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EHvrRsTkZHmdENdJj9ZRsp
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.

6 participants