Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleExercise

Change to the experiment directory labelled by the date chosen:

Code Block
languagebash
titlee.g.
cd scratch/ENFO/2013102400/       #  your date may be different

There are two experiment directories: cf000 and pf001. cf000 is for the control forecast which is not used here. pf001 is the single perturbation forecast.

Code Block
languagebash
titleexamine files in the experiment directory
cd pf001
ls

Understand what the different files in the experiment directory are for.

ICM* : these are the initial starting files. ICMGG* are the initial gridpoint files, ICMSH* are the initial spectral fields.

Use the 'grib_ls' command to examine the initial files:

Code Block
grib_ls ICMGGgc1dINIT
grib_ls ICMSHgc1dINIT

The file: namelistfc is the model 'NAMELIST'. It contains a list of variable settings or 'switches' that control what the model does. These variables are grouped into separate fortran namelists.

Creating the OpenIFS

...

namelist

Set the ensemble member

In IFS, each ensemble member uses the stochastic physics schemes to generate uncertainty. A random number 'seed' is used by the stochastic scheme to generate a different forecast. This random number seed is changed by altering the ensemble member value in the model's namelist. Each ensemble member must have a unique number and therefore random number seed, in order to produce a different forecast.

Info

Make a copy of the namelist file and edit it to set the ensemble member value to the one you are given.

Make sure you are in the 'pf001' directory.

Code Block
cp namelistfc mynamelist

vi mynamelist        # or use your favourite text editor; emacs etc.

and make the following changes to the namelist variables:

Panel
bgColorwhite
titleBGColorwhite
titleSet these namelist variables:
CTYPE="pf",   ! change the type of forecast to perturbed

NENSFNB=2,    ! change the ensemble member number to your assigned value. 
LSTOPH_SPBS=true, ! this enables the stochastic backscatter scheme in the model dynamics LSPSDT=true, ! this enables the stochastic scheme for the physics tendencies

The variable NENSFNB is important as this determines the random number seed by altering the ensemble member value.

Code Block
languagebash
titleUse the 'diff' command to check your changes
diff mynamelist namelistfc

Create and submit Cray batch job

The next steps are to create and submit a batch job to run on the ECMWF Cray XC30 system.

To create the batch job, use the oifs_run command.

Panel
borderColorwhite
bgColorwhite
titleBGColorwhite

oifs_run -e exptid [-m path-to-master.exe] [-r resolution] [-l namelist] [-s timestep] [-n nproc] [-f fcast len] [-x run number] [-q]

Info
titleExercise

 Use the oifs_run command to create the job

...

. You need to give a value to the '-e' and '-l' options. The '-l' option is the name of the namelist file you edited above.

The command will create a create a file 'job1'.

Submit this job:

Code Block
qsub job1

Check the job status:

Code Block
qstatu

 

 

Submit job: qsub jobN

Checking job status: qstatu