ESMCI / cime

Common Infrastructure for Modeling the Earth
http://esmci.github.io/cime
Other
162 stars 207 forks source link

V3 config_machines.xml doesn't consider user `.cime` directory for machine configs #4568

Closed jasonb5 closed 10 months ago

jasonb5 commented 10 months ago

If there's a V3 config_machines.xml under ~/.cime/, CIME will check for $SRCROOT/ccs_config/machines/docker/config_machines.xml and not ~/.cime/docker/config_machines.xml.

Issue is in set_machine function: https://github.com/ESMCI/cime/blob/d2ec81a4e5ee4bc558c46f31b407c02afd759b6b/CIME/XML/machines.py#L320-L328

Should also consider ~/.cime/docker/config_machines.xml.