MODEL_PREFIX is the base path for all model installations. This should be set in the user’s environment.
> CCA_TOPOFLOW_VERSION=test
> CCA_TOPOFLOW_ROOT=$MODEL_PREFIX/topoflow/$CCA_TOPOFLOW_VERSION
> source /usr/local/modules/init/bash
> module load subversion
> module load cmake
> module load cca/mvapich2
> cd $BUILD_DIR
> svn co https://csdms.colorado.edu/svn/components/trunk topoflow-$CCA_TOPOFLOW_VERSION
> mkdir -p topoflow-$CCA_TOPOFLOW_VERSION/_build
> cd topoflow-$CCA_TOPOFLOW_VERSION/_build
> cmake .. -DMODULE_NAME=cmt-topoflow
> make topoflow
> cd csdms
> ./configure --prefix=$CCA_TOPOFLOW_ROOT
> make