Commit 5eba2d8a authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

max workers to 2

parent e7f9f467
......@@ -528,10 +528,10 @@ def launch_researchs(params):
# Fix number of processes
# PS: the new solver is optimized for 8 threads
nb_cpu_required = mp.cpu_count() / 8
nb_cpu_required = 1 if nb_cpu_required == 0 else nb_cpu_required
# nb_cpu_required = mp.cpu_count() / 8
# nb_cpu_required = 1 if nb_cpu_required == 0 else nb_cpu_required
with ProcessPoolExecutor(max_workers=nb_cpu_required) as e:
with ProcessPoolExecutor(max_workers=2) as e:
futures_and_output = {e.submit(compute_macs,
update_params(job_property)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment