Skip to content

Commit c962719

Browse files
authored
Merge 5e14f51 into sapling-pr-archive-ehellbar
2 parents 74da39b + 5e14f51 commit c962719

302 files changed

Lines changed: 9243 additions & 957 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

DATA/common/gen_topo_helper_functions.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ has_secvtx_source()
5959
[[ $SVERTEXING_SOURCES =~ (^|,)"ALL"(,|$) ]] || [[ $SVERTEXING_SOURCES =~ (^|,)"$1"(,|$) ]]
6060
}
6161

62+
has_detector_in_secvtx_sources()
63+
{
64+
[[ $SVERTEXING_SOURCES =~ (^|,)"ALL"(,|$) ]] || [[ $SVERTEXING_SOURCES =~ (^|,|-)"$1"(-|,|$) ]]
65+
}
66+
6267
has_detector_qc()
6368
{
6469
has_detector $1 && [[ $WORKFLOW_DETECTORS_QC =~ (^|,)"$1"(,|$) ]]

DATA/common/setenv.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ TRD_SOURCES=
195195
TOF_SOURCES=
196196
HMP_SOURCES=
197197
TRACK_SOURCES=
198+
: ${TRACK_SOURCES_GLO:=}
198199
has_detectors_reco ITS TPC && has_detector_matching ITSTPC && add_comma_separated TRACK_SOURCES "ITS-TPC"
199200
has_detectors_reco TPC TRD && has_detector_matching TPCTRD && { add_comma_separated TRD_SOURCES TPC; add_comma_separated TRACK_SOURCES "TPC-TRD"; }
200201
has_detectors_reco ITS TPC TRD && has_detector_matching ITSTPC && has_detector_matching ITSTPCTRD && { add_comma_separated TRD_SOURCES ITS-TPC; add_comma_separated TRACK_SOURCES "ITS-TPC-TRD"; }
@@ -211,6 +212,8 @@ has_detectors_reco HMP TPC TOF && has_detector_matching TPCTOF && add_comma_sepa
211212
has_detectors_reco HMP TPC TRD TOF && has_detector_matching TPCTRD && has_detector_matching TPCTRDTOF && add_comma_separated HMP_SOURCES "TPC-TRD-TOF"
212213
has_detectors_reco MFT MCH && has_detector_matching MFTMCH && add_comma_separated TRACK_SOURCES "MFT-MCH"
213214
has_detectors_reco MCH MID && has_detector_matching MCHMID && add_comma_separated TRACK_SOURCES "MCH-MID"
215+
[[ "0$TRACK_SOURCES_GLO" == "0" ]] && TRACK_SOURCES_GLO=$TRACK_SOURCES
216+
214217
for det in `echo $LIST_OF_DETECTORS | sed "s/,/ /g"`; do
215218
if [[ $LIST_OF_ASYNC_RECO_STEPS =~ (^| )${det}( |$) ]]; then
216219
has_detector ${det} && has_processing_step ${det}_RECO && add_comma_separated TRACK_SOURCES "$det"
@@ -241,12 +244,6 @@ fi
241244
[[ ! -z $VERTEXING_SOURCES ]] && PVERTEX_CONFIG+=" --vertexing-sources $VERTEXING_SOURCES"
242245
[[ ! -z $VERTEX_TRACK_MATCHING_SOURCES ]] && PVERTEX_CONFIG+=" --vertex-track-matching-sources $VERTEX_TRACK_MATCHING_SOURCES"
243246

244-
if [[ -z ${SVERTEXING_SOURCES:-} ]]; then
245-
SVERTEXING_SOURCES="$VERTEXING_SOURCES"
246-
elif [[ "${SVERTEXING_SOURCES^^}" == "NONE" ]]; then
247-
SVERTEXING_SOURCES=
248-
fi
249-
250247
# this option requires well calibrated timing beween different detectors, at the moment suppress it
251248
#has_detector_reco FT0 && PVERTEX_CONFIG+=" --validate-with-ft0"
252249

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fi
3030
if [ $RUNTYPE_ITS == "tuningbb" ]; then
3131
ADDITIONAL_OPTIONS_CAL="--min-vcasn 30 --max-vcasn 130"
3232
fi
33-
if [[ $RUNTYPE_ITS == "tot1row" || $RUNTYPE_ITS == "vresetd" ]]; then
33+
if [[ $RUNTYPE_ITS == "tot1row" || $RUNTYPE_ITS == "vresetd-2d" ]]; then
3434
ADDITIONAL_OPTIONS_CAL="--ninj 10"
3535
fi
3636
if [ $RUNTYPE_ITS == "totfullfast" ]; then

DATA/production/configurations/asyncReco/async_pass.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ if [[ $ASYNC_PASS_NO_OPTIMIZED_DEFAULTS != 1 ]]; then
417417
if [[ $ALIEN_JDL_USEGPUS == 1 ]] ; then
418418
echo "Enabling GPUS"
419419
if [[ -z $ALIEN_JDL_SITEARCH ]]; then echo "ERROR: Must set ALIEN_JDL_SITEARCH to define GPU architecture!"; exit 1; fi
420-
if [[ $ALIEN_JDL_SITEARCH == "NERSC" ]]; then # Disable mlock / ulimit / gpu memory registration - has performance impact, but doesn't work at NERSC for now
420+
if [[ $ALIEN_JDL_SITEARCH == "NERSC" || $ALIEN_JDL_SITEARCH == "GENERIC_NVIDIA" || $ALIEN_JDL_SITEARCH == "GENERIC_AMD" ]]; then # Disable mlock / ulimit / gpu memory registration - has performance impact, but doesn't work at NERSC for now
421421
export SETENV_NO_ULIMIT=1
422422
export CONFIG_EXTRA_PROCESS_o2_gpu_reco_workflow+="GPU_proc.noGPUMemoryRegistration=1;"
423423
fi
@@ -428,7 +428,11 @@ if [[ $ASYNC_PASS_NO_OPTIMIZED_DEFAULTS != 1 ]]; then
428428
elif [[ $ALIEN_JDL_SITEARCH == "EPN_MI50" ]]; then
429429
ALIEN_JDL_SITEARCH_TMP=EPN
430430
fi
431-
if [[ "ALIEN_JDL_USEFULLNUMADOMAIN" == 0 ]]; then
431+
if [[ $ALIEN_JDL_SITEARCH == "GENERIC_NVIDIA" ]]; then
432+
export OPTIMIZED_PARALLEL_ASYNC=8cpu_NVIDIA
433+
elif [[ $ALIEN_JDL_SITEARCH == "GENERIC_AMD" ]]; then
434+
export OPTIMIZED_PARALLEL_ASYNC=8cpu_AMD
435+
elif [[ "ALIEN_JDL_USEFULLNUMADOMAIN" == 0 ]]; then
432436
if [[ $keep -eq 0 ]]; then
433437
if [[ $ALIEN_JDL_UNOPTIMIZEDGPUSETTINGS != 1 ]]; then
434438
export OPTIMIZED_PARALLEL_ASYNC=pp_1gpu_${ALIEN_JDL_SITEARCH_TMP} # (16 cores, 1 gpu per job, pp)

DATA/production/configurations/asyncReco/setenv_extra.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,10 @@ elif [[ $ALIGNLEVEL == 1 ]]; then
394394
CONFIG_EXTRA_PROCESS_o2_gpu_reco_workflow+="GPU_proc.tpcUseOldCPUDecoding=1;GPU_proc.tpcApplyClusterFilterOnCPU=$ALIEN_JDL_TPCCLUSTERFILTER;"
395395
fi
396396

397+
if [[ -n "$ALIEN_JDL_TPCMEMORYSCALING" ]]; then
398+
CONFIG_EXTRA_PROCESS_o2_gpu_reco_workflow+="GPU_proc.memoryScalingFactor=$ALIEN_JDL_TPCMEMORYSCALING;"
399+
fi
400+
397401
if [[ -n "$ALIEN_JDL_TPCCHICUTOPT" ]]; then # 0 or 1 to disable or enable (default) the chi2 cut both on one-side and smoothed Kalman chi2
398402
CONFIG_EXTRA_PROCESS_o2_gpu_reco_workflow+="GPU_rec_tpc.mergerInterpolateRejectAlsoOnCurrentPosition=$ALIEN_JDL_TPCCHICUTOPT;"
399403
fi
@@ -544,7 +548,7 @@ export ITSEXTRAERR="ITSCATrackerParam.sysErrY2[0]=$ERRIB;ITSCATrackerParam.sysEr
544548
# ad-hoc options for ITS reco workflow
545549
EXTRA_ITSRECO_CONFIG=
546550
if [[ $BEAMTYPE == "PbPb" ]]; then
547-
EXTRA_ITSRECO_CONFIG="ITSCATrackerParam.deltaRof=0;ITSVertexerParam.clusterContributorsCut=16;ITSVertexerParam.lowMultBeamDistCut=0;ITSCATrackerParam.nROFsPerIterations=12;ITSCATrackerParam.perPrimaryVertexProcessing=false;ITSCATrackerParam.fataliseUponFailure=false;ITSCATrackerParam.dropTFUponFailure=true"
551+
EXTRA_ITSRECO_CONFIG="ITSCATrackerParam.deltaRof=0;ITSVertexerParam.clusterContributorsCut=16;ITSVertexerParam.lowMultBeamDistCut=0;ITSCATrackerParam.nROFsPerIterations=12;ITSCATrackerParam.perPrimaryVertexProcessing=false;ITSCATrackerParam.fataliseUponFailure=false;ITSCATrackerParam.dropTFUponFailure=true;ITSCATrackerParam.maxMemory=21474836480;"
548552
if [[ -z "$ALIEN_JDL_DISABLE_UPC" || $ALIEN_JDL_DISABLE_UPC != 1 ]]; then
549553
EXTRA_ITSRECO_CONFIG+=";ITSVertexerParam.nIterations=2;ITSCATrackerParam.doUPCIteration=true;"
550554
fi

DATA/production/qc-async/zdcPbPb.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
"CENTR_ZNA": "200;-2;2;200;-2;2",
5858
"CENTR_ZNC": "200;-2;2;200;-2;2",
5959
"CENTR_ZPA": "2240;0;22.4",
60-
"CENTR_ZPC": "2240;-22.4;0"
60+
"CENTR_ZPC": "2240;-22.4;0",
61+
"CENTRAL_EVENT_CONFIG": "2.5;1"
6162
}
6263
}
6364
}

DATA/production/qc-workflow.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,9 @@ elif [[ -z ${QC_JSON_FROM_OUTSIDE:-} ]]; then
310310
ITSTPCMatchQuery+=";matchTPCTRDTOF/TOF/MTC_TPCTRD/0"
311311
TRACKSOURCESK0+=",TPC-TRD-TOF"
312312
fi
313-
if has_secvtx_source TOF; then
313+
if has_detector_in_secvtx_sources TOF; then
314314
ITSTPCMatchQuery+=";tofcluster:TOF/CLUSTERS/0"
315-
TRACKSOURCESK0+=",TOF"
315+
has_secvtx_source TOF && TRACKSOURCESK0+=",TOF"
316316
fi
317317
if has_secvtx_source TRD; then
318318
TRACKSOURCESK0+=",TRD"

DATA/production/standalone-calibration.desc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ ITS-tot-1row: "O2PDPSuite" reco,40,40,"RUNTYPE_ITS=tot1row production/calib/its-
2626

2727
ITS-tot-fullfast: "O2PDPSuite" reco,40,40,"RUNTYPE_ITS=totfullfast production/calib/its-threshold-processing.sh" calib,40,"RUNTYPE_ITS=totfullfast production/calib/its-threshold-aggregator.sh"
2828

29-
ITS-vresetd: "O2PDPSuite" reco,5,5,"RUNTYPE_ITS=vresetd production/calib/its-threshold-processing.sh" calib,5,"RUNTYPE_ITS=vresetd production/calib/its-threshold-aggregator.sh"
29+
ITS-vresetd-1d: "O2PDPSuite" reco,5,5,"RUNTYPE_ITS=vresetd-1d production/calib/its-threshold-processing.sh" calib,5,"RUNTYPE_ITS=vresetd-1d production/calib/its-threshold-aggregator.sh"
30+
31+
ITS-vresetd-2d: "O2PDPSuite" reco,5,5,"RUNTYPE_ITS=vresetd-2d production/calib/its-threshold-processing.sh" calib,5,"RUNTYPE_ITS=vresetd-2d production/calib/its-threshold-aggregator.sh"
3032

3133
TOF-diagnostic-calibration: "O2PDPSuite" reco,10,10,"SHMSIZE=120376524800 production/calib/tof-standalone-reco.sh" calib,4,"production/calib/tof-diagn-aggregator.sh"
3234

DATA/production/workflow-multiplicities.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,20 @@ if [[ ! -z ${OPTIMIZED_PARALLEL_ASYNC:-} ]]; then
5353
[[ ! -z ${TIMEFRAME_RATE_LIMIT:-} ]] && unset TIMEFRAME_RATE_LIMIT
5454
[[ ! -z ${SHMSIZE:-} ]] && unset SHMSIZE
5555
fi
56-
if [[ $OPTIMIZED_PARALLEL_ASYNC == "8cpu" ]]; then
56+
if [[ $OPTIMIZED_PARALLEL_ASYNC == "8cpu" || $OPTIMIZED_PARALLEL_ASYNC == "8cpu_NVIDIA" || $OPTIMIZED_PARALLEL_ASYNC == "8cpu_AMD" ]]; then
5757
[[ -z ${TIMEFRAME_RATE_LIMIT:-} ]] && TIMEFRAME_RATE_LIMIT=3
5858
[[ -z ${SHMSIZE:-} ]] && SHMSIZE=16000000000
59+
if [[ $OPTIMIZED_PARALLEL_ASYNC == "8cpu_NVIDIA" ]]; then
60+
NGPUS=1
61+
GPUTYPE=CUDA
62+
GPUMEMSIZE=$((25 << 30))
63+
N_TPCTRK=$NGPUS
64+
elif [[ $OPTIMIZED_PARALLEL_ASYNC == "8cpu_AMD" ]]; then
65+
NGPUS=1
66+
GPUTYPE=HIP
67+
GPUMEMSIZE=$((25 << 30))
68+
N_TPCTRK=$NGPUS
69+
fi
5970
NGPURECOTHREADS=5
6071
if [[ $BEAMTYPE == "pp" ]]; then
6172
if (( $(echo "$RUN_IR > 800000" | bc -l) )); then

DATA/tools/datadistribution_workflows/dd-discard.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<topology name="o2-dd">
22
<declrequirement name="TfBuilderRequirement" type="maxinstances" value="1"/>
33
<decltask name="TfBuilderTask">
4-
<exe reachable="true">GEN_TOPO_TFBUILDER_ENV_VARIABLES /home/epn/odc/tfbuilder.sh standalone</exe>
4+
<exe reachable="true">GEN_TOPO_TFBUILDER_ENV_VARIABLES /usr/local/bin/tfbuilder.sh standalone</exe>
55
<requirements>
66
<name>TfBuilderRequirement</name>
77
</requirements>

0 commit comments

Comments
 (0)