1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 16:29:55 +00:00

Support use of very fat node in snowy

This commit is contained in:
Pontus Freyhult 2021-04-12 19:34:28 +02:00
parent 0987cbe1be
commit ff20f121f9

View file

@ -28,10 +28,18 @@ def clusterOptionsCreator = { m ->
return base + " -p node -C mem256GB " return base + " -p node -C mem256GB "
} }
// Remaining cases use the largest available node (1 Tbyte for rackham, 512 Gbyte for others)
// Use mem1TB for remaining cases on rackham (no 512 Gbyte nodes)
if (hostname ==~ "r.*") { if (hostname ==~ "r.*") {
return base + " -p node -C mem1TB " return base + " -p node -C mem1TB "
} }
if (m > 500.GB) {
// Special case for snowy very fat node (only remaining case that's above 500 GB)
return base + " -p veryfat "
}
// Should only be cases for mem512GB left (snowy and bianca)
return base + " -p node -C mem512GB " return base + " -p node -C mem512GB "
} }
@ -52,6 +60,7 @@ params {
if (hostname ==~ "s[0-9][0-9]*") { if (hostname ==~ "s[0-9][0-9]*") {
params.max_time = 700.h params.max_time = 700.h
params.max_memory = 3880.GB
} }
if (hostname ==~ "i.*") { if (hostname ==~ "i.*") {