From 3e22b85b0260465eb3e526e1f97face1c75282d2 Mon Sep 17 00:00:00 2001 From: pierrespc Date: Wed, 22 Sep 2021 10:13:46 +0200 Subject: [PATCH] maestro only for normal qos --- conf/maestro.config | 8 ++++---- nfcore_custom.config | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/conf/maestro.config b/conf/maestro.config index 42ba030..a3fb7b5 100644 --- a/conf/maestro.config +++ b/conf/maestro.config @@ -14,13 +14,13 @@ process { executor = 'slurm' scratch = false queue = 'common' - clusterOptions = {task.time < 24.h ? '--qos=normal' : '--qos=long'} + clusterOptions = '--qos=normal' } params { igenomes_ignore = true igenomesIgnore = true - max_memory = {task.time < 24.h ? 400.GB : 100.GB } - max_cpus = {task.time < 24.h ? 96 : 5 } - max_time = {task.time < 24.h ? 24.h : 8760.h } + max_memory = 400.GB + max_cpus = 96 + max_time = 24.h } diff --git a/nfcore_custom.config b/nfcore_custom.config index 3e41ce8..c7dcbf4 100644 --- a/nfcore_custom.config +++ b/nfcore_custom.config @@ -41,13 +41,12 @@ profiles { imperial_mb { includeConfig "${params.custom_config_base}/conf/imperial_mb.config" } jax { includeConfig "${params.custom_config_base}/conf/jax.config" } lugh { includeConfig "${params.custom_config_base}/conf/lugh.config" } + maestro { includeConfig "${params.custom_config_base}/conf/maestro.config" } mpcdf { includeConfig "${params.custom_config_base}/conf/mpcdf.config" } munin { includeConfig "${params.custom_config_base}/conf/munin.config" } nu_genomics { includeConfig "${params.custom_config_base}/conf/nu_genomics.config" } oist { includeConfig "${params.custom_config_base}/conf/oist.config" } pasteur { includeConfig "${params.custom_config_base}/conf/pasteur.config" } - pasteurNorm { includeConfig "${params.custom_config_base}/conf/pasteurMaestroNormal.config" } - pasteurLong { includeConfig "${params.custom_config_base}/conf/pasteurMaestroLong.config" } phoenix { includeConfig "${params.custom_config_base}/conf/phoenix.config" } prince { includeConfig "${params.custom_config_base}/conf/prince.config" } sanger { includeConfig "${params.custom_config_base}/conf/sanger.config"}