Skip to content

ShenhanQian/slurmui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlurmUI

Simple terminal UI for slurm. Credit to Norman Müller.

Install

pip install git+https://github.com/ShenhanQian/slurmui.git

Usage

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 Format of GRES is different.
LRZ AI -c lrz_ai Need to filter out irrelavant partitions.

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.

Troubleshooting

  • AttributeError: 'NoneType' object has no attribute 'groups'

    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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%