mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-29 10:59:55 +00:00
Determine cluster through slurm
This commit is contained in:
parent
c5070f3eba
commit
4d64db85eb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue