Hi Cristóbal,
On 4/24/21 5:37 AM, Cristóbal Navarro wrote:
Hi Community,
I have a set of users still not so familiar with slurm, and yesterday
they bypassed srun/sbatch and just ran their CPU program directly on the
head/login node thinking it would still run on the compute node. I am
aware that I will need to teach them some basic usage, but in the
meanwhile, how have you solved this type of user-behavior problem? Is
there a preffered way to restrict the master/login resources, or
actions, to the regular users ?
Not sure if there is a preferred way. One method is to use cgroups on
the login nodes. This is also integrated in SLURM and may be useful on
the compute nodes, but for the login node, you should use cgroups
directly. Some documentation:
https://events.static.linuxfound.org/images/stories/pdf/lfcs2012_georgiou.pdf?a
https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html
https://opensource.com/article/20/10/cgroups
https://slurm.schedmd.com/cgroups.html
many thanks in advance
--
Cristóbal A. Navarro