HOWTO Run a MetUM-KPP Job

Creating the UMUI Job

Copy a UMUI job to a new experiment. You could try XKCNZ. We will call this job ABCDE.

Edit the user details to point to you.

For the intial run you will need to build the script modifications for the model. In

 Compilation and Run Options -> UM Scripts Build
Select Enable build of UM scripts.
Save this Job.

Creating the KPP part of th job on ARCHER

Log on to ARCHER and cd to your work directory
cd /work/n02/n02/USER/
create a directory for output
mkdir um
create a directory for scripts
mkdir hadgem3-kpp
Then
cd hadgem3-kpp
mkdir kpp_namelists
mkdir setup_scripts
mkdir do_scripts
Next, copy across a setup script
cd setup_scripts
cp /home/n02/n02/lrdlrh/work/hadgem3-kpp/setup_scripts/setup_hadgem3-kpp_run_vn78_nrglobal_ocnS15d_ocnT15d_archer.ksh .
cd ..
Then copy across a Namelist
cd kpp_namelists
cp /home/n02/n02/lrdlrh/work/hadgem3-kpp/3D_ocn.nml.xkcnz 3D_ocn.nml.abcde
cd ..
Create an trigger script
cd do_scripts
echo "../setup_scripts/setup_hadgem3-kpp_run_vn78_nrglobal_ocnS15d_ocnT15d_archer.ksh abcde" >ABCDE
chmod +x ABCDE
cd ..
Now we need to return and edit the namelist file
cd kpp_namelists
Then edit our namelist e.g.
emacs -nw 3D_ocn.nml.abcde
The Key lines to adjust are:
&NAME_START
 L_INITDATA=.T.,initdata_file='initcond.nc',L_RESTART=.F.,
 restart_infile='KPP.restart.01980'
 &END
 &NAME_TIMES
 dtsec=10800.,startt=0.0,finalt=180.0,ndtocn=3
 &END
finalt needs to be the same as that specified in the UMUI job under
Input/Output Control and Resources -> Re-submission pattern
     -> Specify the target run length for each job in the sequence.
For example, 3 months -> finalt=90.0. With this done, run the trigger script
./do_scripts/ABCDE
This should copy all the necessary files into um/xbcde/dataw/

Next, return to the UMUI and SUBMIT the ABCDE job.

This should process the script edits and Submit the Job. Both the Atmosphere and KPP should run.


Page updated on