mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-11 04:23:10 +00:00
automatic configs work on all nodes
This commit is contained in:
parent
cf6e00d9f5
commit
f41d325873
1 changed files with 3 additions and 4 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue