NCAR / ccpp-framework

Common Community Physics Package (CCPP)
http://www.dtcenter.org/community-code/common-community-physics-package-ccpp/
Other
26 stars 64 forks source link

capgen should determine the list of schemes to compile from search path and list of suites #422

Open climbfuji opened 2 years ago

climbfuji commented 2 years ago

Description

When calling capgen, the host model needs to specify all input requirements, currently: list of metadata files (host, scheme), list of type definitions, list of suite definition files, ...

The following change is suggested: Instead of providing a list of scheme files and suites, provide a search path plus a list of suites. capgen should then return a list of schemes that need to be compiled to support the selected suites. An error must be generated if a scheme file cannot be found.