Changes between Version 1 and Version 2 of Admin Guides/InstallingNewUmVersion


Ignore:
Timestamp:
Nov 1, 2017 2:28:04 PM (5 years ago)
Author:
Martin Dix
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Admin Guides/InstallingNewUmVersion

    v1 v2  
    2020[rose-ana]
    2121kgo-database=.true.
     22[rose-suite-run]
     23hosts=accessdev
    2224}}}
    2325
     
    2628Run full set of tests with {{{rose stem --group=nci}}}. All the rose-ana kgo tasks should fail. This should create {{{cylc-run/um_trunk/log/rose-ana-comparisons.db}}}.
    2729
     30To run the update script need passwordless ssh from raijin to accessdev. Test with
     31{{{
     32raijin% cylc suite-state --host=accessdev um_trunk
     33}}}
     34This should return a list of task states.
     35
     36Copy {{{rose-stem/bin/kgo_update.py}}} from source directory to raijin and run with appropriate options. E.g.
     37{{{
     38% python kgo_update.py --new-release
     39%%%%%%%%%%%%%%%%%%%%%%%
     40* Starting KGO Update *
     41%%%%%%%%%%%%%%%%%%%%%%%
     42Suite username      : mrd599
     43Suite name          : um_trunk
     44
     45How should the new KGO directory be named?
     46 (1) Standard KGO directory (vnX.X_tYYYY)
     47 (2) Some other custom directory name
     48Use option          : 2
     49New directory       : vn10.9
     50}}}
     51
     52 
     53This will create a script, e.g.,
     54
     55{{{
     56
     57Script file written to: /home/599/mrd599/kgo_update_vn10.9.sh
     58
     59%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     60* Update will require: 68.05 GB of disk space *
     61%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     62}}}
     63
     64Script has lines like
     65{{{
     66# Creating new KGO directories:
     67mkdir -p /g/data1a/access/KGO/standard_jobs/rose/nci_createbc/frame_eg_fixed_eg_0dust0/vn10.9
     68
     69# Copying new KGO files from suite:
     70cp /short/p66/mrd599/cylc-run/um_trunk/work/1/createbc_nci_createbc_calcs_frame_eg_fixed_eg_0dust0/output.lbc /g/data1a/access/KGO/standard_jobs/rose/nci_createbc/frame_eg_fixed_eg_0dust0/vn10.9/output.lbc
     71}}}
     72
     73Finally remove KGOs from the model version 2 steps before (vn10.7 in this case) and all the intermediate tickets of the previous version.
     74
     75{{{
     76cd /g/data/access/KGO/standard_jobs/rose
     77find . -type d -name vn10.7 -exec rm -rf {} \;
     78find . -type d -name vn10.8_t* -exec rm -rf {} \;
     79}}}
     80
    2881== Create version directory in {{{~access/umdir}}}
    2982Run {{{rose stem --group=nci_install}}} and then copy the {{{share/vnX.Y}}} directory to {{{~access/umdir}}}.