I found myself hitting this check even when passing --non-local to create_test. This is surprising because it's under the conditional if not self._non_local:. This patch shows that non_local, which is supposed to be passed to Case.init(), is False and the NONLOCAL XML variable is unset (None):
diff --git a/CIME/case/case.py b/CIME/case/case.py
index bd6db1e50..940c77328 100644
--- a/CIME/case/case.py
+++ b/CIME/case/case.py
@@ -126,6 +126,7 @@ class Case(object):
self.gpu_enabled = False
self._non_local = non_local
self.read_xml()
+ raise RuntimeError(f'\n{self._non_local=}\nNONLOCAL: {self.get_value("NONLOCAL")}')
srcroot = self.get_value("SRCROOT")
CC @billsacks, @ekluzek
I found myself hitting this check even when passing
--non-localtocreate_test. This is surprising because it's under the conditionalif not self._non_local:. This patch shows thatnon_local, which is supposed to be passed toCase.init(), is False and theNONLOCALXML variable is unset (None):CC @billsacks, @ekluzek