1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-10 20:13:09 +00:00

Make memory checks use closed intervals

This commit is contained in:
Pontus Freyhult 2021-11-02 07:55:52 +01:00
parent 5afa43ad15
commit a04b5079f0

View file

@ -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 "
}