slurm
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "slurm" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d514e52211d6f67dd1becf40c81c956f4300c5eda985e21eee6c4b5880bedbbd. Verify the upstream source and version against https://skillhub.cn/skills/user_441fca07/slurm before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Submit, monitor, and manage SLURM compute jobs on a PVE cluster (ctl + node01). Covers sbatch, srun, squeue, scancel, sacct commands and MiQi-specific job templates.
Introduction source: third_party · user_441fca07 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Submit, monitor, and manage SLURM compute jobs on the PVE cluster (ctl + node01). Covers sbatch, srun, squeue, scancel, sacct, and MiQi-specific job templates.
- Audience
- Use this skill when the user wants to submit, monitor, cancel, or inspect jobs on the SLURM cluster.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: slurm
description: Submit, monitor, and manage SLURM compute jobs on the PVE cluster (ctl + node01). Covers sbatch, srun, squeue, scancel, sacct, and MiQi-specific job templates.slurm
Instructions for the agent to follow when this skill is activated.
When to use
Use this skill when the user wants to submit, monitor, cancel, or inspect jobs on the SLURM cluster.
Instructions
Cluster & Access
| Host | Role | Access |
|---|---|---|
ctl |
Control node — submit jobs | ssh ctl |
Windows 用户: SLURM 命令无法在本地运行,必须先 ssh ctl,再在 ctl 上执行。也可 ssh ctl "squeue" 直接远程执行。
上传脚本: scp job.sh ctl:~ | 取回日志: scp "ctl:~/slurm-%j.out" .
Quick Reference
sinfo # cluster/partition status
squeue -u $USER # my jobs
sbatch job.sh # submit
srun --pty bash # interactive shell
scancel <jobid> # cancel job
scancel -u $USER # cancel all my jobs
sacct -j <jobid> --format=JobID,State,Elapsed,MaxRSS
scontrol show job <jobid> # job details
Windows Quick Reference
ssh ctl "sbatch ~/job.sh" # submit 不要使用转义 按照示例格式输入
ssh ctl "squeue -u $USER" # my jobs
ssh ctl "scancel <jobid>" # cancel job
ssh ctl "sacct -j <jobid>" # job details
不需要把脚本从 Windows 格式转成 Linux 格式
查看任务输出
目前没有nfs共享文件系统,所以不能查看任务输出
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 SLURM 集群作业全生命周期管理,解决高性能计算任务的核心痛点
- 覆盖 sbatch、srun、squeue、scancel、sacct 等关键命令及 MiQi 专用模板
Highlights
- 触发描述精准完整,明确限定于 PVE 集群的 SLURM 作业管理场景
- 覆盖多种命令变体和 Windows 远程执行方式
Areas to improve
-
缺少端到端完整示例 Reported severity: Minor
文档提供了常用命令片段,但缺少一个从脚本编写到提交、监控、取消的完整端到端示例
Recommendation: 建议补充一个完整的 job.sh 示例及对应的提交、监控、取消全流程演示
Highlights
- 文档结构清晰,分章节组织,包含快速参考和 Windows 专用指引
- frontmatter 完整,单文件长度适中
Areas to improve
-
异常处理与确认机制缺失 Reported severity: Minor
未显式处理网络中断、权限错误等异常情况,且 scancel 等不可逆操作缺少确认提示
Recommendation: 建议在关键操作(如 scancel)前添加确认步骤,并补充常见错误处理指引
Highlights
- 工具来源明确(SLURM 原生命令),参数使用正确
- 覆盖主要操作场景,命令示例可直接执行
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.