...
- Create a new directory (here called we name this directory /data/openifs-ac) which will contain additional data that is required for atmospheric composition modelling and it will also contain the new
OIFS_DATA_DIR
. Download the four additional data tarballs tgz archives that are required for OpenIFS chemistry experiments into /data/openifs-ac :
${datapath}=/nm6/oifs/No Format cd /data/openifs-ac module load ecfs ecp ec:/${datapath}/oifs-ac-43r3-chem.tgz . ecp ec:/${datapath}/oifs-ac-43r3-xtra.tgz . ecp ec:/${datapath}/oifs-ac-43r3-initcond.tgz . ecp ec:/${datapath}/ICMCL-2010.tgz .
- Unpack the following files: oifs-ac-43r3-chem.tgz and oifs-ac-43r3-xtra.tgz into /data/openifs-ac. This will result in the following directory structure inside /data/openifs-ac :
43r3/chemistry | AC specific |
43r3/xdata | AC specific |
43r3/rtables | Standard dataset for OIFS-43r3 |
43r3/climate.v015 | Standard dataset for OIFS-43r3 + AC specifics |
43r3/ifsdata | Standard dataset for OIFS-43r3 |
43r3/wam | Standard dataset for OIFS-43r3, needs to be added explicitly |
- set the new environment variable for your OpenIFS/AC installation: export OIFS_DATA_DIR=/data/openifs-ac/43r3
The following two tgz archives can be unpacked to any location (, however in this example the files will be retained in we will also extract them into /data/openifs-ac):
- Unpack oifs-ac-43r3-initcond.tgz into /data/openifs-ac which results in a directory /data/openifs-ac/INITIAL-CONDITIONS. These The files therein are initial data files for the first day of month for all 12 months of 2010.
- Unpack ICMCL-2010.tgz into /data/openifs-ac which results in a directory /data/openifs-ac/ICMCL. This directory contains monthly files with surface boundary conditions (e.g. SSTs, soil temps, albedos, LAI etc).
...
- .
- From you conventional OpenIFS installation's
OIFS_DATA_DIR
copy the directories ifsdata and rtables to /data/openifs-ac/43r3 as they are also needed here. - Further, create a directory /data/openifs-ac/43r3/wam which needs to contain wave model initial data for 2010-01-01. (presently files are copied over from cca:/lus/snx11062/scratch/ms/nl/nm6/ECE-DATA/OPENIFS/43r3)
Building the model
On the ECMWF HPC Atos it is possible to compile the model using a login node. On the ECMWF Cray XC40 it is recommended to open an interactive session on a MOM node for compilation:
...
If you have a configuration script that sets the appropriate environment for OpenIFS you should run this firstthis first before building the model executables.
In your command line you should type: type export OIFS_CHEM=enable to overwrite the default setting in oifs.fcm (or alternatively you can edit the variable in file oifs.fcm)
Further you should make a choice whether you want to build with XIOS server support, in that case set appropriate environment variables. Otherwise set export OIFS_XIOS=disable to disable XIOS.
Then compile the model using fcm (here with verbose output and with 12 parallel child processes):
No Format |
---|
cd $OIFS_HOME/make fcm make -v -j 12 -f oifs.fcm |
Only proceed further after the code has compiled and all the executables were built without errors.
Run the acceptance tests
...
Note: only tm5 chemistry seems to work, model fails with bascoetm5b
Running OpenIFS/AC in Forecast or Climate Mode
...