Your easiest way to do this would be to write a SLURM job_submit
plugin that does not permit a job to access the "long" partition
unless it is a batch job.
Information about the plugin is here:
http://www.schedmd.com/slurmdocs/job_submit_plugins.html
Quoting Alexis GÜNST HORN <[email protected]>:
Hello to all,
I've 3 partitions : "short", "regular" and "long".
Is it possible to forbid interactive mode one the "long" partition ?
i.e. I don't want "salloc -p long" working.
Is it possible ?
Thanks.
--
Alexis GÜNST HORN
System administrator
Exascale Computing Research