https://github.com/hill/lazyslurm

like lazygit/lazydocker but for slurm

https://github.com/hill/lazyslurm

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.6%) to scientific vocabulary

Keywords

cli hpc lazydocker lazygit slurm terminal
Last synced: 11 months ago · JSON representation

Repository

like lazygit/lazydocker but for slurm

Basic Info
  • Host: GitHub
  • Owner: hill
  • Language: Rust
  • Default Branch: master
  • Homepage:
  • Size: 204 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
cli hpc lazydocker lazygit slurm terminal
Created 11 months ago · Last pushed 11 months ago
Metadata Files
Readme Changelog

README.md

LazySlurm

CI Crates.io License: MIT

A terminal UI for slurm job management. Like the awesome lazygit but for HPC clusters.

LazySlurm Screenshot

Why This Exists

Slurm's CLI is powerful but clunky for monitoring. This project gives you the lazygit experience. Built in Rust with ratatui because single binaries are beautiful on HPC systems.

Features

  • Job management - Cancel jobs, view details, and monitor resource usage
  • Single binary - No dependencies, perfect for HPC environments
  • Real-time job monitoring - Watch your jobs as they run, with live log tailing

Installation

Binary Releases

Download the latest binary for your platform from GitHub Releases:

```bash

Linux x64

curl -L https://github.com/hill/lazyslurm/releases/latest/download/lazyslurm-linux-x64.tar.gz | tar xz sudo mv lazyslurm /usr/local/bin/

macOS (Apple Silicon)

curl -L https://github.com/hill/lazyslurm/releases/latest/download/lazyslurm-macos-arm64.tar.gz | tar xz sudo mv lazyslurm /usr/local/bin/

macOS (Intel)

curl -L https://github.com/hill/lazyslurm/releases/latest/download/lazyslurm-macos-x64.tar.gz | tar xz sudo mv lazyslurm /usr/local/bin/ ```

Homebrew

bash brew install hill/tap/lazyslurm

Cargo

If you have Rust installed:

bash cargo install lazyslurm

Gah

sh gah install hill/lazyslurm

Usage

Basic Usage

```bash

Monitor all jobs for current user

lazyslurm

Monitor jobs for specific user

lazyslurm --user username

Monitor jobs in specific partition

lazyslurm --partition gpu ```

Keyboard Controls

| Key | Action | |-----|--------| | q | Quit application | | ↑/↓ or j/k | Navigate job list | | r | Refresh job data | | c | Cancel selected job | | Enter | View job details | | l | View job logs | | ? | Show help |

Configuration

LazySlurm reads configuration from ~/.config/lazyslurm/config.toml:

```toml [display] refreshinterval = 5 # seconds maxlog_lines = 100

[slurm] defaultuser = "myusername" defaultpartition = "compute" ```

Development

Requires Docker and just.

```bash

Start SLURM container

just slurm_up

Get into container for development

just slurm_shell

Inside container: your code is at /workspace

cargo run

Submit test jobs (from host or container)

just slurm_populate ```

Your source code is mounted into the container so changes are immediately available.

Owner

  • Name: Tom Hill
  • Login: hill
  • Kind: user
  • Location: Melbourne, Australia

Hello!

GitHub Events

Total
  • Push event: 13
  • Create event: 3
Last Year
  • Push event: 13
  • Create event: 3

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
crates.io: lazyslurm

A terminal UI for monitoring and managing SLURM jobs

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 0 Total
Rankings
Dependent repos count: 20.1%
Dependent packages count: 26.6%
Forks count: 39.2%
Average: 47.1%
Stargazers count: 55.3%
Downloads: 94.5%
Maintainers (1)
Last synced: 11 months ago

Dependencies

.github/workflows/ci.yml actions
  • Swatinem/rust-cache v2 composite
  • actions/checkout v4 composite
  • dtolnay/rust-toolchain stable composite
  • taiki-e/upload-rust-binary-action v1 composite
.github/workflows/release.yml actions
  • actions/checkout v4 composite
  • dtolnay/rust-toolchain stable composite
  • taiki-e/create-gh-release-action v1 composite
  • taiki-e/upload-rust-binary-action v1 composite
Cargo.lock cargo
  • 139 dependencies
Cargo.toml cargo
dev/Dockerfile docker
  • ubuntu 20.04 build
dev/docker-compose.yml docker