Slurm Job Failure Triage

Diagnose a failed or killed Slurm batch job from the scheduler's record before the log: sacct -j with state, exit codes, time, memory and nodes, plus seff where installed. Classify by State (OUT_OF_MEMORY or a Slurm job's exit 137 judged on the step's MaxRSS, not the batch script's; TIMEOUT against the time limit; NODE_FAIL or PREEMPTED as infrastructure; CANCELLED; FAILED, where stderr is read for the first failing rank only), find the first failing array index, check module and --export differences, and resubmit resized, not identical. Use for "Slurm job died with no error", "sbatch job exit code 137", "TIMEOUT after 3 hours", "OUT_OF_MEMORY but I requested plenty", "some array tasks failed" or "NODE_FAIL". Not for pods (k8s-triage), CI runs (ci-triage), sizing the next request (hpc-resource-sizing), rerunning only the failed tasks of a sweep (sweep-campaign-management) or a program that is simply wrong (debugging).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit d37d779753

Frequently asked questions

npx get-skill add greenblacked/slurm-job-failure-triage