Skip to content

Commit 3190f34

Browse files
Benedikt Volkelsawenzel
authored andcommitted
Enable 3 threads for svfinder for PbPb
1 parent d28e783 commit 3190f34

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -865,8 +865,13 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
865865
configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/tofMatchedTracks_ITSTPCTOF_TPCTOF_direct_MC.json')
866866

867867
#secondary vertexer
868-
SVFINDERtask = createTask(name='svfinder_'+str(tf), needs=[PVFINDERtask['name']], tf=tf, cwd=timeframeworkdir, lab=["RECO"], cpu=1, mem='5000')
869-
SVFINDERtask['cmd'] = '${O2_ROOT}/bin/o2-secondary-vertexing-workflow ' + getDPL_global_options(bigshm=True)
868+
svfinder_threads = ' --threads 1 '
869+
svfinder_cpu = 1
870+
if COLTYPE == "PbPb" or (doembedding and COLTYPEBKG == "PbPb"):
871+
svfinder_threads = ' --threads 3 '
872+
svfinder_cpu = 3
873+
SVFINDERtask = createTask(name='svfinder_'+str(tf), needs=[PVFINDERtask['name']], tf=tf, cwd=timeframeworkdir, lab=["RECO"], cpu=svfinder_cpu, mem='5000')
874+
SVFINDERtask['cmd'] = '${O2_ROOT}/bin/o2-secondary-vertexing-workflow ' + getDPL_global_options(bigshm=True) + svfinder_threads
870875
workflow['stages'].append(SVFINDERtask)
871876

872877
# -----------

0 commit comments

Comments
 (0)