Skip to content
markrosslonergan edited this page Sep 7, 2018 · 4 revisions

Installing SBNFit on the GPVMs

First things first, clone the git repository somewhere you'd like and hop inside.

git clone https://github.com/NevisUB/whipping_star.git   
cd  whipping_star

SBNFit requires some special libraries to work, so from within the base repository source our setup script, setup.sh, to get everything properly loaded up (for gpvm's that is)!

. setup.sh

Then cd into the build directory, initialize your cmake and build away! It shouldn't take long.

cd build
cmake ..
make

The setup.sh script is small and simple.

source /grid/fermiapp/products/uboone/setup_uboone.sh; 
setup git v2_15_1; 
setup gitflow v1_11_0; 
setup mrb v1_16_02;
setup root v6_08_06g -q e14:nu:prof; 
setup cmake v2_8_8;


me="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo $me

export SBNFITDIR=$me
export SBNFIT_LIBDIR=$me/build

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SBNFIT_LIBDIR

Clone this wiki locally