Skip to content

Commit 51aace1

Browse files
shahor02chiarazampolli
authored andcommitted
Add env.vars to set nthreads and lanes of ITS decoder in noise processing
Defaults are set to 4 and 6 respectively, can be modified by NITSDECTHREADS=2 NITSDECTPIPELINES=4 ...
1 parent 262c4a0 commit 51aace1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

DATA/production/calib/its-noise-processing.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@ if [[ -z $USECLUSTERS ]]; then
2424
else
2525
PROXY_OUTSPEC="downstreamA:ITS/COMPCLUSTERS/0;downstreamB:ITS/PATTERNS/0;downstreamC:ITS/CLUSTERSROF/0"
2626
fi
27+
28+
[[ -z $NITSDECTHREADS ]] && NITSDECTHREADS=4
29+
[[ -z $NITSDECTPIPELINES ]] && NITSDECTPIPELINES=6
2730

2831
WORKFLOW="o2-dpl-raw-proxy ${ARGS_ALL} --dataspec \"$PROXY_INSPEC\" --channel-config \"name=readout-proxy,type=pull,method=connect,address=ipc://@$INRAWCHANNAME,transport=shmem,rateLogging=0\" | "
29-
WORKFLOW+="o2-itsmft-stf-decoder-workflow ${ARGS_ALL} ${OUTTYPE} --configKeyValues \"$ARGS_ALL_CONFIG\" --nthreads 4 | "
32+
WORKFLOW+="o2-itsmft-stf-decoder-workflow ${ARGS_ALL} ${OUTTYPE} --configKeyValues \"$ARGS_ALL_CONFIG\" --nthreads ${NITSDECTHREADS} --pipeline its-stf-decoder:${NITSDECTPIPELINES} | "
3033
WORKFLOW+="o2-dpl-output-proxy ${ARGS_ALL} --dataspec \"$PROXY_OUTSPEC\" --proxy-channel-name its-noise-input-proxy --channel-config \"name=its-noise-input-proxy,method=connect,type=push,transport=zeromq,rateLogging=0\" | "
3134
WORKFLOW+="o2-dpl-run ${ARGS_ALL} ${GLOBALDPLOPT}"
3235

DATA/production/standalone-calibration.desc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
ITS-noise-calibration: "O2PDPSuite" reco,20,20,"production/calib/its-noise-processing.sh" calib,20,"NTHREADS=32 production/calib/its-noise-aggregator.sh"
1+
ITS-noise-calibration: "O2PDPSuite" reco,20,20,"NITSDECTHREADS=4 NITSDECTPIPELINES=6 production/calib/its-noise-processing.sh" calib,20,"NTHREADS=32 production/calib/its-noise-aggregator.sh"
22

3-
ITS-noise-calibration-clusters: "O2PDPSuite" reco,20,20,"USECLUSTERS=1 production/calib/its-noise-processing.sh" calib,20,"USECLUSTERS=1 NTHREADS=32 production/calib/its-noise-aggregator.sh"
3+
ITS-noise-calibration-clusters: "O2PDPSuite" reco,20,20,"NITSDECTHREADS=4 NITSDECTPIPELINES=6 USECLUSTERS=1 production/calib/its-noise-processing.sh" calib,20,"USECLUSTERS=1 NTHREADS=32 production/calib/its-noise-aggregator.sh"
44

55
ITS-thr-calibration: "O2PDPSuite" reco,20,20,"production/calib/its-threshold-processing.sh" calib,20,"production/calib/its-threshold-aggregator.sh"
66

0 commit comments

Comments
 (0)