-
When trying to run a case with a recent version of CIME on my Mac, where I have a machine port in my
Poking around, I see that there has been a rework in where NODENAME_REGEX is specified. I can get this to work by removing NODENAME_REGEX from my config_machines.xml file in .cime and adding these diffs in CESM's ccs_config: diff --git a/machines/config_machines.xml b/machines/config_machines.xml
index 2c0a847..0f8846d 100644
--- a/machines/config_machines.xml
+++ b/machines/config_machines.xml
@@ -58,6 +58,7 @@ This allows using a different mpirun command to launch unit tests
<value MACH="coeus">(login[1,2].cluster|compute[0-9]*.cluster)</value>
<value MACH="derecho">$ENV{NCAR_HOST}:derecho</value>
<value MACH="frontera">.*frontera</value>
+ <value MACH="green">cgdm-green</value>
<value MACH="greenplanet-sky24">gplogin\d.gp.local</value>
<value MACH="gust">gu.*.hpc.ucar.edu</value>
<value MACH="izumi">^i.*\.ucar\.edu</value> But is there a way to do this without modifying the central version of config_machines – by adding NODENAME_REGEX in some new place in my .cime directory? Also note that, when I tried this without the above diff – even if I explicitly specified
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 16 replies
-
The first part is a feature NODENAME_REGEX should no longer be in your .cime/config_machines.xml. |
Beta Was this translation helpful? Give feedback.
-
Hi I'm chiming in because I am now having trouble running things on my personal computer. Before this worked fine, but now I get this error when trying to run the fortran unit tests. I haven't tried running a regular model run yet, but perhaps that will also not work?
I think this is now expected behavior? I know there are workarounds for this (e.g. setting a Is this something that can be worked on? |
Beta Was this translation helpful? Give feedback.
-
No, I thought those didn't work any more. I will try those. |
Beta Was this translation helpful? Give feedback.
And here are the net changes I needed to make:
https://github.com/billsacks/mac_cime_configuration/compare/64bda4a..3eafe11
It's hard to tell from the diffs, but this consisted of:
(1) Removing the NODENAME_REGEX element from config_machines.xml.
(2) Moving config_machines.xml to MACHINE_NAME/config_machines.xml (in my case, green/config_machines.xml)
(3) Introducing a new top-level config_machines.xml with just the NODENAME_REGEX: