From 5b03fdb522faa76171708501e6b8d2a944c5a9d4 Mon Sep 17 00:00:00 2001 From: Laurent Modolo <laurent.modolo@ens-lyon.fr> Date: Mon, 4 Sep 2023 08:03:04 +0200 Subject: [PATCH] src/nextflow.config: add retry on error --- src/nextflow.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nextflow.config b/src/nextflow.config index 58daa85..76baf88 100644 --- a/src/nextflow.config +++ b/src/nextflow.config @@ -20,8 +20,8 @@ profiles { charliecloud.runOptions = "--bind /scratch:/scratch --bind /Xnfs:/Xnfs --bind /home:/home" process{ - //errorStrategy = { sleep(Math.pow(2, task.attempt) * 200 as long); return 'retry' } - //maxRetries = 3 + errorStrategy = { sleep(Math.pow(2, task.attempt) * 200 as long); return 'retry' } + maxRetries = 3 executor = "slurm" queue = "Lake" withLabel: big_mem_mono_cpus { -- GitLab