From 926c14f7ee0368869214671d595179c9777635d1 Mon Sep 17 00:00:00 2001 From: jfy133 Date: Wed, 8 Jul 2020 09:36:56 +0200 Subject: [PATCH] Cleverer process time submission --- conf/pipeline/eager/shh.config | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/conf/pipeline/eager/shh.config b/conf/pipeline/eager/shh.config index 718242c..560dee5 100644 --- a/conf/pipeline/eager/shh.config +++ b/conf/pipeline/eager/shh.config @@ -10,11 +10,11 @@ params { // Specific nf-core/eager process configuration process { - maxRetries = 5 + maxRetries = 2 withName: malt { maxRetries = 1 - memory = { task.attempt > 1 ? 1900.GB : 725.GB } + memory = { task.attempt > 1 ? 1900.GB : 725.GB } cpus = { task.attempt > 1 ? 112 : 64 } time = 1440.h queue = { task.memory > 756.GB ? 'supercruncher' : 'long' } @@ -23,43 +23,43 @@ process { withLabel:'sc_tiny'{ cpus = { check_max( 1, 'cpus' ) } memory = { check_max( 1.GB * task.attempt, 'memory' ) } - time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) } + time = { task.attempt == 3 ? 1440.h : task.attempt == 2 ? 48.h : 1.h } } withLabel:'sc_small'{ cpus = { check_max( 1, 'cpus' ) } memory = { check_max( 4.GB * task.attempt, 'memory' ) } - time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) } + time = { task.attempt == 3 ? 1440.h : task.attempt == 2 ? 48.h : 1.h } } withLabel:'sc_medium'{ cpus = { check_max( 1, 'cpus' ) } memory = { check_max( 8.GB * task.attempt, 'memory' ) } - time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) } + time = { task.attempt == 3 ? 1440.h : task.attempt == 2 ? 48.h : 1.h } } withLabel:'mc_small'{ cpus = { check_max( 2, 'cpus' ) } memory = { check_max( 4.GB * task.attempt, 'memory' ) } - time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) } + time = { task.attempt == 3 ? 1440.h : task.attempt == 2 ? 48.h : 1.h } } withLabel:'mc_medium' { cpus = { check_max( 4, 'cpus' ) } memory = { check_max( 8.GB * task.attempt, 'memory' ) } - time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) } + time = { task.attempt == 3 ? 1440.h : task.attempt == 2 ? 48.h : 1.h } } withLabel:'mc_large'{ cpus = { check_max( 8, 'cpus' ) } memory = { check_max( 16.GB * task.attempt, 'memory' ) } - time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) } + time = { task.attempt == 3 ? 1440.h : task.attempt == 2 ? 48.h : 1.h } } withLabel:'mc_huge'{ cpus = { check_max( 32, 'cpus' ) } memory = { check_max( 256.GB * task.attempt, 'memory' ) } - time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) } + time = { task.attempt == 3 ? 1449.h : task.attempt == 2 ? 48.h : 1.h } } } @@ -99,7 +99,7 @@ profiles { maltextract_matches = false maltextract_megansummary = false maltextract_percentidentity = 90.0 - maltextract_topalignment = false + maltextract_topalignment = false maltextract_singlestranded = false } }