diff --git a/conf/juno.config b/conf/juno.config index 20754096..6210b463 100644 --- a/conf/juno.config +++ b/conf/juno.config @@ -18,11 +18,10 @@ process { clusterOptions = "" scratch = true beforeScript = "module load singularity/3.1.1; unset R_LIBS; catch_term () { echo 'caught USR2/TERM signal'; set +e; false; on_exit ; } ; trap catch_term USR2 TERM" + maxRetries = 3 + errorStrategy = { task.attempt <= process.maxRetries ? 'retry' : 'ignore' } } -process.maxRetries = 3 -process.errorStrategy = { task.attempt <= process.maxRetries ? 'retry' : 'ignore' } - params { max_memory = "128.GB" mem_per_core = true