Skip to content

Commit 81f91f4

Browse files
committed
compute NWORKERS_TF relative to NWORKERS
1 parent b055e0c commit 81f91f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True):
731731
workflow['stages'].append(QED_task)
732732

733733
# recompute the number of workers to increase CPU efficiency
734-
NWORKERS_TF = compute_n_workers(INTRATE, COLTYPE) if (not args.force_n_workers) else NWORKERS
734+
NWORKERS_TF = compute_n_workers(INTRATE, COLTYPE, n_workers_user = NWORKERS) if (not args.force_n_workers) else NWORKERS
735735

736736
# produce the signal configuration
737737
SGN_CONFIG_task=createTask(name='gensgnconf_'+str(tf), tf=tf, cwd=timeframeworkdir)

0 commit comments

Comments
 (0)