-
Notifications
You must be signed in to change notification settings - Fork 2
vvtools
Richard R. Drake edited this page Jun 8, 2022
·
1 revision
- Clone the scidev repo:
% cd $HOME
% git clone [email protected]:rrdrake/scidev.git
- Create a build directory (your tests will point to this location to run the tools). For example:
mkdir vvtools
cd vvtools
- 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
andPYTHON_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
- Run the build script:
% $SRC_DIR/make_tools.sh
This will put all the tools and their dependencies into the build directory.
- 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.