Re: [slurm-users] Disable requesting a particular node in slurm

2018-09-19 Thread Sergey Meirovich
Hi, job_submit: https://slurm.schedmd.com/job_submit_plugins.html lua script could do the trick for you. On Wed, Sep 19, 2018 at 3:43 PM Siddharth Dalmia wrote: > > Hi all, > > I was wondering if there is a way to disable requesting a particular node for > a partition? I mean lets say I have a p

Re: [slurm-users] Slurm strigger configuration

2018-09-19 Thread Christopher Benjamin Coffey
Killian, thank you very much! Never noticed the perm flag! Best, Chris — Christopher Coffey High-Performance Computing Northern Arizona University 928-523-1167 On 9/19/18, 10:01 AM, "slurm-users on behalf of Kilian Cavalotti" wrote: On Wed, Sep 19, 2018 at 9:21 AM Christopher Benjamin

[slurm-users] Disable requesting a particular node in slurm

2018-09-19 Thread Siddharth Dalmia
Hi all, I was wondering if there is a way to disable requesting a particular node for a partition? I mean lets say I have a priority partition with nodes islpc[17-40] .. is there a way I can disable the option of running jobs with srun -w islpc20 --pty bash and same with sbatch? or atleast disab

Re: [slurm-users] Setting up a separate timeout for interactive jobs

2018-09-19 Thread Renfro, Michael
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 mailto:dalmia@gm

Re: [slurm-users] Slurm strigger configuration

2018-09-19 Thread Kilian Cavalotti
On Wed, Sep 19, 2018 at 9:21 AM Christopher Benjamin Coffey wrote: > The only thing that I've gotten working so far is this: > sudo -u slurm bash -c "strigger --set -D -n cn15 -p > /common/adm/slurm/triggers/nodestatus" > > So, that will run the nodestatus script which emails when the node cn15 g

Re: [slurm-users] Setting up a separate timeout for interactive jobs

2018-09-19 Thread Siddharth Dalmia
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 wrote: > We have multiple partitions using the same nodes. The interactive > par

Re: [slurm-users] Setting up a separate timeout for interactive jobs

2018-09-19 Thread Renfro, Michael
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 m

Re: [slurm-users] Slurm strigger configuration

2018-09-19 Thread Christopher Benjamin Coffey
Hi Jodie, The only thing that I've gotten working so far is this: sudo -u slurm bash -c "strigger --set -D -n cn15 -p /common/adm/slurm/triggers/nodestatus" So, that will run the nodestatus script which emails when the node cn15 gets set into drain state. What I'd like to do, which I haven't p

[slurm-users] Setting up a separate timeout for interactive jobs

2018-09-19 Thread Siddharth Dalmia
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

[slurm-users] Slurm strigger configuration

2018-09-19 Thread Jodie H. Sprouse
Good morning. I’m struggling with getting strigger working correctly. My end goal sounds fairly simple: to get a mail notification if a node gets set into ‘drain’ mode. The man page for strigger states it must be run by the set slurmuser which is slurm: # scontrol show config | grep SlurmUser S

Re: [slurm-users] External provisioning for accounts and other things (?)

2018-09-19 Thread David Rhey
Thanks! I'll check this out. Ya'll are awesome for the responses. On Wed, Sep 19, 2018 at 7:57 AM Chris Samuel wrote: > On Wednesday, 19 September 2018 5:00:58 AM AEST David Rhey wrote: > > > First time caller, long-time listener. Does anyone use any sort of > external > > tool (e.g. a form subm

Re: [slurm-users] External provisioning for accounts and other things (?)

2018-09-19 Thread Chris Samuel
On Wednesday, 19 September 2018 5:00:58 AM AEST David Rhey wrote: > First time caller, long-time listener. Does anyone use any sort of external > tool (e.g. a form submission) that generates accounts for their Slurm > environment (notably for new accounts/allocations)? An example of this > would b

Re: [slurm-users] External provisioning for accounts and other things (?)

2018-09-19 Thread Peter Kjellström
On Tue, 18 Sep 2018 15:00:58 -0400 David Rhey wrote: > Hello, All, > > First time caller, long-time listener. Does anyone use any sort of > external tool (e.g. a form submission) that generates accounts for > their Slurm environment (notably for new accounts/allocations)? An > example of this wo