Skip to content

vvtools

Richard R. Drake edited this page Jun 8, 2022 · 1 revision

Building the V&V tools

  1. Clone the scidev repo:
% cd $HOME
% git clone [email protected]:rrdrake/scidev.git
  1. Create a build directory (your tests will point to this location to run the tools). For example:
mkdir vvtools
cd vvtools
  1. Set the environment variables required by the build script:
  • Point to the scidev/tools source, e.g.:

    % export SRC_DIR=$HOME/scidev/tools
    
  • The script requires two path variables: NETCDF_ROOT and PYTHON_INCLUDE.
    Both are available through SEMS - this is a suggested module set and variable definition:

    % module load sems-env
    % module load sems-gcc/6.1.0
    % module load sems-netcdf/4.4.1/exo
    % module load sems-python/2.7.9
    % export NETCDF_ROOT=$(dirname $SEMS_NETCDF_INCLUDE_PATH)
    % export PYTHON_INCLUDE=$SEMS_PYTHON_INCLUDE_PATH/python2.7
    
  1. Run the build script:
% $SRC_DIR/make_tools.sh

This will put all the tools and their dependencies into the build directory.

  1. Update your PATH variable(s) to conveniently point to the tools:
% export PATH=$HOME/vvtools:$PATH

Note that the path to vvtest will need to be added separately.