ESCOMP / ESCOMP/CAM-SIMA

CCPP metadata files are not seen by CAM-SIMA if they are in SourceMods

Open
#239 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
9
Forks
22
Avg merge
8d 5h
Merged PRs (30d)
4

Description

### What happened?

If one adds a modified CCPP metadata file to `SourceMods/src.cam`, that modified file will simply not be seen by the build system. This is true even for an initial (post-clean) build, or if the relevant source code file is in `SourceMods/src.cam` as well.

The build system (including the build cache) should be able to recognize that a modified metadata file is in SourceMods, and then use that file accordingly when generating the CCPP caps.

### What are the steps to reproduce the bug?

Create any case, add a metadata file with a modified standard name to `SourceMods/src.cam`, run `preview_namelists`, and then see if the associated CCPP-generated cap files in `bld/atm/obj/ccpp` contain the modification you added.

### What CAM-SIMA hash were you using?

7d299b6

### 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

To get around this particular issue, one needs to modify the metadata file of interest directly in the local copy of CAM-SIMA, clean the build, and then re-build the model from scratch.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.