Use the job_submit plugin (you will have to write a write a simple
one of your own).Any job submit without a script is interactive
(salloc or srun). Documentation about the plugin is found here:
https://computing.llnl.gov/linux/slurm/job_submit_plugins.html
Not described in that document is a LUA script interface, which
may be an easier to use interface for you.

Moe Jette

Quoting Johann Dobler <[email protected]>:

I am evaluating SLURM for usage on a bigger MPP system and would like to
restrict interactive usage, i.e. jobs sumitted via srun, to a specific
partition.

Usage of a default partition does that to a limited extend, but as users
can escape to any other partition via "srun -p partition_name ...", this
is not what I really want.

Is there an administrative way to enforce that?

Thanks
Hans
--
                     Erst wenn die letzte Software patentiert
                    und der letzte Programmierer verhaftet ist
                               werdet ihr merken,
                  dass Rechtsanwälte nicht programmieren können.





Reply via email to