| 30 | To run the update script need passwordless ssh from raijin to accessdev. Test with |
| 31 | {{{ |
| 32 | raijin% cylc suite-state --host=accessdev um_trunk |
| 33 | }}} |
| 34 | This should return a list of task states. |
| 35 | |
| 36 | Copy {{{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 | %%%%%%%%%%%%%%%%%%%%%%% |
| 42 | Suite username : mrd599 |
| 43 | Suite name : um_trunk |
| 44 | |
| 45 | How should the new KGO directory be named? |
| 46 | (1) Standard KGO directory (vnX.X_tYYYY) |
| 47 | (2) Some other custom directory name |
| 48 | Use option : 2 |
| 49 | New directory : vn10.9 |
| 50 | }}} |
| 51 | |
| 52 | |
| 53 | This will create a script, e.g., |
| 54 | |
| 55 | {{{ |
| 56 | |
| 57 | Script 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 | |
| 64 | Script has lines like |
| 65 | {{{ |
| 66 | # Creating new KGO directories: |
| 67 | mkdir -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: |
| 70 | cp /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 | |
| 73 | Finally 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 | {{{ |
| 76 | cd /g/data/access/KGO/standard_jobs/rose |
| 77 | find . -type d -name vn10.7 -exec rm -rf {} \; |
| 78 | find . -type d -name vn10.8_t* -exec rm -rf {} \; |
| 79 | }}} |
| 80 | |