Skip to content

Commit 4661dcd

Browse files
committed
compute NWORKERS_TF relative to NWORKERS
1 parent 452a3b0 commit 4661dcd

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
@@ -738,7 +738,7 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True):
738738
workflow['stages'].append(QED_task)
739739

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

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

0 commit comments

Comments
 (0)