diff --git a/conf/crukmi.config b/conf/crukmi.config index 3e7383b..f73c252 100644 --- a/conf/crukmi.config +++ b/conf/crukmi.config @@ -18,6 +18,10 @@ process { beforeScript = 'module load apps/singularity/3.8.0' executor = 'pbs' + errorStrategy = {task.exitStatus in [143,137,104,134,139,140] ? 'retry' : 'finish'} + maxErrors = '-1' + maxRetries = 3 + withLabel:process_low { cpus = { check_max( 1 * task.attempt, 'cpus' ) } memory = { check_max( 5.GB * task.attempt, 'memory' ) } @@ -35,7 +39,7 @@ process { withName: 'SAMTOOLS_MPILEUP' { cpus = 1 - memory = { 8.GB * task.attempt } + memory = { 5.GB * task.attempt } }