You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DATA/common/setenv.sh
+10-9Lines changed: 10 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -92,14 +92,15 @@ if [[ -z "${RAWINPUTDIR:-}" ]]; then export RAWINPUTDIR=$FILEWORKDIR; fi #
92
92
if [[ -z"${EPNSYNCMODE:-}" ]];thenexport EPNSYNCMODE=0;fi# Is this workflow supposed to run on EPN for sync processing? Will enable InfoLogger / metrics / fetching QC JSONs from consul...
93
93
if [[ -z"${BEAMTYPE:-}" ]];thenexport BEAMTYPE=PbPb;fi# Beam type, must be PbPb, pp, pPb, cosmic, technical
94
94
if [[ -z"${RUNTYPE:-}" ]];thenexport RUNTYPE=Standalone;fi# Run Type, standalone for local tests, otherwise PHYSICS, COSMICS, TECHNICAL, SYNTHETIC
95
-
if [[ $RUNTYPE=="SYNTHETIC" ]];thenexport IS_SIMULATED_DATA=1;fi# For SYNTHETIC runs we always process simulated data
96
-
if [[ -z"${IS_SIMULATED_DATA:-}" ]];thenexport IS_SIMULATED_DATA=1;fi# processing simulated data
97
-
if [[ -z"${IS_TRIGGERED_DATA:-}" ]];thenexport IS_TRIGGERED_DATA=0;fi# processing triggered data (TPC triggered instead of continuous)
98
-
if [[ -z"${CTF_DIR:-}" ]];then CTF_DIR=$FILEWORKDIR;fi# Directory where to store CTFs
99
-
if [[ -z"${CALIB_DIR:-}" ]];then CALIB_DIR="/dev/null";fi# Directory where to store output from calibration workflows, /dev/null : skip their writing
95
+
if [[ -z"${IS_SIMULATED_DATA:-}"&&$RUNTYPE=="SYNTHETIC" ]];thenexport IS_SIMULATED_DATA=1;fi# For SYNTHETIC runs we always process simulated data
96
+
if [[ -z"${IS_SIMULATED_DATA:-}"&& ( $RUNTYPE == "PHYSICS"||$RUNTYPE == "COSMICS" ) ]];thenexport IS_SIMULATED_DATA=0;fi# For PHYSICS runs we always process simulated data
97
+
if [[ -z"${IS_SIMULATED_DATA:-}" ]];thenexport IS_SIMULATED_DATA=1;fi# processing simulated data
98
+
if [[ -z"${IS_TRIGGERED_DATA:-}" ]];thenexport IS_TRIGGERED_DATA=0;fi# processing triggered data (TPC triggered instead of continuous)
99
+
if [[ -z"${CTF_DIR:-}" ]];then CTF_DIR=$FILEWORKDIR;fi# Directory where to store CTFs
100
+
if [[ -z"${CALIB_DIR:-}" ]];then CALIB_DIR="/dev/null";fi# Directory where to store output from calibration workflows, /dev/null : skip their writing
100
101
if [[ -z"${EPN2EOS_METAFILES_DIR:-}" ]];then EPN2EOS_METAFILES_DIR="/dev/null";fi# Directory where to store epn2eos files metada, /dev/null : skip their writing
101
102
if [[ -z"${DCSCCDBSERVER:-}" ]];thenexport DCSCCDBSERVER="http://alio2-cr1-flp199-ib:8083";fi# server for transvering calibration data to DCS
102
-
if [[ -z"${DCSCCDBSERVER_PERS:-}" ]];thenexport DCSCCDBSERVER_PERS="http://alio2-cr1-flp199-ib:8084";fi# persistent server for transvering calibration data to DCS
103
+
if [[ -z"${DCSCCDBSERVER_PERS:-}" ]];thenexport DCSCCDBSERVER_PERS="http://alio2-cr1-flp199-ib:8084";fi# persistent server for transvering calibration data to DCS
103
104
104
105
if [[ $EPNSYNCMODE== 0 ]];then
105
106
if [[ -z"${SHMSIZE:-}" ]];thenexport SHMSIZE=$((8<<30));fi# Size of shared memory for messages
@@ -112,12 +113,12 @@ if [[ $EPNSYNCMODE == 0 ]]; then
112
113
else# Defaults when running on the EPN
113
114
if [[ "0${GEN_TOPO_CALIB_WORKFLOW:-}"!="01" ]];then
114
115
if [[ -z"${GEN_TOPO_CALIB_NCORES:-}" ]];then
115
-
if [[ -z"${SHMSIZE:-}" ]];thenexport SHMSIZE=$((32<<30));fi
116
+
if [[ -z"${SHMSIZE:-}" ]];thenexport SHMSIZE=$((32<<30));fi
116
117
else
117
-
if [[ -z"${SHMSIZE:-}" ]];thenexport SHMSIZE=$(( ($GEN_TOPO_CALIB_NCORES*2) <<30));fi
118
+
if [[ -z"${SHMSIZE:-}" ]];thenexport SHMSIZE=$(( ($GEN_TOPO_CALIB_NCORES*2) <<30));fi
118
119
fi
119
120
else
120
-
if [[ -z"${SHMSIZE:-}" ]];thenexport SHMSIZE=$((112<<30));fi
121
+
if [[ -z"${SHMSIZE:-}" ]];thenexport SHMSIZE=$((112<<30));fi
121
122
fi
122
123
if [[ -z"${NGPUS:-}" ]];thenexport NGPUS=4;fi
123
124
if [[ -z"${EXTINPUT:-}" ]];thenexport EXTINPUT=1;fi
0 commit comments