mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-12-22 18:38:17 +00:00
better match for hostname
This commit is contained in:
parent
20e451be3b
commit
cf6e00d9f5
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue