mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-21 16:16:04 +00:00
Make memory checks use closed intervals
This commit is contained in:
parent
5afa43ad15
commit
a04b5079f0
1 changed files with 2 additions and 2 deletions
|
@ -24,11 +24,11 @@ try {
|
|||
def clusterOptionsCreator = { m ->
|
||||
String base = "-A $params.project ${params.clusterOptions ?: ''}"
|
||||
// Do not use -p node on irma or if a thin node/core is enough
|
||||
if (m < 125.GB || hostname ==~ "i.*") {
|
||||
if (m <= 125.GB || hostname ==~ "i.*") {
|
||||
return base
|
||||
}
|
||||
|
||||
if (m < 250.GB) {
|
||||
if (m <= 250.GB) {
|
||||
return base + " -p node -C mem256GB "
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue