Skip to content

Commit dc01580

Browse files
Add Monsoon docs (#383)
Document the process of installing the UM on the new monsoon 3 partition and provide some information on how to run on the system.
1 parent ee30a63 commit dc01580

File tree

3 files changed

+80
-5
lines changed

3 files changed

+80
-5
lines changed

source/Reviewers/releases/um_main_release.rst

Lines changed: 52 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,29 +261,29 @@ First check that the upgrade has gone successfully and the new install will appe
261261

262262
.. code-block::
263263
264-
rose stem --group=install rose-stem -S CENTRAL_INSTALL=false -S PREBUILDS=false -S USE_EXAB=true
264+
rose stem --group=install -S CENTRAL_INSTALL=false -S PREBUILDS=false -S USE_EXAB=true
265265
cylc play <name-of-suite>
266266
267267
and check that ``~umadmin/cylc_run/<working_copy_name>/runN/share/vnX.Y`` exists and is the new version number. If that has worked, change the CENTRALL_INSTALL flag to true and rerun,
268268

269269
.. code-block::
270270
271-
rose stem --group=install rose-stem -S CENTRAL_INSTALL=true -S PREBUILDS=false -S USE_EXAB=true
271+
rose stem --group=install -S CENTRAL_INSTALL=true -S PREBUILDS=false -S USE_EXAB=true
272272
cylc play <name-of-suite>
273273
274274
275275
Next, rerun the install for the 2nd host zone,
276276

277277
.. code-block::
278278
279-
rose stem --group=ex1a_install rose-stem -S CENTRAL_INSTALL=true -S PREBUILDS=false -S USE_EXCD=true
279+
rose stem --group=ex1a_install -S CENTRAL_INSTALL=true -S PREBUILDS=false -S USE_EXCD=true
280280
cylc play <name-of-suite>
281281
282282
Finally, rerun the install for the EXZ,
283283

284284
.. code-block::
285285
286-
rose stem --group=ex1a_install rose-stem -S CENTRAL_INSTALL=true -S PREBUILDS=false -S USE_EXZ=true
286+
rose stem --group=ex1a_install -S CENTRAL_INSTALL=true -S PREBUILDS=false -S USE_EXZ=true
287287
cylc play <name-of-suite>
288288
289289
The release is now installed and can be announced.
@@ -319,3 +319,51 @@ And finally on the EXZ - make sure to **not** use ``--new`` in this command or t
319319
320320
export CYLC_VERSION=7
321321
rose stem --group=ex1a_fcm_make,ex1a_fcm_make_portio2b --source=fcm:um.xm_tr@vnX.Y --name=vnX.Y_prebuilds --config=./rose-stem -S MAKE_PREBUILDS=true -S USE_EXZ=true
322+
323+
324+
Monsoon Installation
325+
--------------------
326+
327+
.. tip::
328+
329+
This section can be done in parallel with the previous one
330+
331+
We also install the UM onto Monsoon - to do this you will need a Monsoon account with access to the ``umadmin.mon`` shared account.
332+
333+
First, log into Monsoon as ``umadmin.mon`` and then check out the trunk at the new version just released.
334+
335+
.. code-block::
336+
337+
fcm co fcm:um.xm_tr@vnXX.Y
338+
339+
Next, symlink the input data as was done for other platforms,
340+
341+
.. code-block::
342+
343+
mv vn11.5 vn11.6; ln -s vn11.6 vn11.5
344+
345+
Now run the central install group,
346+
347+
.. code-block::
348+
349+
rose stem --group=ex1a_install -S CENTRAL_INSTALL=true -S PREBUILDS=false
350+
cylc play <name-of-suite>
351+
352+
Install prebuilds on Monsoon. Note the ``--no-run-name`` is required to force the install location to be consistent with other platforms.
353+
354+
.. code-block::
355+
356+
rose stem --group=ex1a_fcm_make,ex1a_fcm_make_portio2b -S MAKE_PREBUILDS=true -n vnX.Y_prebuilds --no-run-name
357+
cylc play <name-of-suite>
358+
359+
Finally we need to install the kgo for the release. Do this by running the ``ex1a`` group. Once that is finished, run the kgo install script (sourced from the SimSys_Scripts repo).
360+
361+
.. code-block::
362+
363+
rose stem --group=ex1a
364+
cylc play <name-of-suite>
365+
# Wait for tests to complete
366+
python3 SimSys_Scripts/kgo_updates/kgo_update/kgo_update.py -N vnX.Y -P ex1a --new-release --non-interactive
367+
368+
Check that the kgo has been installed in place correctly at ``$UMDIR/standard_jobs/kgo``.
369+

source/Reviewers/releases/um_test_release.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,12 @@ Before continuing the next step you should make sure the suite has run as expect
162162
find ~cylc-run/<suite name>/runN/log/job -path "*rose_ana*" -type f -name job.status | xargs grep -l CYLC_JOB_EXIT=ERR | grep -vE "(scm|netcdf)
163163
164164
165+
Test on Monsoon
166+
---------------
167+
168+
It's also sensible to check now that nothing has broken on Monsoon. Do this by copying your keyword settings across to your account on there. Then check out the UM main and meta branches and run the test suite as you in the previous section except for the group which should now be ``ex1a``.
169+
170+
165171
Reset Keywords and Remove Prebuilds (Important!)
166172
------------------------------------------------
167173

@@ -170,7 +176,7 @@ As both yourself and umadmin,
170176
* Remove or comment out the custom keyword revisions from ``~/.metomi/fcm/keywords.cfg``
171177
* Remove or comment out the ``bypass-version-check`` in ``~/.metomi/rose.conf``
172178

173-
* Make sure to do this on **all** platforms
179+
* Make sure to do this on **all** platforms (inlcuding Monsoon)
174180
* Not doing so can result in some weird behaviour down the line
175181

176182
* As umadmin, remove the installed release and prebuilds. Doing this now saves significant time during the actual release. These steps should only need doing on Azure Spice and EXAB.

source/WorkingPractices/TestSuites/um.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,24 @@ and that you can specify more than one at once, e.g. ``--group=developer,jules,u
8989
The `standard jobs <https://code.metoffice.gov.uk/trac/um/wiki/StandardJobs>`_
9090
page for each release includes details of which of ``developer``,
9191
``nightly`` and ``all`` a configuration is tested at.
92+
93+
94+
Monsoon
95+
-------
96+
97+
As of UM vn13.9, the UM is able to run on Monsoon3, the latest version hosted by the Meto EX machines. To run on here, users should follow the process laid out in the Monsoon User Guide. This involves logging onto the ``cazccylc1`` server to launch jobs.
98+
99+
The UM test suite is set up to run on Monsoon with Cylc 8 by running,
100+
101+
.. code-block::
102+
103+
rose stem --group=ex1a
104+
cylc play <name-of-suite>
105+
106+
This will launch all ex1a jobs that are available to run on Monsoon.
107+
108+
For running suites on Monsoon, a few environment variables must be set for the builds to complete:
109+
110+
* ``EX_UMDIR_OVERRIDE`` - this needs to be set to ``/projects/metoff/umdir``
111+
* ``ECCODES_VERSION`` - this needs to be set to ``eccodes-2.34.0``
112+

0 commit comments

Comments
 (0)