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

Determine cluster through slurm

This commit is contained in:
Pontus Freyhult 2021-04-07 18:42:33 +02:00
parent c5070f3eba
commit 4d64db85eb

View file

@ -9,7 +9,7 @@ singularity {
enabled = true enabled = true
} }
def hostname = "hostname".execute().text.trim() def hostname = "sinfo --local -N -h | head -1 | cut -f1 -d' ' ".execute().text.trim()
process { process {
// closure to create a suitable clusterOptions // closure to create a suitable clusterOptions