mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-12-26 15:08:18 -05:00
actually define hostname
This commit is contained in:
parent
0211b33a55
commit
20e451be3b
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue