-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinstallHEPTOOLS.sh
executable file
·51 lines (38 loc) · 1.34 KB
/
installHEPTOOLS.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
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
set_environment () {
echo " Set environment variables: SO FAR NOTHING DONE HERE"
}
run () {
echo ""
echo "-----------------------------------------------"
echo "-----------------------------------------------"
echo "----- This script installs the HEP tools: -----"
echo "--- BOOST, LHAPDF, HEPMC, PYTHIA --------------"
echo "-----------------------------------------------"
echo "-----------------------------------------------"
local TOOLS="/nfs/farm/g/theory/qcdsim/sp/HEP2"
mkdir -p $TOOLS
echo ""
echo "-- Begin installing BOOST --------------------"
chmod +x installBOOST.sh
./installBOOST.sh $TOOLS/BOOST 1.59.0
echo ""
echo "-- Begin installing LHAPDF --------------------"
chmod +x installLHAPDF6.sh
./installLHAPDF6.sh $TOOLS/BOOST $TOOLS/LHAPDF6 6.1.5
echo ""
echo "-- Begin installing HEPMC ---------------------"
chmod +x installHEPMC2.sh
./installHEPMC2.sh $TOOLS/HEPMC2 2.06.09
echo ""
echo "-- Begin installing PYTHIA --------------------"
chmod +x installPYTHIA8.sh
GZIP="/nfs/farm/g/theory/qcdsim/sp/gensoft"
./installPYTHIA8.sh $TOOLS/HEPMC2 $GZIP $TOOLS/BOOST $TOOLS/LHAPDF6 $TOOLS/PYTHIA8 8210
echo ""
echo "-- Finished installing HEP tools ---------------"
echo "-----------------------------------------------"
echo "-----------------------------------------------"
}
set_environment
run "$@"