From 94b9ac07efb30437e6a147ce17fdda4824c2d08d Mon Sep 17 00:00:00 2001 From: Xavier Grand <xavier.grand@inserm.fr> Date: Tue, 26 Sep 2023 15:22:55 +0200 Subject: [PATCH] Add pollux_singularity profile --- src/nextflow.config | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/nextflow.config b/src/nextflow.config index 482bd94..ed18089 100644 --- a/src/nextflow.config +++ b/src/nextflow.config @@ -235,4 +235,34 @@ profiles { } } } + pollux_singularity { + singularity.enabled = true + singularity.cacheDir = "/opt/singularity/" + singularity.runOptions = "-B /home -B /data" + process { + memory = '16GB' + withLabel: big_mem_mono_cpus { + cpus = 1 + } + withLabel: big_mem_multi_cpus { + cpus = 8 + } + withLabel: small_mem_mono_cpus { + cpus = 1 + memory = '2GB' + } + withLabel: small_mem_multi_cpus { + cpus = 8 + memory = '2GB' + } + withLabel: mid_mem_mono_cpus { + cpus = 1 + memory = '8GB' + } + withLabel: mid_mem_multi_cpus { + cpus = 4 + memory = '8GB' + } + } + } } -- GitLab