On Wednesday September 14 2011 3:55:02 PM you wrote:
> 2011/9/14 Danny Auble <[email protected]>:
> > Have you tried
> >
> > scontrol suspend <jobid>
> >
> > ?
> 
> Just what I was looking for : )
> 
> I couldn't enable SUSPEND without enabling GANG and changing
> PreemtType too, I don't know if that's intended.

I am not sure what version you are using but the 2.3 I am using doesn't require 
those to be set.

> 
> It seems that I have to be slurm to suspend a job, is there a way
> to enable other users to do so without using sudo?

You can add 'admins' or 'operators' with sacctmgr if you are using accounting 
and 2.2+.

> 
> Thanks
> Ismael
> 
> >
> > On Wednesday September 14 2011 2:58:48 PM you wrote:
> >> Hello list
> >>
> >> I want to be able to suspend an MPI job with everything and it's time
> >> count in slurm. I don't mind if that makes slurm think that the nodes
> >> are free again, but it would help if I could control whether or not the
> >> nodes will be used right after the job is suspended.
> >>
> >> Currently I can almost do it with
> >> scancel -b -s TSTP [job_id]
> >>
> >> But even if the job stopped, to slurm itself it is still running, so the 
> >> time
> >> eventually runs out and the job is killed.
> >>
> >> So, Is there a way I can do that?
> >>
> >> Regards
> >>
> >>
> >>
> >
> 
> 
> 
> 

Reply via email to