forked from nuPRISM/WCSim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env_sukap_ROOT6.sh
executable file
·35 lines (29 loc) · 1.01 KB
/
env_sukap_ROOT6.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
31
32
33
34
#!/bin/bash
############################
# 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
source ${ROOT_DIR}/bin/thisroot.sh
alias root='root -l'
############################
# GEANT4
############################
pwd=$PWD
cd /usr/local/geant4.10/geant4.10.03.p02/bin/
source geant4.sh
cd /usr/local/geant4.10/geant4.10.03.p02/share/Geant4-10.3.2/geant4make/
source geant4make.sh
echo "Connect a PATH of Geant4.10"
cd "$pwd"
############################
# WCSim
############################
export BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
export WCSIMDIR=$(pwd)-build/ROOT6/$BRANCH_NAME
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$WCSIMDIR