Skip to content

case.setup "--keep" option NOT working when it gets to the case.build step #4972

@ekluzek

Description

@ekluzek

The --keep option is NOT working in case.setup in cime6.1.169 with other submodules from ctsm5.4.034.

How to reproduce. I setup a case, I'm using SMS_D.f10_f10_mg37.I2000Clm60BgcCrop.derecho_nvhpc.clm-crop. I then kept a copy of the original keep files (env_mach_specific.xml, Macros.make, and Macros.cmake) (copied to one with .orig). Then I modified the case version by adding comments to the files. And then kept a copy of that (copied to .new). I made sure those files were readonly and then went through the case steps to see where it fails.

The case.setup works correctly, but on the case.build step it tries to overwrite the files and fails. I'll give details below

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions