From a04b5079f078abb1b4296305ee9b3a28fafa95fe Mon Sep 17 00:00:00 2001 From: Pontus Freyhult Date: Tue, 2 Nov 2021 07:55:52 +0100 Subject: [PATCH] Make memory checks use closed intervals --- conf/uppmax.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/uppmax.config b/conf/uppmax.config index d8b83ad..79fdd82 100644 --- a/conf/uppmax.config +++ b/conf/uppmax.config @@ -24,11 +24,11 @@ try { def clusterOptionsCreator = { m -> String base = "-A $params.project ${params.clusterOptions ?: ''}" // Do not use -p node on irma or if a thin node/core is enough - if (m < 125.GB || hostname ==~ "i.*") { + if (m <= 125.GB || hostname ==~ "i.*") { return base } - if (m < 250.GB) { + if (m <= 250.GB) { return base + " -p node -C mem256GB " }