[slurm-users] Setting up a separate timeout for interactive jobs
Yair Yarom
irush at cs.huji.ac.il
Thu Sep 20 02:00:29 MDT 2018
Hi,
We also have multiple partitions, but in addition we use a job submit
plugin to distinguish between srun/salloc and sbatch submissions. This
plugin forces a specific partition for interactive jobs (and the timelimit
with it) and using the license system it limits the number of simultaneous
interactive jobs per user.
Originally I wrote it because users were running bash for the maximum
allowed time (for no good reason). However, nowadays users are running e.g.
jupyter in sbatch, and the plugin doesn't catches these.
If you want, the plugin's source is in:
https://github.com/irush-cs/slurm-plugins
Yair.
On Wed, Sep 19, 2018 at 8:09 PM, Renfro, Michael <Renfro at tntech.edu> wrote:
> I don’t. If they want to submit a job running ‘bash’ at the same priority
> as a regular batch job shell script, that’s on them. If and when we go to
> an accounting model based off reserved resources and time, it’ll handle
> itself.
>
>
> On Sep 19, 2018, at 11:54 AM, Siddharth Dalmia <dalmia.sid at gmail.com>
> wrote:
>
> Thanks for your response Mike. I have a follow-up question for this
> approach. How do you restrict someone to start an interactive session on
> the "batch" partition?
>
>
>
>
> On Wed, Sep 19, 2018 at 12:50 PM Renfro, Michael <Renfro at tntech.edu>
> wrote:
>
>> We have multiple partitions using the same nodes. The interactive
>> partition is high priority and limited on time and resources. The batch
>> partition is low priority and has looser time and resource restrictions.
>>
>> And we have a shell function that calls srun —partition=interactive —pty
>> $SHELL to make it easier to submit interactive jobs.
>>
>> --
>> Mike Renfro / HPC Systems Administrator, Information Technology Services
>> 931 372-3601 / Tennessee Technological University
>>
>> On Sep 19, 2018, at 10:51 AM, Siddharth Dalmia <dalmia.sid at gmail.com>
>> wrote:
>>
>> Hi all,
>>
>> Is it possible to have a separate timeout for interactive jobs? Or can
>> someone help me come up with a hack to do this?
>>
>> Thanks
>> Sid
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180920/265d4040/attachment.html>
More information about the slurm-users
mailing list