From eed28334d8ea22a85eedfe3405d9d6d97120ca4b Mon Sep 17 00:00:00 2001 From: Laurent Modolo <laurent.modolo@ens-lyon.fr> Date: Wed, 17 Feb 2021 11:01:15 +0100 Subject: [PATCH] nextflow.config: simplify errorStrategy for computing grid --- src/nextflow.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nextflow.config b/src/nextflow.config index c1afd1e2..bd4971a5 100644 --- a/src/nextflow.config +++ b/src/nextflow.config @@ -46,7 +46,7 @@ profiles { singularity.cacheDir = "$baseDir/.singularity_psmn/" singularity.runOptions = "--bind /Xnfs,/scratch" process{ - errorStrategy { sleep(Math.pow(2, task.attempt) * 200 as long); return 'retry' } + errorStrategy 'retry' maxRetries 3 withLabel: big_mem_mono_cpus { executor = "sge" @@ -74,7 +74,7 @@ profiles { singularity.cacheDir = "$baseDir/.singularity_in2p3/" singularity.runOptions = "--bind /pbs,/sps,/scratch" process{ - errorStrategy { sleep(Math.pow(2, task.attempt) * 200 as long); return 'retry' } + errorStrategy 'retry' maxRetries 3 withLabel: big_mem_mono_cpus { scratch = true -- GitLab