-
Notifications
You must be signed in to change notification settings - Fork 8
/
.userconfig
26 lines (23 loc) · 1017 Bytes
/
.userconfig
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
### batch system for NNScore application
export cluster=naf7 #lxplus7 # etp7
export sm_htt_analysis_dir=$( pwd ) ### local sm-htt repo !
### local = etp paths for the friend tree producer
export cmssw_src_local="/portal/ekpbms3/home/${USER}/CMSSW_10_2_14/src" ### local CMSSW !
export batch_out_local=${sm_htt_analysis_dir}/output/friend_trees
if [[ $cluster == "etp7" ]]; then
export batch_out=$batch_out_local
export cmssw_src=$cmssw_src_local
elif [[ $cluster == "lxplus7" ]]; then
export remote="cern"
firstletter=$(echo $USER | cut -c1)
export batch_out="/afs/cern.ch/work/${firstletter}/${USER}/batch-out"
export cmssw_src="/afs/cern.ch/user/${firstletter}/${USER}/CMSSW_10_2_14/src"
elif [[ $cluster == "naf7" ]]; then
export remote="naf"
firstletter=$(echo $USER | cut -c1)
export cmssw_src="/afs/desy.de/user/${firstletter}/${USER}/CMSSW_10_2_14/src"
export batch_out="/nfs/dust/cms/user/${USER}/NNScoreApp"
else
logerror No such cluster: $cluster
exit 1
fi