From 20e451be3ba1f8863a5683d1bf921335d74dec85 Mon Sep 17 00:00:00 2001 From: MaxUlysse Date: Thu, 5 Dec 2019 12:45:30 +0100 Subject: [PATCH] actually define hostname --- conf/uppmax.config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/uppmax.config b/conf/uppmax.config index 424aa10..a68418c 100644 --- a/conf/uppmax.config +++ b/conf/uppmax.config @@ -25,10 +25,16 @@ params { igenomes_base = '/sw/data/uppnex/igenomes/' } +def hostname = "hostname".execute().text.trim() + if (hostname.contains("rackham*.uppmax.uu.se")) { params.max_cpus = 20 } +if (hostname.contains("bianca.uppmax.uu.se")) { + params.max_memory = 109.GB +} + if (hostname.contains("irma*.uppmax.uu.se")) { params.max_memory = 250.GB }