Versions Compared

Key

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

...

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

In addition to the command line options defined above (-cbt) , openifs-test.sh allows a user to add ecbuild options from command line using the -- notation, e.g., 

$OIFS_TEST/openifs-test.sh -cbt --without-single-precision.

The main available options that most users may want to use are

--arch=<add path of arch file>

  • Allows a user to over-ride $OIFS_ARCH loaded while sourcing oifs-config.edit_me.sh

--without-single-precision or --without-double-precision 

  • By default both single and double precision executables are built. These options pertmit the exclusion of  double or single precision, which speeds up the build

--build-type=DEBUG 

  • Builds the executable in debug mode with bounds checking, some trapping and no compiler optimisation

The rest of the availalbe options can be found in the $OIFS_HOME/bundle.yml


If everything has worked correctly with $OIFS_TEST/openifs-test.sh -cbtthen all tests should have passed and the script returns the following

Code Block
languagebash
themeMidnight
[INFO]: Good news - ctest has passed
        openifs is ready for experiment and SCM testing
----------------------------------------------------------------
END ifstest on OpenIFS build
Note

100% pass with $OIFS_TEST/openifs-test.sh -cbt shows that the low resolution (t21) ifs-test cases can run to completion on the chosen system. These tests do not check bit comparibility with known good output. If this is a requirement, e.g., if a user makes a code change and needs to test whether the code has led to unexpected behaviour in the code, then the following page describes how to set this up with openifs-test.

 Set up a forecast experiment

...