From da781907f2a0cba4faca92ca8eca31c353486068 Mon Sep 17 00:00:00 2001 From: "Thiseas C. Lamnidis" Date: Tue, 17 Nov 2020 19:45:06 +0100 Subject: [PATCH 1/2] Move sdag queue specification block in sdag profile --- conf/shh.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/shh.config b/conf/shh.config index 02c186b..7f2fb8c 100644 --- a/conf/shh.config +++ b/conf/shh.config @@ -20,7 +20,6 @@ singularity { process { executor = 'slurm' - queue = { task.memory > 756.GB || task.cpus > 64 ? 'supercruncher': task.time <= 2.h ? 'short' : task.time <= 48.h ? 'medium': 'long' } } executor { @@ -42,6 +41,7 @@ profiles { config_profile_description = 'SDAG MPI-SHH profile, provided by nf-core/configs.' max_memory = 2.TB max_cpus = 128 + queue = { task.memory > 756.GB || task.cpus > 64 ? 'supercruncher': task.time <= 2.h ? 'short' : task.time <= 48.h ? 'medium': 'long' } } } } From 71d1ff2226d7393d65f81cb9eec569d39291e7af Mon Sep 17 00:00:00 2001 From: "Thiseas C. Lamnidis" Date: Wed, 18 Nov 2020 13:04:46 +0100 Subject: [PATCH 2/2] Add params block to sdag queue Co-authored-by: James A. Fellows Yates --- conf/shh.config | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/conf/shh.config b/conf/shh.config index 7f2fb8c..dc51e87 100644 --- a/conf/shh.config +++ b/conf/shh.config @@ -38,10 +38,12 @@ profiles { } sdag { params { - config_profile_description = 'SDAG MPI-SHH profile, provided by nf-core/configs.' - max_memory = 2.TB - max_cpus = 128 - queue = { task.memory > 756.GB || task.cpus > 64 ? 'supercruncher': task.time <= 2.h ? 'short' : task.time <= 48.h ? 'medium': 'long' } + config_profile_description = 'SDAG MPI-SHH profile, provided by nf-core/configs.' + max_memory = 2.TB + max_cpus = 128 + } + process { + queue = { task.memory > 756.GB || task.cpus > 64 ? 'supercruncher': task.time <= 2.h ? 'short' : task.time <= 48.h ? 'medium': 'long' } } } }