Versions Compared

Key

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

...

Note

Please note that currently access to this repository is restricted to a limited number of users only.

...

Set up the platform configuration file

For proper functionality the OpenIFS model requires a small number of Linux environment variables to to be set. 

The most important environment variable is OIFS_HOME, which describes the location of the OpenIFS model installation. This variable is required by all scripts used by the model.

...

Code Block
languagebash
themeMidnight
export OIFS_HOME=$HOME/openifs-main-git/openifs_48R1.0/

The required environment variables are set up in a platform configuration file that needs to be adapted for your OpenIFS installation. 

  • This file can be located anywhere on your file system, however the recommended default location would be somewhere in $OIFS_HOME/bin installation.
  • We provide a template for this configuration file in $OIFS_HOME/bin/oifs48r1-config.edit-me.sh. You should edit this file and update variable OIFS_HOME with your installation's path.
  • This file sets global variables for your model installation, depending on your local system, and it will need to be "sourced" prior to running the model.

Please note that this file is loaded by using the command:

Code Block
languagebash
themeMidnight
source /path/to/file/location/oifs48r1-config.edit-me.sh

We recommend to include this command in your Linux shell startup configuration (e.g. in .bashrc)This variable could be set in your shell configuration (e.g. in .bashrc) or by using a separate OpenIFS platform configuration script which could be loaded prior to using OpenIFS. We describe the set up of the platform configuration script in a later section on this page

 Build OpenIFS

In the next step the model binary executable (and other helper programs) will be built.

...

The script builds the model binaries for the selected compiler and will run the ifs-test t21 and t42 tests.

  Set up the platform configuration file

You will need to set up a platform configuration file for your OpenIFS installation.

...