Enhanced terminal UI for slurm. Derived from SlurmUI.
Viewing and managing
- GPUs
- Jobs in the history
- Jobs in the queue
- Logs for current and past jobs
pip install git+https://github.com/ShenhanQian/slurmui.git
slurmui -c <cluster name>
Optional arguments:
-i
update interval in seconds, 5 by default. Set to 0 to disable.
Note
Due to the difference between slurm settings, the program can fail when parsing results from sinfo
. Therefore, you need to specify the cluster name for special cases.
Cluster | Argument | Comment |
---|---|---|
TUM CVG | Works with the default setting. | |
TUM VCG | -c tum_vcg |
Formats of Gres and GresUsed are different. |
LRZ AI | -c lrz_ai |
Formats of Gres and GresUsed are different. |
For other clusters, you can first try running slurmui
without arguments. If failed, you will need to add if-else sentences for your special cases.
-
Search in the repository for places where
sinfo
is called with the output format specifies like-O 'Partition:25,NodeHost,Gres:80,GresUsed:80,StateCompact,FreeMem,CPUsState'
. The width for some items(s) may not be enough, causing a problem to splitting the string into columns.