From ecd898584dc30f42612b44634e618271550a7cfb Mon Sep 17 00:00:00 2001 From: Bruno Grande Date: Wed, 22 Jun 2022 13:54:13 -0700 Subject: [PATCH] Handle Sarek-specific `max` labels --- conf/sage.config | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/conf/sage.config b/conf/sage.config index da1db72..d2e9d21 100644 --- a/conf/sage.config +++ b/conf/sage.config @@ -34,7 +34,15 @@ process { time = { check_max( 192.h * task.attempt, 'time' ) } } withLabel:process_high_memory { - memory = { check_max( 200.GB * task.attempt, 'memory' ) } + memory = { check_max( 128.GB * task.attempt, 'memory' ) } + } + + // Preventing Sarek labels from using the actual maximums + withLabel:max_memory { + memory = { check_max( 128.GB * task.attempt, 'memory' ) } + } + withLabel:cpus_max { + cpus = { check_max( 24 * slow(task.attempt), 'cpus' ) } } }