Difference between revisions of "Running the UM with Rose"

(Resources)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
For a general overview of how to use the UM with Rose and Cylc see the [https://code.metoffice.gov.uk/doc/um/latest/um-training/index.html Met Office's UM tutorial]
  
 
== Restarting and Extending Rose Suites ==
 
== Restarting and Extending Rose Suites ==
Line 30: Line 30:
 
[[File:stashexport.png|800x558px]]
 
[[File:stashexport.png|800x558px]]
  
The exported STASH configuration will be saved into '<span style="font-family:monospace">app/um/STASHexport.ini}}'. To import the settings into a new job copy this file to the new suite's '{{app/um/STASHImport.ini}}' and run the '{{STASHImport</span>' macro in the Rose editor on that suite.
+
The exported STASH configuration will be saved into 'app/um/STASHexport.ini'. To import the settings into a new job copy this file to the new suite's 'app/um/STASHImport.ini' and run the 'STASHImport' macro in the Rose editor on that suite.
  
 
==Porting suites to NCI==  
 
==Porting suites to NCI==  
Line 38: Line 38:
 
==Resources==  
 
==Resources==  
  
* [https://accessdev.nci.org.au/trac/wiki/GettingConnected | Getting Connected to Accessdev]
+
* [https://accessdev.nci.org.au/trac/wiki/GettingConnected Getting Connected to Accessdev]
* [https://code.metoffice.gov.uk/doc/um/latest/um-training/index.html | Unified Model Rose Tutorial]
+
* [https://code.metoffice.gov.uk/doc/um/latest/um-training/index.html Unified Model Rose Tutorial]
* [https://metomi.github.io/rose/doc/rose.html | Rose Documentation]
+
* [https://metomi.github.io/rose/doc/rose.html Rose Documentation]
* [https://cylc.github.io/cylc/html/single/cug-html.html | Cylc Documentation]
+
* [https://cylc.github.io/cylc/html/single/cug-html.html Cylc Documentation]
  
* [https://github.com/metomi/rose | Rose on Github]
+
* [https://github.com/metomi/rose Rose on Github]
* [https://github.com/cylc/cylc | Cylc on Github]
+
* [https://github.com/cylc/cylc Cylc on Github]
 
[[Category:Unified Model]][[Category:Rose]]
 
[[Category:Unified Model]][[Category:Rose]]

Latest revision as of 23:14, 29 April 2021

For a general overview of how to use the UM with Rose and Cylc see the Met Office's UM tutorial

Restarting and Extending Rose Suites

To restart a stopped job run

rose suite-run --restart

This will put the suite back into the exact same state it was when Cylc stopped - failed tasks will still be failed, and if it reached the end of the run Cylc will promptly stop running again.

Resubmit a failed task by right clicking on it and selecting 'Trigger Task'

To extend the run dates you'll need to change the end time in the Rose editor, and then reload the configuration.

If the configuration has changed (say you have edited the suite end date to make it run for another year) you need to reload the configuration when you restart it, which you can do with

rose suite-run --reload --restart

Resubmitting Tasks

If a UM task has failed (i.e. it has a red box in the Cylc GUI) you can re-submit it by right clicking the task and selecting 'Trigger (run now)'

The task will continue from the most recent restart file, provided that it is not the very first task. Resubmitting the first UM task will restart the run from the beginning.

Copying STASH fields

A pair of macros are provided with UM suites for copying STASH settings between jobs, named STASHExport and STASHImport. You can find the macros in the editor under Metadata -> um

Stashexport.png

The exported STASH configuration will be saved into 'app/um/STASHexport.ini'. To import the settings into a new job copy this file to the new suite's 'app/um/STASHImport.ini' and run the 'STASHImport' macro in the Rose editor on that suite.

Porting suites to NCI

See the ACCESS wiki for Rose/Cylc configuration settings on Gadi

Resources