esm-tools / esm_tools

Simple Infrastructure for Earth System Simulations
https://esm-tools.github.io/
GNU General Public License v2.0
25 stars 12 forks source link

env_changes from component not forgotten for setup #1120

Open JanStreffing opened 10 months ago

JanStreffing commented 10 months ago

While working on https://github.com/esm-tools/esm_tools/tree/feat/awicm3-v3.3 I found, that the new switch in rnfmap: https://github.com/esm-tools/esm_tools/blob/4076f45682b7d33ad03c9325e887fcc6fc4e0209/configs/components/rnfmap/rnfmap.yaml#L200 is not ignored in a compile for rnfmap for awicm3-v3.2:

In 'oifs':

iolibraries: system_libs

iolibraries: system_gnu_libs

Environment variable 'iolibraries' defined in 'oifs' is going to be overwritten by the one defined in 'rnfmap'. Are you okay with that? (Y/n): Y

Environment conflict
--------------------

Intended design is, that the env changes in the component rnfmap.yaml should be forgotten for the setup awicm3. Only rnfmap env changes from the rnfmap.env.yaml, which is specifically included in the setup awicm3, should be applied.