How can we discover the partition of an active node using slurm?
For example, sinfo
lists the partitions and the nodes, but the hope is to use a query command which returns the partition of an active node.
While on the node you can execute command env and search for the value of environment variable SLURM_JOB_PARTITION. It will be equal to the partition this node belongs to:
env | grep SLURM_JOB_PARTITION
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加