diff --git a/src/nextflow.config b/src/nextflow.config index c1afd1e2766acf8d040de8435a6f1ce2d5cb7c42..bd4971a5498c98ac0133b9800c9dd385473e849f 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