Re: [slurm-users] scancel a list of jobs

2018-05-09 Thread Bjørn-Helge Mevik
Chester Langin writes: > Is there no way to scancel a list of jobs? Like from job 120 to job 150? scancel $(seq 120 150) -- Regards, Bjørn-Helge Mevik, dr. scient, Department for Research Computing, University of Oslo signature.asc Description: PGP signature

Re: [slurm-users] scancel a list of jobs

2018-05-08 Thread Michael Jennings
On Tuesday, 08 May 2018, at 17:00:33 (+), Chester Langin wrote: > Is there no way to scancel a list of jobs? Like from job 120 to job > 150? I see cancelling by user, by pending, and by job name. --Chet If you're using BASH, you can just do: scancel {120..150} In other POSIX-compatible s

Re: [slurm-users] scancel a list of jobs

2018-05-08 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've used loops before to do something like that. This is something off the top of my head, but something like: seq 120 150 | while read jobid; do scancel $jobid; done You can test it with squeue -j $jobid instead. On 05/08/2018 01:00 PM, Chester La

[slurm-users] scancel a list of jobs

2018-05-08 Thread Chester Langin
Is there no way to scancel a list of jobs? Like from job 120 to job 150? I see cancelling by user, by pending, and by job name. --Chet