Skip to content

ShenhanQian/slurmui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlurmUI

Enhanced command-line UI to ease working with slurm. Written in Python, derived from SlurmUI.

Viewing and managing

  • GPUs
  • Jobs in the history
  • Jobs in the queue
  • Logs for current and past jobs

Install and run

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

Optional arguments:

  • -i update interval in seconds. (10 by default. Set to 0 to disable).
  • -v verbose mode (printing info and error to the info panel).
  • -r time range of history jobs to load (1 week by default))
  • -c cluster name (deprecated as the latest version of SlurmUI does not have cluster-specific configuration).

Basics

Under the interface of SlurmUI we rely on three basic slurm commands:

  • sinfo for information of nodes, GPUs, etc.
  • squeue for current jobs in the queue
  • sacct for history jobs

Make sure you can get meaningful output from these commands on your cluster before trying SlurmUI.

To debug, you could srun slurmui with -i 0 to disable auto update and -v to force verbose logging. Then, you will see the full commands that slurmui sends to slurm in the info panel.

Supported Clusters

Note

If SlurmUI does not work on your cluster, try the debugging suggestions in Basics and feel free to open an issue.

Contributions

Open to contribution including but not limited to:

  • Improving startup/launch speed
  • Enhancing multithreading and concurrency handling
  • Strengthening crash recovery and process resiliency
  • Expanding features or addressing edge cases

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%