Skip to content

additional_flags from machine.yaml are not handled correctly #184

@seb-wahl

Description

@seb-wahl

Version: latest version of all tools, geomar branch of esm_tools

When I add

computer:
   additional_flags:
      - --mem=72000
      - --contraint="cascade"

to a runscript the extra flags are correctly added to the sbatch header of my runscript. However if add the same settings to my machine.yaml the are (as seen in the the *finished*.yaml) either resolved incorrectly or ignored. I tried

computer:
   additional_flags:
      - --mem=72000
      - --contraint="cascade"

and

additional_flags:
      - --mem=72000
      - --contraint="cascade"

in my machine yaml. It does not matter whether I used strings or lists. I added a few print statements in batch_system.py which clearly show me that the additional_flags are already empty when they shall be processed in batch_system.py. So I assume something must go wrong when the machine.yaml is parsed.

What's going wrong here?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions