Create your local installation of OpenIFS 48R1.0 by cloning or branching from the git repository with the OpenIFS package. The location will be your new OIFS_HOME place.
You will need approximately 4 GB of disk space for the model sources, the bundle packages, and the built model binaries.
git clone ssh://git@git.ecmwf.int/~daha/openifs-main-git.git |
Please note that currently access to this repository is restricted to a limited number of users.
The $OIFS_HOME/bin/openifs-test.sh script can be used to build the model and run initial tests.
openifs-test.sh -h
-e
defines the compiler environment (intel or gnu). The default is intel. Run the build process and the tests using the following command:
cd $OIFS_HOME ./bin/openifs-test.sh -cbt |
Note: It is normal to see warnings during the build process.
This will build the model binaries for the selected compiler and will run the ifs-test t21 and t42 tests.
You will need to set up a configuration file for your OpenIFS installation.
$OIFS_HOME/bin/oifs48r1-config.sh
. You should edit this file and update variable OIFS_HOME with your installation's path.We recommend that you include the following command in your shell configuration file (e.g. .bashrc):
source /path/to/configfile/oifs48r1-config.sh |
This command should also be include in any batch job scripts that are intended to run OpenIFS.
Extract the example forecast experiment i4xc.tgz
into a location suitable for model experiments.
Note: The experiment directory would ideally be in a different location from the earlier model installation path $OIFS_HOME. In general, you will need more disk space for experiments, depending on the model grid resolution, the duration of the forecast experiment and the output fequency of model results. |
Example:
On the ECMWF hpc2020 our model installation $OIFS_HOME will be in $HOME/openifs
and for the experiment we extract the i4xc package in $PERM. The experiment directory shall therefore be $PERM/i4xc/2016092500
.
Ensure the namelist files for the atmospheric model (fort.4) and for the wave model (wam_namelist) are found in the experiment directory.
You will need to copy two further scripts from the OpenIFS package into your experiment directory:
Copy both files from $OIFS_HOME/bin into your experiment directory.
cp i4xc.tgz $PERM cd $PERM tar -xvzf i4xc.tgz cd ./i4xc/2016092500 cp $OIFS_HOME/bin/oifs-run . cp $OIFS_HOME/bin/config.h . |
You should edit the atmospheric model namelist file fort.4. It contains Fortran namelists which control model settings and switches. An important switch to edit is in namelist NAMRIP the variable CSTOP. Set this to the desired length of the forecast experiment. Experiment i4xc can be run for up to 144 hours (6 days) by setting CSTOP='h144'
.
You should edit the config.h file which determines settings for this experiment. The oifs-run script will read the settings from this file. Alternatively, the settings can be passed to the oifs-run script via command line parameters, which takes precedence over the config.h settings. If no config.h file is found in the experiment directory, and if also no command line parameters are provided when calling oifs-run, then oifs-run will select its default values which most likely are not appropriate.