1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 08:29:54 +00:00

better match for hostname

This commit is contained in:
MaxUlysse 2019-12-05 12:46:32 +01:00
parent 20e451be3b
commit cf6e00d9f5

View file

@ -27,15 +27,15 @@ params {
def hostname = "hostname".execute().text.trim()
if (hostname.contains("rackham*.uppmax.uu.se")) {
if (hostname.contains("rackham")) {
params.max_cpus = 20
}
if (hostname.contains("bianca.uppmax.uu.se")) {
if (hostname.contains("bianca")) {
params.max_memory = 109.GB
}
if (hostname.contains("irma*.uppmax.uu.se")) {
if (hostname.contains("irma")) {
params.max_memory = 250.GB
}