5 # the default mode is NuMI
8 # set package to be used
9 . "/cvmfs/nova.opensciencegrid.org/externals/setup"
11 setup -q e6:nu:prof -f Linux64bit+2.6-2.5 root v5_34_20b
13 setup -q debug:e5 -f Linux64bit+2.6-2.5 boost v1_55_0
14 export BOOSTROOT=${BOOST_DIR}/source/boost_1_55_0
16 setup -q debug:e7 -f Linux64bit+2.6-2.5 dk2nu v01_01_03c
18 export DK2NU_INC=${DK2NU}/include/dk2nu/tree
19 export DK2NU_LIB=${DK2NU}/lib
22 source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups.sh
25 export IFDH_GRIDFTP_EXTRA="-st 10" #set ifdh cp stall timeout to 10 sec
26 export IFDH_CP_MAXRETRIES=2
28 # gets the full path to the location of setup.sh
29 export PPFX_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
30 echo "setting PPFX_DIR=${PPFX_DIR}"
32 export LD_LIBRARY_PATH=$PPFX_DIR/lib:$LD_LIBRARY_PATH
33 echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
37 if echo "$HOST" | grep 'dune';then
38 echo "This is not a dune machine. Try setup_for_dune.sh <MODE>"
40 echo "executing for the $HOST"