...
The OpenIFS model requires a small number of Linux Linux environment variables to be set for both installation and runs. These are referred to as global environment variables.
...
OIFS_CYCLE
- describes the model cycle (e.g. 48r1) for which this configuration file can be used.for which this configuration file can be used - this should not be editedOIFS_EXPT
- path to the location of the openifs experiments. Setting this is a convenience for the OpenIFS 3D model but is a requirement for the SCM experimentsOIFS_ARCH
- if available on for a system, this variable describes the location of the arch directory, which provides specific information about the system and compiler, e.g.$OIFS_HOME/arch/ecmwf/hpc2020/gnu
- Such a directory is not always required, i.e., if a system has all the appropriate libraries installed. If this is the case
OIFS_ARCH
can be set to an empty string, i.e.,OIFS_ARCH=""
- Such a directory is not always required, i.e., if a system has all the appropriate libraries installed. If this is the case
OIFS_DATA_DIR
- describes the location of climatological input files that are required to run OpenIFS. These have been installed on the ECMWF hpc2020 in a central and accessible location under/perm/openifs/oifs_data
and the information is organised by model cycle.
Note |
---|
If you do not have access to the ECMWF hpc2020 file system, or if you wish to install the climatological input files in a local directory of your choice, then you can download the required data from this site: https://sites.ecmwf.int/openifs/openifs-data/ifsdata/48r1/ As a minimum you will require the packages Download and extract these files to your chosen location, the filepath of which should then be set to variable |
OIFS_EXEC
- describes the location and file name for the OpenIFS 3D executable, e.g.$OIFS_HOME/build/bin/ifsMASTER.DP
, which is a double-precision executable for the 3D model
All the global environment variables described above, as well as some other variables that are dependent on the The required global environment variables, described above, are defined in the the Platform configuration file, which needs to be modified for your local OpenIFS installation.
- This file can be located anywhere on your file system, however the recommended default location
is $OIFS_HOME
. - We provide a template for this configuration file in
$OIFS_HOME/oifs-config.edit_me.sh
, which is a commented template of this configuration file. - You should edit this file and update the path set in variable
OIFS_HOME
with your installation's path.
...
The above command should also be include in any batch job scripts that are intended to run OpenIFS (described in Section 3))
Note |
---|
|
Build OpenIFS
In the next step the model binary executable (and other helper programs) will be built.
...
Info |
---|
|
If everything has worked correctly then all tests should have passed and the script returns the following
...