ncar_ccpp/schemes/utilities copied unconditionally but dependencies in .meta are not parsed
- Dominant language
- No language data
- Stars
- 9
- Forks
- 22
- Avg merge
- 8d 5h
- Merged PRs (30d)
- 4
Description
### What happened?
If a scheme under `utilities` has `dependencies =` declared in `.meta` it will be invisible and cause a build failure in all configurations that do not manually use the dependency elsewhere in some way.
### What are the steps to reproduce the bug?
Make `set_surface_coupling_vars.F90` depend on `radiation_utils.F90` for example, and set `dependencies = ../rrtmgp/utils/radiation_utils.F90`
Try to build FHS94 or an unrelated compset that has nothing to do with set_surface_coupling_vars
Compile error
### What CAM-SIMA hash were you using?
sima0_17_000
### What machine were you running CAM-SIMA on?
CISL machine (e.g. cheyenne)
### What compiler were you using?
GNU
### Path to a case directory, if applicable
_No response_
### Will you be addressing this bug yourself?
Any Software Engineer can do this
### Extra info
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing how ncar_ccpp/schemes/utilities are copied and how .meta files are parsed. Reproduce the issue with set_surface_coupling_vars.F90 depending on ../rrtmgp/utils/radiation_utils.F90, then verify that an unrelated FHS94 build succeeds without manually using the dependency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fortran
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100