Enforce cluster flag in sinfo query
This commit is contained in:
parent
c0e95c4f55
commit
aaf16ee89d
6 changed files with 26 additions and 24 deletions
|
@ -32,7 +32,7 @@ SINFO = sinfo_from_file(
|
|||
)
|
||||
|
||||
# Single vs. multi-cluster implementation
|
||||
SLURM_SINGLE_CLUSTER = {'N/A': SINFO.pop('N/A')}
|
||||
SLURM_SINGLE_CLUSTER = {'cluster': SINFO.pop('cluster')}
|
||||
SLURM_MULTI_CLUSTER = SINFO
|
||||
GPU_SINGLE_CLUSTER = gpu_max_duration(gres(SLURM_SINGLE_CLUSTER))
|
||||
GPU_MULTI_CLUSTER = gpu_max_duration(gres(SLURM_MULTI_CLUSTER))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue