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
* Otherwise : Size of page-locked host memory for GPU processing. (Defauls 0 -> 1 GB.)
12
-
*`CREATECTFDICT`: Create CTF dictionary.
13
-
*`SAVECTF`: Save the CTF to a root file.
14
-
* 0: Read `ctf_dictionary.root` as input.
15
-
* 1: Create `ctf_dictionary.root`. Note that this was already done automatically if the raw data was simulated with `full_system_test.sh`.
16
-
*`SYNCMODE`: Run only reconstruction steps of the synchronous reconstruction.
17
-
* Note that there is no `ASYNCMODE` but instead the `CTFINPUT` option already enforces asynchronous processing.
18
-
*`NUMAGPUIDS`: NUMAID-aware GPU id selection. Needed for the full EPN configuration with 8 GPUs, 2 NUMA domains, 4 GPUs per domain.
19
-
In this configuration, 2 instances of `dpl-workflow.sh` must run in parallel.
20
-
To be used in combination with `NUMAID` to select the id per workflow.
21
-
`start_tmux.sh` will set up these variables automatically.
22
-
*`NUMAID`: SHM segment id to use for shipping data as well as set of GPUs to use (use `0` / `1` for 2 NUMA domains, 0 = GPUS `0` to `NGPUS - 1`, 1 = GPUS `NGPUS` to `2 * NGPUS - 1`)
23
-
* 0: Runs all reconstruction steps, of sync and of async reconstruction, using raw data input.
24
-
* 1: Runs only the steps of synchronous reconstruction, using raw data input.
25
-
*`EXTINPUT`: Receive input from raw FMQ channel instead of running o2-raw-file-reader.
26
-
* 0: `dpl-workflow.sh` can run as standalone benchmark, and will read the input itself.
27
-
* 1: To be used in combination with either `datadistribution.sh` or `raw-reader.sh` or with another DataDistribution instance.
28
-
*`CTFINPUT`: Read input from CTF ROOT file. This option is incompatible to EXTINPUT=1. The CTF ROOT file can be stored via SAVECTF=1.
29
-
*`NHBPERTF`: Time frame length (in HBF)
30
-
*`GLOBALDPLOPT`: Global DPL workflow options appended to o2-dpl-run.
31
-
*`EPNPIPELINES`: Set default EPN pipeline multiplicities.
32
-
Normally the workflow will start 1 dpl device per processor.
33
-
For some of the CPU parts, this is insufficient to keep step with the GPU processing rate, e.g. one ITS-TPC matcher on the CPU is slower than the TPC tracking on multiple GPUs.
34
-
This option adds some multiplicies for CPU processes using DPL's pipeline feature.
35
-
The settings were tuned for EPN processing with 4 GPUs (i.e. the default multiplicities are per NUMA domain).
36
-
The multiplicities are scaled with the `NGPUS` setting, i.e. with 1 GPU only 1/4th are applied.
37
-
You can pass an option different to 1, and than it will be applied as factor on top of the multiplicities.
38
-
It is auto-selected by `start-tmux.sh`.
39
-
*`SEVERITY`: Log verbosity (e.g. info or error, default: info)
40
-
*`INFOLOGGER_SEVERITY`: Min severity for messages sent to Infologger. (default: `$SEVERITY`)
41
-
*`SHMTHROW`: Throw exception when running out of SHM memory.
42
-
It is suggested to leave this enabled (default) on tests on the laptop to get an actual error when it runs out of memory.
43
-
This is disabled in `start_tmux.sh`, to avoid breaking the processing while there is a chance that another process might free memory and we can continue.
44
-
*`NORATELOG`: Disable FairMQ Rate Logging.
45
-
*`INRAWCHANNAME`: FairMQ channel name used by the raw proxy, must match the name used by DataDistribution.
46
-
*`WORKFLOWMODE`: run (run the workflow (default)), print (print the command to stdout), dds (create partial DDS topology)
47
-
*`FILEWORKDIR`: directory for all input / output files. E.g. grp / geometry / dictionaries etc. are read from here, and dictionaries / ctf / etc. are written to there.
48
-
Some files have more fine grained control via other environment variables (e.g. to store the CTF to somewhere else). Such variables are initialized to `$FILEWORKDIR` by default but can be overridden.
49
-
*`EPNSYNCMODE`: Specify that this is a workflow running on the EPN for synchronous processing, e.g. logging goes to InfoLogger, DPL metrics to to the AliECS monitoring, etc.
50
-
*`BEAMTYPE`: Beam type, must be PbPb, pp, pPb, cosmic, technical.
51
-
*`IS_SIMULATED_DATA` : 1 for MC data, 0 for RAW data.
1
+
For a reference to available env-variables, please check https://github.com/AliceO2Group/AliceO2/blob/dev/prodtests/full-system-test/documentation/env-variables.md
Copy file name to clipboardExpand all lines: DATA/common/setenv.sh
+14-13Lines changed: 14 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ if [[ ! -z ${WORKFLOW_DETECTORS_EXCLUDE:-} ]]; then
43
43
done
44
44
fi
45
45
46
+
if [[ -z"${WORKFLOW_DETECTORS_GPU+x}" ]];thenexport WORKFLOW_DETECTORS_GPU="TPC";fi
46
47
if [[ -z"${WORKFLOW_DETECTORS_QC+x}" ]] || [[ "0$WORKFLOW_DETECTORS_QC"=="0ALL" ]];thenexport WORKFLOW_DETECTORS_QC="$WORKFLOW_DETECTORS,$LIST_OF_GLORECO,TOF_MATCH";fi
47
48
if [[ -z"${WORKFLOW_DETECTORS_CALIB+x}" ]] || [[ "0$WORKFLOW_DETECTORS_CALIB"=="0ALL" ]];thenexport WORKFLOW_DETECTORS_CALIB=$WORKFLOW_DETECTORS;fi
48
49
if [[ -z"${WORKFLOW_DETECTORS_RECO+x}" ]] || [[ "0$WORKFLOW_DETECTORS_RECO"=="0ALL" ]];thenexport WORKFLOW_DETECTORS_RECO=$WORKFLOW_DETECTORS;fi
@@ -90,7 +91,7 @@ if [[ -z "${FILEWORKDIR:-}" ]]; then export FILEWORKDIR=`pwd`; fi #
90
91
if [[ -z"${FILEWORKDIRRUN:-}" ]];thenexport FILEWORKDIRRUN=$FILEWORKDIR;fi# directory where to find the run-related files (grp, collision context)
91
92
if [[ -z"${RAWINPUTDIR:-}" ]];thenexport RAWINPUTDIR=$FILEWORKDIR;fi# Directory where to find input files (raw files / raw tf files / ctf files)
92
93
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
-
if [[ -z"${BEAMTYPE:-}" ]];thenexport BEAMTYPE=PbPb;fi# Beam type, must be PbPb, pp, pPb, cosmic, technical
94
+
if [[ -z"${BEAMTYPE:-}" ]];thenexport BEAMTYPE=PbPb;fi# Beam type, must be PbPb, pp, pPb, pO, Op, OO, NeNe cosmic, technical
94
95
if [[ -z"${RUNTYPE:-}" ]];thenexport RUNTYPE=Standalone;fi# Run Type, standalone for local tests, otherwise PHYSICS, COSMICS, TECHNICAL, SYNTHETIC
95
96
if [[ -z"${IS_SIMULATED_DATA:-}"&&$RUNTYPE=="SYNTHETIC" ]];thenexport IS_SIMULATED_DATA=1;fi# For SYNTHETIC runs we always process simulated data
96
97
if [[ -z"${IS_SIMULATED_DATA:-}"&& ( $RUNTYPE == "PHYSICS"||$RUNTYPE == "COSMICS" ) ]];thenexport IS_SIMULATED_DATA=0;fi# For PHYSICS runs we always process simulated data
@@ -102,6 +103,12 @@ if [[ -z "${EPN2EOS_METAFILES_DIR:-}" ]]; then EPN2EOS_METAFILES_DIR="/dev/null"
102
103
if [[ -z"${DCSCCDBSERVER:-}" ]];thenexport DCSCCDBSERVER="http://alio2-cr1-flp199-ib:8083";fi# server for transvering calibration data to DCS
103
104
if [[ -z"${DCSCCDBSERVER_PERS:-}" ]];thenexport DCSCCDBSERVER_PERS="http://alio2-cr1-flp199-ib:8084";fi# persistent server for transvering calibration data to DCS
if [[ -z"${SHMSIZE:-}" ]];thenexport SHMSIZE=$((8<<30));fi# Size of shared memory for messages
107
114
if [[ -z"${NGPUS:-}" ]];thenexport NGPUS=1;fi# Number of GPUs to use, data distributed round-robin
@@ -143,7 +150,7 @@ if [[ `uname` == Darwin ]]; then export UDS_PREFIX=; else export UDS_PREFIX="@";
143
150
144
151
# Env variables required for workflow setup
145
152
if [[ $SYNCMODE== 1 ]];then
146
-
if [[ -z"${WORKFLOW_DETECTORS_MATCHING+x}" ]];thenexport WORKFLOW_DETECTORS_MATCHING="ITSTPC,ITSTPCTRD,ITSTPCTOF,ITSTPCTRDTOF,PRIMVTX";fi# Select matchings that are enabled in sync mode
153
+
if [[ -z"${WORKFLOW_DETECTORS_MATCHING+x}" ]];thenexport WORKFLOW_DETECTORS_MATCHING="ITSTPC,ITSTPCTRD,ITSTPCTOF,ITSTPCTRDTOF,PRIMVTX,SECVTX";fi# Select matchings that are enabled in sync mode
147
154
else
148
155
if [[ -z"${WORKFLOW_DETECTORS_MATCHING+x}" ]];thenexport WORKFLOW_DETECTORS_MATCHING="ALL";fi# All matching / vertexing enabled in async mode
if [[ -z"${TPC_CORR_SCALING:-}" ]];then# TPC corr.map lumi scaling options, any combination of --lumi-type <0,1,2> --corrmap-lumi-mode <0,1> and TPCCorrMap... configurable param
159
166
TPC_CORR_SCALING=
160
-
if [[ $BEAMTYPE=="pp" ]] && has_detector CTP;then TPC_CORR_SCALING+="--lumi-type 1";fi
161
-
if [[ $BEAMTYPE=="PbPb" ]] && has_detector CTP;then TPC_CORR_SCALING+="--lumi-type 1 TPCCorrMap.lumiInstFactor=2.414";fi
167
+
if [[ $BEAMTYPE=="pp"||$LIGHTNUCLEI=="1"]] && has_detector CTP;then TPC_CORR_SCALING+="--lumi-type 1 --corrmap-lumi-mode 1";fi
0 commit comments