-
Notifications
You must be signed in to change notification settings - Fork 5
/
RunAtStart.sh
31 lines (24 loc) · 951 Bytes
/
RunAtStart.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
export LEAFDIR=$(pwd)
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LEAFDIR/lib
export WCSIMDIR=${LEAFDIR}/libWCSIM
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$WCSIMDIR
############################
# ROOT/CERN
############################
# Note: official ROOT 5.34 installation on sukap is not compatible with cmake
# Temporary use Guillaume Pronost's version. Should change in the future.
#
export ROOT_DIR=/home/pronost/software/root-5.34.38-build
# Note: There is no official ROOT 6 installation
# Temporary use Guillaume Pronost's version. Should change in the future.
#export ROOT_DIR=/home/pronost/software/root-6.22.00-build
echo "Load ROOT from: ${ROOT_DIR}"
source ${ROOT_DIR}/bin/thisroot.sh
alias root='root -l'
############################
# BONSAI
############################
#Temporary, any official location?
export BONSAIDIR=/home/pronost/HK/analysis/hk-BONSAI-ROOT5
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$BONSAIDIR