managing-jobs

Manage Slurm jobs on the Yale SOM HPC cluster with sbatch, squeue, sacct, scancel, and scontrol.

5|1|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/yale-som-hpc/claude-code-marketplace --skill managing-jobs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: managing-jobs
Source: https://github.com/yale-som-hpc/claude-code-marketplace/tree/main/plugins/hpc/skills/managing-jobs
Command: npx skills add https://github.com/yale-som-hpc/claude-code-marketplace --skill managing-jobs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Submit, monitor, cancel, and chain Slurm jobs on the Yale SOM HPC cluster, enabling researchers to efficiently run arrays and dependent tasks with a safe, repeatable workflow.

Core Features & Use Cases

  • Submit batch jobs with sbatch and use safe templates to initialize runs.
  • Monitor and manage jobs using squeue, sacct, scancel, and scontrol to track progress and handle failures.
  • Use job arrays and dependencies to orchestrate multi-step analyses while minimizing cluster impact and resource waste.

Quick Start

Submit a small test Slurm job to verify correct resource requests and basic workflow.

Frequently Asked Questions about managing-jobs

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

FAQPage Schema
How do I submit and monitor Slurm jobs on an HPC cluster?

You submit and monitor Slurm jobs using sbatch for submission, then squeue and sacct to track progress. This workflow ensures safe resource requests and explicit limits for your HPC cluster tasks.

What is the best way to chain dependent Slurm jobs and arrays?

The best way to chain dependent Slurm jobs and arrays is by using job dependencies and array syntax within sbatch. This orchestrates multi-step analyses while minimizing cluster impact and preventing resource waste.

Can I use scancel and scontrol to manage running Slurm jobs?

Yes, you can use scancel to cancel running Slurm jobs and scontrol to manage them. These commands handle failures and track progress, providing a repeatable workflow for your HPC cluster tasks.

Does this Slurm job management workflow support Yale SOM HPC cluster environments?

Yes, this Slurm job management workflow is designed for the Yale SOM HPC cluster. It applies safe templates to initialize runs, verifying correct resource requests and basic job-management commands for researchers.

Why should I set explicit resource limits when submitting sbatch jobs?

You should set explicit resource limits when submitting sbatch jobs to ensure safe resource requests and minimize resource waste. This prevents over-allocating the HPC cluster during multi-step analyses and job arrays.