From 3dd87757c54be03acff21cae31c1c135ccd2821a Mon Sep 17 00:00:00 2001 From: Oscar Esteban Date: Fri, 16 Aug 2024 06:20:00 +0200 Subject: [PATCH] fix: BigPlot is a memory hog Limit parallelization more effectively by setting a number of CPUs this node will take. --- mriqc/workflows/functional/output.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mriqc/workflows/functional/output.py b/mriqc/workflows/functional/output.py index 7ee734e30..9e589aef3 100644 --- a/mriqc/workflows/functional/output.py +++ b/mriqc/workflows/functional/output.py @@ -110,6 +110,7 @@ def init_func_report_wf(name='func_report_wf'): name='BigPlot', mem_gb=mem_gb * 3.5, iterfield=['in_func', 'dvars', 'outliers', 'in_spikes_bg'], + n_procs=(config.nipype.nprocs + 3) // 4, # Big plot is a memory hog ) # fmt: off