Versions Compared

Key

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

...

Code Block
languagebash
themeMidnight
cd $OIFS_HOME
$OIFS_TEST/openifs-test.sh -cbt

where

Info

$OIFS_TEST is defined in the platform configuration file (oifs-config.edit_me.sh) as $OIFS_HOME/scripts/build_test 

and the command line options are

Info

-c

...

  creates source directory in $OIFS_HOME, which is used to bring all the sources, e.g. ifs-source, ifs-test and any packages in the bundle (ecbuild, eccodes etc.), together in preparation for the build

-b  builds the source. This step creates the directory build in $OIFS_HOME, which is used to 

    • the OpenIFS double

...

    • and single precision master executables (ifsMASTER.DP and ifsMASTER.SP, respectively) , which are used to run 3-D OpenIFS. The executables are located in  $OIFS_HOME/build/bin.
    • the double and single precision Single Column Model (SCM) executables (MASTER_scm.DP and MASTER_scm.SP, respectively), which are used to run the SCM derived from OpenIFS. The executables are located in  $OIFS_HOME/build/bin.

-t

...

will run the ifs-test t21 tests, which comprise of

    • 21 3-D OpenIFS forecast-only tests with and without chemistry
    • 1 SCM test (based on TWP-ICE

...

Info
By default, on hpc2020, OpenIFS will be built using the Intel compiler (Intel 2021.2
    • )
. OpenIFS will also build with GNU, if this is required then the user should execute the following command

./scripts/openifs-test.sh -cbt -e gnu 

This will load the compiler environment for GNU GCC 11.2.


If everything has worked correctly then all tests should have passed and the script returns the following

...