From 6ad4123e91223a9b1102e677aac37b8480a0abb2 Mon Sep 17 00:00:00 2001 From: Oscar Esteban Date: Mon, 19 Aug 2024 08:04:50 +0200 Subject: [PATCH] fix: limit IQMs' node number of processes and therefore, memory --- mriqc/workflows/functional/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mriqc/workflows/functional/base.py b/mriqc/workflows/functional/base.py index fb49e876..41f661c7 100644 --- a/mriqc/workflows/functional/base.py +++ b/mriqc/workflows/functional/base.py @@ -351,6 +351,7 @@ def compute_iqms(name='ComputeIQMs'): FunctionalQC(), name='measures', mem_gb=mem_gb * 3, + n_procs=max(1, config.nipype.nprocs // 2), iterfield=['in_epi', 'in_hmc', 'in_tsnr', 'in_dvars', 'in_fwhm'], )