-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metadata should contain dependency information for CCPP scheme #308
Comments
My question is how the exactly that line |
@gold2718 since we are having difficulties to hold our regular meetings, can we proceed with the discussion here? I would like to have a way forward to alleviate some of the concerns brought up by EMC and make compiling faster. Thanks ... |
Some thoughts and questions:
|
Some additional information can be found in the meeting minutes here: https://github.com/NCAR/ccpp-framework/wiki/CCPP-Framework-Meeting-Minutes-2020-07-16 |
Update: this dependency-specific implementation has been superseded by a more generic implementation of a |
This PR removes dependency information from the CCPP prebuild config. See NCAR/ccpp-framework#308 and NCAR/ccpp-framework#317 for details on the motivation for this change and the actual implementation. It also removes some legacy code used by the dynamic CCPP build in the past. This PR also contains the changes in #156, i.e. the completion of adding the active attribute to GFS_typedefs.F90. On top of this PR, the missing active attribute for phy_fctd is added. Additionally, gfortran-10 compiler flags are added to CCPP's CMakeLists.txt.
Fixed and merged for |
CCPP schemes can have their own (private) dependencies, for example a microphysics scheme may contain modules that perform certain computations for cloud effective radii etc.
The CCPP code generator only knows about which schemes to compile (by parsing the suite definition files it is given), but not which dependencies it needs to compile for the schemes.
If we had an attribute like
associated with the scheme metadata, the CCPP could create such a list of files to compile and hand it back to the host model. I am unclear how to fit this into the metadata, though, because the dependencies are independent of the
_run
etc routines - do we have a section that applies to the scheme as a whole, and not an individual CCPP entry point?The text was updated successfully, but these errors were encountered: