wiki:RoseCylc

Version 38 (modified by annette, 3 years ago) (diff)

Rose

To view suites on puma: http://puma.nerc.ac.uk/rosie/puma
For suite output: http://puma.nerc.ac.uk/rose-bush

For some useful tips: RoseCylc/Hints

Troubleshooting of common errors: RoseCylc/Troubleshooting?

References

Cylc user guide (including example suites): http://cylc.github.io/cylc/html/single/cug-html.html

Rose user guide (including tutorial exercises): http://metomi.github.io/rose/doc/rose.html

Getting started

UM 10.x

To run UM10.x you will first need an account on the Met Office shared repository service (MOSRS). Please contact ncas-umsupport@… to arrange this.

Some setup is then required to access the remote repository on puma (for submission to Archer) or MONSooN. This is detailed here:.

https://code.metoffice.gov.uk/trac/home/wiki/FAQ#ConfiguringSubversionaccess (Note you need to log in with your MOSRS account to see this)

Then follow the link on "how to cache your password":

https://code.metoffice.gov.uk/trac/home/wiki/AuthenticationCaching

Puma

Note: The correct paths are now set up by default, so you no longer need to have anything in your .profile to load Rose, Cylc or FCM.

For UM jobs the variable $UMDIR needs to be set but it doesn't matter what to! Add the following to your .profile:

export UMDIR=/home/um

MONSooN

Follow these instructions: http://collab.metoffice.gov.uk/twiki/bin/view/Support/MONSooNRose

You may also need to follow these additional steps, if you find you get an error submitting your first Rose job: RoseCylc/Troubleshooting#Unabletosubmitjobs?

Note: to view suite logs on exvmsrose run:

firefox http://localhost:8080

Archer

First ensure that UMDIR and DATADIR are defined in your environment (try echo $UMDIR; echo $DATADIR).

  • Non-UM users should add:
    export UMDIR=/work/y07/y07/umshared
    export DATADIR=/work/n01/n01/<add-username>   # Set to your work space
    

All users need the following lines:

module use $UMDIR/modules
module load cylc 
module load fcm
module load rose

For Rose on archer to work properly, the ssh-agent needs to be running on puma and not forwarded from elsewhere. Otherwise when logging out of puma, the agent will not persist and polling between puma and archer will not work. To set up ssh-keys from puma to Archer see: https://puma.nerc.ac.uk/trac/UM_TUTORIAL/wiki/sshAgent

Syntax highlighting

This is really useful if you are going to edit the Rose and cylc configuration files directly (i.e. not through the GUI). For instructions see:

UM Rose tutorial

The Met Office tutorial is available on the Met Office Science Repository Service: https://code.metoffice.gov.uk/doc/um/vn10.2/um-training/index.html

Most of this will work with any UM suite. For Archer try puma-aa125.