1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-25 17:29:55 +00:00

automatic configs work on all nodes

This commit is contained in:
MaxUlysse 2019-12-05 15:07:59 +01:00
parent cf6e00d9f5
commit f41d325873

View file

@ -27,19 +27,18 @@ params {
def hostname = "hostname".execute().text.trim() def hostname = "hostname".execute().text.trim()
if (hostname.contains("rackham")) { if (hostname ==~ "r.*") {
params.max_cpus = 20 params.max_cpus = 20
} }
if (hostname.contains("bianca")) { if (hostname ==~ "b.*") {
params.max_memory = 109.GB params.max_memory = 109.GB
} }
if (hostname.contains("irma")) { if (hostname ==~ "i.*") {
params.max_memory = 250.GB params.max_memory = 250.GB
} }
profiles { profiles {
devel { devel {
params { params {