forked from psiddire/UWHiggs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·41 lines (31 loc) · 980 Bytes
/
install.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
35
36
37
38
39
40
41
#!/bin/bash
# Setup the UWHiggs dependencies in this working area
#
# Usage: ./install.sh
#
# Author: Evan K. Friis, UW Madison
${CMSSW_BASE:?"Please run cmsenv before running install.sh"}
set -o errexit
set -o nounset
echo "Symlinking FinalStateAnalysis into working area"
pushd $CMSSW_BASE/src
if ! [ -L FinalStateAnalysis ]; then
if ! [ -d FinalStateAnalysis ]; then
ln -s UWHiggs/dependencies/FinalStateAnalysis FinalStateAnalysis
fi
fi
echo "Checking out FSA dependencies"
pushd FinalStateAnalysis/recipe
# Do no do this - make sure you first run the FSA installation
#source environment.sh
#LUMI=1 LIMITS=1 PATPROD=${PATPROD:-0} ./recipe.sh
# The Nuke idea is great, but it needs fixing now...
#echo "Deleting unneeded PAT dependencies"
#FORCENUKE=1 ./nuke_pat_tools.sh
echo "Manually creating FinalStateAnalysis python symlinks"
./symlink_python.sh
echo "Installing python tools"
./install_python.sh
popd
popd
echo "Now run scram b -j 8 to compile"