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

Loris Bennett loris.bennett at fu-berlin.de
Mon Mar 19 08:56:03 MDT 2018


Hi Jessica,

That did the trick.  I have submitted a bug against the documentation:

  https://bugs.schedmd.com/show_bug.cgi?id=4946.

Thanks,

Loris

Jessica Nettelblad <jessica.nettelblad at gmail.com> writes:

> 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
>
>
-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email loris.bennett at fu-berlin.de



More information about the slurm-users mailing list