| Summary: | Suspend/Resume/Release/Hold | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Paul Edmon <pedmon> |
| Component: | Other | Assignee: | Unassigned Developer <dev-unassigned> |
| Status: | RESOLVED INFOGIVEN | QA Contact: | |
| Severity: | 5 - Enhancement | ||
| Priority: | --- | ||
| Version: | 15.08.4 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | Harvard University | Alineos Sites: | --- |
| Atos/Eviden Sites: | --- | Confidential Site: | --- |
| Coreweave sites: | --- | Cray Sites: | --- |
| DS9 clusters: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Linux Distro: | --- |
| Machine Name: | CLE Version: | ||
| Version Fixed: | Target Release: | --- | |
| DevPrio: | --- | Emory-Cloud Sites: | --- |
|
Description
Paul Edmon
2015-11-17 02:03:35 MST
(In reply to Paul Edmon from comment #0) > We would like a way to suspend/resume/release/hold multiple jobs at once or > even all the jobs in a partition or for a specific user in one shot, or > perhaps all the jobs in the cluster. Those commands all accept space delimited lists of job IDs: scontrol hold 123 456 789 There isn't any filtering by user, partition, etc. in the scontrol command. What I do in those cases is use the squeue command to do the filtering and build a script, then execute that script. For example: > squeue -u adam -h -o "scontrol hold %i" scontrol hold 72 scontrol hold 74 scontrol hold 73 scontrol hold 75 I have added a FAQ about this: https://github.com/SchedMD/slurm/commit/7b56d4264eb04033d511b961ec79ffbc87cdb3d9 I'm going to close this bug based upon the above work-around. |