Hello,
This error is happening because you have some Python 3.7 files in your PYTHONPATH
which are messing with the Cylc environment.
To fix, try running Cylc in a clean environment.
# NOTE: Met Office specific
module purge
Unfortunately there isn’t much we can do to improve this error message as the Cylc wasn’t able to load.
The LFric rose-stem suites require a few small changes to make them Cylc 8 compatible. Andrew C has a branch where he’s made some progress on this.
For general info, here are the changes made so far:
- rose-stem options
-
--name
→--workflow-name
-
--define-suite
→-S
(this is a Rose bug, we will reinstate the--define-suite
argument soon) -
--config <path>
→<path>
(now a positional argument). - Remove
--new
&--no-gcontrol
.
-
- cylc play
- The
rose stem
command now only installs the workflow. - Add
cylc play <workflow-name>
after therose stem
command to make it run.
- The
- cylc gscan
- This GUI has been replaced by the web GUI (
cylc gui
). - For a light-weight CLI alternative try
cylc scan
.
- This GUI has been replaced by the web GUI (
- Jinja2
- Globals:
- Apply this one-line patch to fix a Jinja2 issue: Cylc 8 with LFRic Rose stems and Jinja2 issues - #4 by oliver.sanders
- variables
- The
disabled
variable (used for xc40 configs) is invalid. - I don’t understand how this worked at Cylc 7.
- Quoting the value suppresses the error:
...=disabled
→...='disabled'
,
- The
- Globals:
- ROSE_ORIG_HOST
- Tasks for the SPICE platform had
[remote]host
set toROSE_ORIG_HOST
. - This tells Cylc to perform an unnecessary SSH. This doesn’t work at Cylc 8.
- Easy fix, change
ROSE_ORIG_HOST
→'localhost'
for SPICE sections in a Jinja2 file somewhere.
- Tasks for the SPICE platform had
A long list but it boils down to a small diff. With that the rose-stem suites tested so far validate and run under Cylc 8.