Difference between revisions of "UKCA Chemistry and Aerosol vn10.4 Tutorial 1"

From UKCA
Line 25: Line 25:
   
 
This will now compile and run the suite. Pre-builds are being used, so it should take about '''X''' to run compile the code, followed by about 90s to run the reconfiguration step, and then 7 minutes to run the UM itself.
 
This will now compile and run the suite. Pre-builds are being used, so it should take about '''X''' to run compile the code, followed by about 90s to run the reconfiguration step, and then 7 minutes to run the UM itself.
  +
  +
==Output Directory Structure==
   
 
The output directory structure of rose suites are rather complex:
 
The output directory structure of rose suites are rather complex:

Revision as of 16:40, 21 December 2016

UKCA Chemistry and Aerosol Tutorials at vn10.4

Before starting these tutorials you should first make sure that you have completed the setup instructions. If you are using Linux or macOS you will only need to complete section 2.2 onwards.

Copying and Running an Existing Rose Suite

You will need to login to PUMA, e.g.

ssh -Y username@puma.nerc.ac.uk

You should then be asked for the SRS password.

Then launch the UM graphical user interface by:

rosie go
Figure 1: GCylc running.

This should then load up a blank interface. Go to Edit Data source and select u. The go to the search panel and type u-ai071 and press return. This will then show all the suites that have u-ai071 in it's history or title. You should just select suite u-ai071 and not any of the others.

Right-click on suite u-ai071 and click copy suite. A new box will open asking for the project - it is fine to press Forward here. On the next panel, it's fine to just press OK again as well.

The suite will now copy and checkout to your /home/$USER/roses directory, and will also appear when running rosie go.

You should now right-click edit (or double-click) on this new suite, and click run, which is symbolised by a play symbol (i.e., a large grey arrow-head pointing to the right).

This will now compile and run the suite. Pre-builds are being used, so it should take about X to run compile the code, followed by about 90s to run the reconfiguration step, and then 7 minutes to run the UM itself.

Output Directory Structure

The output directory structure of rose suites are rather complex:

  • You can find the latest & full job.out files in
/work/n02/n02/$USER/cylc-run/[SUITE-ID]/log/job/YYYYMMDDTttttZ/[JOB NAME]/NN
e.g. /work/n02/n02/luke/cylc-run/u-ag308/log/job/19880901T0000Z/fcm_make2_um/NN
This file contains what the UM writes out using the umPrint subroutine (what used to be written out using WRITE(6) statements).
  • Output from the individual processors (which are updated as the job is running can be found in
/work/n02/n02/$USER/cylc-run/[SUITE-ID]/work/YYYYMMDDTttttZ/[JOB NAME]/pe_output
e.g. /work/n02/n02/luke/cylc-run/u-ag308/work/19880901T0000Z/recon/pe_output
A handy command to check the progress of the job is
tail -1000f [SHORT SUITE-ID].fort6.pe00 | grep Atm_Step
  • Output files in 64-bit fieldsfile format can be found (on ARCHER) in
/work/n02/n02/$USER/cylc-run/[SUITE-ID]/share/data/History_Data
Files often have the following naming convention
[SHORT SUITE-ID]a.p[abcdefghijkmsyx]YYYYMMDD
e.g. ag308a.pk19880901

Whilst this suite is running, take a look at Tutorial 2: Exploring Rose.

Tutorial 2


Written by Luke Abraham 2016