Welcome to the new DiscussCESM forum!
We are still working on the website migration, so you may experience downtime during this process.

Existing users, please reset your password before logging in here: https://xenforo.cgd.ucar.edu/cesm/index.php?lost-password/

Error when running scripts_regression_tests.py

xcj

xcj
New Member
I am running scripts_regression_tests.py according to: 6. Porting and validating CIME on a new platform — CIME master documentation, however am encountering the following error:

Any way to resolve this?

"Traceback (most recent call last):
File "./scripts_regression_tests.py", line 2894, in <module>
_main_func(__doc__)
File "./scripts_regression_tests.py", line 2834, in _main_func
MACHINE = Machines()
File "/home/itan/my_cesm_sandbox/cime/scripts/tests/../lib/CIME/XML/machines.py", line 53, in __init__
machine = self.probe_machine_name()
File "/home/itan/my_cesm_sandbox/cime/scripts/tests/../lib/CIME/XML/machines.py", line 112, in probe_machine_name
machine = self._probe_machine_name_one_guess(nametomatch)
File "/home/itan/my_cesm_sandbox/cime/scripts/tests/../lib/CIME/XML/machines.py", line 147, in _probe_machine_name_one_guess
regex = re.compile(regex_str)
File "/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/python/3.7.4/lib/python3.7/re.py", line 234, in compile
return _compile(pattern, flags)
File "/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/python/3.7.4/lib/python3.7/re.py", line 286, in _compile
p = sre_compile.compile(pattern, flags)
File "/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/python/3.7.4/lib/python3.7/sre_compile.py", line 764, in compile
p = sre_parse.parse(p, flags)
File "/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/python/3.7.4/lib/python3.7/sre_parse.py", line 930, in parse
p = _parse_sub(source, pattern, flags & SRE_FLAG_VERBOSE, 0)
File "/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/python/3.7.4/lib/python3.7/sre_parse.py", line 426, in _parse_sub
not nested and not items))
File "/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/python/3.7.4/lib/python3.7/sre_parse.py", line 651, in _parse
source.tell() - here + len(this))
re.error: nothing to repeat at position 0"
 
Top