Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component version from picked coupling not correctly overwriting the one from component file #1259

Open
JanStreffing opened this issue Dec 27, 2024 · 1 comment
Assignees

Comments

@JanStreffing
Copy link
Contributor

Well this is a strange one.. I have made dozens of couplings already and never has this happened to me. Branch in question: https://github.com/esm-tools/esm_tools/tree/feat/awiesm3-v3.4 currently on commit: b04606e. I'm showing things from the finished config yaml here.

In the setup for awiesm3 version v3.4 I set the following coupling:

  couplings:
  - fesom-2.6+oifs-48r1+xios-2.5+lpj_guess-4.1.2  # /home/a/a270092/esm_tools/configs/setups/awiesm3/awiesm3.yaml,line:27,col:15

In that coupling I pick the lpj_guess version 4.1.2:

components:
- xios-2.5-ece
- rnfmap-v1.0
- oifs-48r1
- fesom-2.6
- oasis3mct-5.0-smhi
- lpj_guess-4.1.2

For esm_master, this works. I know that, because the whole compile process and folder are very different between the standalone 4.1.1 lpj-guess and the coupled 4.1.2. However at runtime in my finished config yaml I get:

   version: 4.1.1 # /home/a/a270092/esm_tools/configs/components/lpj_guess/lpj_guess.yaml,line:10,col:10

This is wrong. It should have been 4.1.2. My current workaround would be to set the default in components/lpj_guess/lpj_guess.yaml,line:10 to 4.1.2. This is not ideal of course, because it means the standalone lpj_guess is broken now.

@JanStreffing
Copy link
Contributor Author

Adding @hajlaci for info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants