Replace ccpp-prebuild and ccpp-capgen v0 with ccpp-capgen v1#762
Open
climbfuji wants to merge 75 commits into
Open
Replace ccpp-prebuild and ccpp-capgen v0 with ccpp-capgen v1#762climbfuji wants to merge 75 commits into
climbfuji wants to merge 75 commits into
Conversation
… feature/capgen-ng
…gen-ng: entire constituent state now per instance
…s actual variables
…on dimensions that are updated during the run
…ests for constituents dims and suite allocatable arrays
…constituent that defines the variable must provide a valid length
…e old and new Fortran characters
This was referenced Jun 30, 2026
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.
Description
This PR replaces the two code generators
ccpp-prebuildandccpp-capgen(version 0) with the new, unifiedccpp-capgen(version 1). It supports all host models (CAM-SIMA, CCPP-SCM, NEPTUNE, UFS) and combines the features fromccpp-capgen v0with the performance and operational robustness ofccpp-prebuild.This pull request will be updated continuously with links to updates of the CCPP technical documentation and additional information. See also #759 for background information and further materials.
User interface changes?: Yes (see documentation)
This feature branch
feature/capgen-v1will support the threeccpp-prebuild-based models CCPP-SCM, NEPTUNE, and UFS, which will transition toccpp-capgen v1before CAM-SIMA. Once CAM-SIMA transitions, this PR will be merged andfeature/capgen-v1will be locked.Todo
doc/need to be reviewed and used to update the existing CCPP technical documentation (https://github.com/ncar/ccpp-doc). Once that process is complete, we can remove or trim down the additional documentation indoc/.Issues
scripts/file_utils.py/move_modified_filesroutine #744To check/may not be implemented yet:
Testing
Python docstring tests, unit tests, end-to-end tests
Significantly expanded test coverage with Python docstring tests and 1500-ish unit tests (
./unit-tests).End-to-end tests cover:
blocked-datanot supported in capgen v0 and capgen v1CAM-SIMA
Python unit tests pass, system tests pass with Intel and GNU. The system tests are bit-for-bit identical with the reference baseline. Two tests fail that also fail on
development.Pull requests:
Status of pull requests: DRAFT
CCPP-SCM
All suites compile and all manual tests run (a sample of all permutations). CI testing/reproducibility: add info here
Pull requests:
Status of pull requests: UNDER REVIEW
NEPTUNE
All 500 tests compile and run. Results and performance are identical with the ccpp-prebuild code for regular (low-altitude), mid-altitude, and high-altitude physics.
Pull requests in NRL Enterprise GitHub cannot be referenced here.
Status of pull requests: UNDER REVIEW
UFS
ADD INFO AND LINKS TO PRS HERE