[slurm-users] scontrol: can't hold by jobname

Jessica Nettelblad jessica.nettelblad at gmail.com
Mon Mar 19 08:16:16 MDT 2018


Try this instead:

scontrol hold name=g09

(Line 441:
https://github.com/SchedMD/slurm/blob/master/src/scontrol/update_job.c)

On Mon, Mar 19, 2018 at 9:17 AM, Loris Bennett <loris.bennett at fu-berlin.de>
wrote:

> Hi,
>
> The manpage for version 17.02.9 of 'scontrol' says the following about
> the argument for 'hold':
>
>   The job_list argument is a comma separated list of job IDs OR
>   "jobname=" with the job’s name
>
> I am trying to put a number of jobs with the job name "g09" on hold.
> However, I can't get the syntax right.
>
>   scontrol hold jobname=g09
>   scontrol hold jobname="g09"
>   scontrol hold "jobname=g09"
>
> all give me the error:
>
>   Invalid job id specified for job jobname=g09
>   slurm_suspend error: Invalid job id specified
>
> Does anyone know what I am doing wrong?
>
> Cheers,
>
> Loris
>
> --
> Dr. Loris Bennett (Mr.)
> ZEDAT, Freie Universität Berlin         Email loris.bennett at fu-berlin.de
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180319/ab2f5199/attachment.html>


More information about the slurm-users mailing list