mats-slurm

Automate SLURM workflow management for MATS GPU jobs.

11|2|Updated May 29, 2025
One-click install
npx skills add https://github.com/yulonglin/dotfiles --skill mats-slurm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mats-slurm
Source: https://github.com/yulonglin/dotfiles/tree/main/claude/local-marketplace/plugins/research-toolkit/skills/mats-slurm
Command: npx skills add https://github.com/yulonglin/dotfiles --skill mats-slurm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Set up and use SLURM helpers to manage interactive and batch GPU workloads on the MATS compute cluster, providing ready-to-run aliases and utilities that simplify resource requests, monitoring, and logging.

Core Features & Use Cases

  • Interactive Jobs: grun and lrun style shortcuts to launch A100 and L40 GPU sessions with sensible defaults.
  • Batch Submissions: gbatch and lbatch wrappers to submit multi-GPU jobs with consistent SLURM options.
  • Monitoring & Debugging: quick access to logs and queue information, plus helpers for debugging and job control.
  • Environment & Configuration: templates and references to configure default partitions, environments, and log paths for reproducible runs.

Quick Start

Source the mats-slurm aliases file in your shell configuration to enable the SLURM helpers.

Frequently Asked Questions about mats-slurm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I submit a batch GPU job to SLURM with A100 or L40 defaults?

Use the gbatch or lbatch wrappers to submit multi-GPU batch jobs to SLURM with consistent default options for A100 and L40 partitions. These helpers apply sensible resource requests automatically.

How do I start an interactive GPU session on a SLURM cluster?

Use the grun or lrun aliases to launch interactive A100 or L40 GPU sessions with sensible defaults. These shortcuts handle the SLURM resource requests for immediate terminal access.

What is the easiest way to monitor SLURM GPU jobs and view logs?

SLURM monitoring and debugging workflows are simplified with helper functions that provide quick access to queue information and job logs. These utilities streamline tracking active GPU workloads.

Do I need to configure SLURM partitions manually for reproducible cluster runs?

No, you can use the provided environment templates and references to configure default partitions and log paths. Sourcing the aliases file in your shell configuration sets up reproducible run environments.

What's the best way to manage SLURM workflow for multi-GPU research tasks?

Use ready-to-run aliases and utilities that simplify resource requests, monitoring, and logging for SLURM GPU workloads. These wrappers ensure consistent options across interactive and batch submissions.