<div dir="ltr"><div>Many thanks to all,</div><div>I will try to set cgroups properly<br></div><div>best<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 26, 2021 at 2:04 AM Marcus Wagner <<a href="mailto:wagner@itc.rwth-aachen.de">wagner@itc.rwth-aachen.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
we also have a wrapper script, together with a number of "MPI-Backends".<br>
If mpiexec is called on the login nodes, only the first process is started on the login node, the rest runs on the MPI backends.<br>
<br>
Best<br>
Marcus<br>
<br>
Am 25.04.2021 um 09:46 schrieb Patrick Begou:<br>
> Hi,<br>
> <br>
> I also saw a cluster setup where mpirun or mpiexec commands were<br>
> replaced by a shell script just saying "please use srun or sbatch...".<br>
> <br>
> Patrick<br>
> <br>
> Le 24/04/2021 à 10:03, Ole Holm Nielsen a écrit :<br>
>> On 24-04-2021 04:37, Cristóbal Navarro wrote:<br>
>>> Hi Community,<br>
>>> I have a set of users still not so familiar with slurm, and yesterday<br>
>>> they bypassed srun/sbatch and just ran their CPU program directly on<br>
>>> the head/login node thinking it would still run on the compute node.<br>
>>> I am aware that I will need to teach them some basic usage, but in<br>
>>> the meanwhile, how have you solved this type of user-behavior<br>
>>> problem? Is there a preffered way to restrict the master/login<br>
>>> resources, or actions,  to the regular users ?<br>
>><br>
>> We restrict user limits in /etc/security/limits.conf so users can't<br>
>> run very long or very big tasks on the login nodes:<br>
>><br>
>> # Normal user limits<br>
>> *               hard    cpu             20<br>
>> *               hard    rss             50000000<br>
>> *               hard    data            50000000<br>
>> *               soft    stack           40000000<br>
>> *               hard    stack           50000000<br>
>> *               hard    nproc           250<br>
>><br>
>> /Ole<br>
>><br>
> <br>
> <br>
<br>
-- <br>
Dipl.-Inf. Marcus Wagner<br>
<br>
IT Center<br>
Gruppe: Systemgruppe Linux<br>
Abteilung: Systeme und Betrieb<br>
RWTH Aachen University<br>
Seffenter Weg 23<br>
52074 Aachen<br>
Tel: +49 241 80-24383<br>
Fax: +49 241 80-624383<br>
<a href="mailto:wagner@itc.rwth-aachen.de" target="_blank">wagner@itc.rwth-aachen.de</a><br>
<a href="http://www.itc.rwth-aachen.de" rel="noreferrer" target="_blank">www.itc.rwth-aachen.de</a><br>
<br>
Social Media Kanäle des IT Centers:<br>
<a href="https://blog.rwth-aachen.de/itc/" rel="noreferrer" target="_blank">https://blog.rwth-aachen.de/itc/</a><br>
<a href="https://www.facebook.com/itcenterrwth" rel="noreferrer" target="_blank">https://www.facebook.com/itcenterrwth</a><br>
<a href="https://www.linkedin.com/company/itcenterrwth" rel="noreferrer" target="_blank">https://www.linkedin.com/company/itcenterrwth</a><br>
<a href="https://twitter.com/ITCenterRWTH" rel="noreferrer" target="_blank">https://twitter.com/ITCenterRWTH</a><br>
<a href="https://www.youtube.com/channel/UCKKDJJukeRwO0LP-ac8x8rQ" rel="noreferrer" target="_blank">https://www.youtube.com/channel/UCKKDJJukeRwO0LP-ac8x8rQ</a><br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Cristóbal A. Navarro<br></div></div></div></div></div></div>