Skip to content

Commit 95c2b21

Browse files
committed
Move RECO_NUM_NODES_WORKFLOW_CMP definition to the beginning
1 parent ffe6861 commit 95c2b21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

DATA/production/workflow-multiplicities.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ if [[ $SYNCMODE == 1 ]]; then NTRDTRKTHREADS=1; else NTRDTRKTHREADS=; fi
3030

3131
: ${NGPURECOTHREADS:=-1} # -1 = auto-detect
3232

33+
RECO_NUM_NODES_WORKFLOW_CMP=$((($RECO_NUM_NODES_WORKFLOW > 15 ? ($RECO_NUM_NODES_WORKFLOW < 230 ? $RECO_NUM_NODES_WORKFLOW : 230) : 15) * ($NUMAGPUIDS != 0 ? 2 : 1))) # Limit the lower scaling factor, multiply by 2 if we have 2 NUMA domains
34+
3335
# ---------------------------------------------------------------------------------------------------------------------
3436
# Process multiplicities
3537

@@ -157,7 +159,6 @@ elif [[ $EPNPIPELINES != 0 ]]; then
157159
NTRDTRKTHREADS=2
158160
ITSTRK_THREADS=2
159161
ITSTPC_THREADS=2
160-
RECO_NUM_NODES_WORKFLOW_CMP=$((($RECO_NUM_NODES_WORKFLOW > 15 ? ($RECO_NUM_NODES_WORKFLOW < 230 ? $RECO_NUM_NODES_WORKFLOW : 230) : 15) * ($NUMAGPUIDS != 0 ? 2 : 1))) # Limit the lower scaling factor, multiply by 2 if we have 2 NUMA domains
161162
# Tuned multiplicities for sync pp / Pb-Pb processing
162163
if [[ $BEAMTYPE == "pp" ]]; then
163164
N_ITSRAWDEC=$(math_max $((6 * $EPNPIPELINES * $NGPUS / 4)) 1)

0 commit comments

Comments
 (0)