Cylc 8 with LFRic Rose stem and Python issues

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 the rose stem command to make it run.
  • cylc gscan
    • This GUI has been replaced by the web GUI (cylc gui).
    • For a light-weight CLI alternative try cylc scan.
  • Jinja2
  • ROSE_ORIG_HOST
    • Tasks for the SPICE platform had [remote]host set to ROSE_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.

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.