forked from cmstas/NtupleMaker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
21 lines (19 loc) · 705 Bytes
/
install.sh
File metadata and controls
21 lines (19 loc) · 705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
#USER INPUTS
CMS3Tag=master
CMSSW_release=CMSSW_7_4_14
CMSSW_release_name= #Leave this blank if you don't know what it is. It's just a marker in case you have multiple identical directories. Don't forget the underscore!
export SCRAM_ARCH=slc6_amd64_gcc491
#--Here there be dragons----
export CMS_PATH=/cvmfs/cms.cern.ch
source /cvmfs/cms.cern.ch/cmsset_default.sh
scramv1 p -n ${CMSSW_release}${CMSSW_release_name} CMSSW $CMSSW_release
cd ${CMSSW_release}${CMSSW_release_name}/src
eval `scramv1 runtime -sh`
git clone git@github.com:cmstas/NtupleMaker.git CMS3/NtupleMaker
cd CMS3/NtupleMaker
git checkout $CMS3Tag
source setup/patchesToSource.sh
cd $CMSSW_BASE/src
scram b -j 20
cd ..