Difference between revisions of "Running the UM with Rose"
ScottWales (talk | contribs) (Imported from Wikispaces) |
(→Resources) |
||
(5 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 == | ||
To restart a stopped job run | To restart a stopped job run | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang=text> |
rose suite-run --restart | rose suite-run --restart | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 21: | Line 14: | ||
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 | 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 | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang=text> |
rose suite-run --reload --restart | rose suite-run --reload --restart | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 31: | Line 24: | ||
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. | 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 <span style="font-family:monospace">Metadata -> um</span> |
− | + | [[File:stashexport.png|800x558px]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | 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 [https://accessdev.nci.org.au/trac/wiki/gadi#ConfiguringACCESSJobsforGadi the ACCESS wiki] for Rose/Cylc configuration settings on Gadi | |
− | [ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Resources== | ==Resources== | ||
− | * [https://accessdev.nci.org.au/trac/wiki/GettingConnected | + | * [https://accessdev.nci.org.au/trac/wiki/GettingConnected Getting Connected to Accessdev] |
− | * [https://code.metoffice.gov.uk/doc/um/ | + | * [https://code.metoffice.gov.uk/doc/um/latest/um-training/index.html Unified Model Rose Tutorial] |
− | * [https://metomi.github.io/rose/doc/rose.html | + | * [https://metomi.github.io/rose/doc/rose.html Rose Documentation] |
− | * [https://cylc.github.io/cylc/html/single/cug-html.html | + | * [https://cylc.github.io/cylc/html/single/cug-html.html Cylc Documentation] |
− | * [https://github.com/metomi/rose | + | * [https://github.com/metomi/rose Rose on Github] |
− | * [https://github.com/cylc/cylc | + | * [https://github.com/cylc/cylc Cylc on Github] |
− | [[Category: | + | [[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
Contents
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
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