1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-25 01:19:54 +00:00

actually define hostname

This commit is contained in:
MaxUlysse 2019-12-05 12:45:30 +01:00
parent 0211b33a55
commit 20e451be3b

View file

@ -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
}