forked from afropapp13/BuildEventGenerators
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_achilles_nuhepmc3.sh
executable file
·33 lines (25 loc) · 1.79 KB
/
build_achilles_nuhepmc3.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
#!/bin/bash
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" && pwd )"
# MicroBooNE
source /cvmfs/uboone.opensciencegrid.org/products/setup_uboone.sh
# SBND
#source /cvmfs/sbnd.opensciencegrid.org/products/sbnd/setup_sbnd.sh
#DUNE
#source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
setup root v6_22_08b -q e20:p383b:prof
setup lhapdf v5_9_1k -q e17:debug
setup log4cpp v1_1_3a -q e17:debug
setup pdfsets v5_9_1b
setup gdb v8_1
setup git v2_15_1
setup cmake v3_14_3
setup hdf5 v1_12_0b -q e20:prof
git clone https://github.com/AchillesGen/Achilles achilles_nuhepmc3
cd achilles_nuhepmc3
git checkout feature/NuHepMC3
mkdir build
cd build
cmake .. -DENABLE_BSM=OFF -DUSE_ROOT=ON
make -j4
export LD_LIBRARY_PATH=/cvmfs/larsoft.opensciencegrid.org/products/gcc/v9_3_0/Linux64bit+3.10-2.17/lib64/:$LD_LIBRARY_PATH
cd $BASE_DIR