<div dir="ltr"><div><div><div>Hi Loris,<br><br></div>Thank you for your reply.<br></div><div>SLURM jobs are submitted by a JAVA application and there is only one SLURM user.<br></div><div>Should we use another plugin (not multifactor plugin) ? Is it a way to fix user rights ?<br></div><br>Below my slurm.conf ("anonymized") :<br><br>SlurmctldPidFile=/var/run/slurm-llnl/slurmctld.pid<br>SlurmdPidFile=/var/run/slurm-llnl/slurmd.pid<br>SlurmdSpoolDir=/var/spool/slurm-llnl/slurmd<br>StateSaveLocation=/var/run/slurm-llnl/slurmctld<br>SlurmUser=slurm<br>SlurmdDebug=debug<br>SwitchType=switch/none<br><br>TaskPlugin=task/affinity<br>ClusterName=cluster<br>MaxJobCount=300000<br>MinJobAge=21600<br><br># TIMERS<br>SlurmdTimeout=600<br>MessageTimeout=90<br>ResumeTimeout=120<br><br># SCHEDULING<br>FastSchedule=1<br>SchedulerType=sched/backfill<br>SelectType=select/cons_res<br>SelectTypeParameters=CR_Core<br>PriorityType=priority/multifactor<br><br># LOGGING AND ACCOUNTING<br>AccountingStorageType=accounting_storage/filetxt<br>AccountingStorageLoc=/var/log/slurm-llnl/job_monitoring<br>JobFileAppend=1<br>JobAcctGatherType=jobacct_gather/linux<br>SlurmctldLogFile=/var/log/slurm-llnl/slurmctld.log<br>SlurmdLogFile=/var/log/slurm-llnl/slurmd.log<br><br># COMPUTE NODES<br>NodeName=yyy NodeHostName=<a href="http://yyy.yyy.yyy.fr">yyy.yyy.yyy.fr</a> Boards=1 SocketsPerBoard=4 CoresPerSocket=18 ThreadsPerCore=2 RealMemory=258355<br>NodeName=xxx NodeHostName=<a href="http://xxx.xxx.xxx.fr">xxx.xxx.xxx.fr</a> Boards=1 SocketsPerBoard=4 CoresPerSocket=18 ThreadsPerCore=2 RealMemory=258355<br><br># Exploit<br>PartitionName=xxx1 Nodes=xxx Default=YES MaxTime=INFINITE MaxCPUsPerNode=136 Shared=NO OverSubscribe=NO<br>PartitionName=xxx2 Nodes=xxx MaxTime=INFINITE MaxCPUsPerNode=6 Shared=NO OverSubscribe=NO<br>PartitionName=xxx3 Nodes=xxx MaxTime=INFINITE MaxCPUsPerNode=2 Shared=NO OverSubscribe=NO# NOE noeyyfmb<br></div># Secours<br><div>PartitionName=yyy1 Nodes=yyy MaxTime=INFINITE MaxCPUsPerNode=136 Shared=NO OverSubscribe=NO<br>PartitionName=yyy2 Nodes=yyy MaxTime=INFINITE MaxCPUsPerNode=6 Shared=NO OverSubscribe=NO<br>PartitionName=yyy3 Nodes=yyy MaxTime=INFINITE MaxCPUsPerNode=2 Shared=NO OverSubscribe=NO<br><br><br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-12 11:51 GMT+01:00 Loris Bennett <span dir="ltr"><<a href="mailto:loris.bennett@fu-berlin.de" target="_blank">loris.bennett@fu-berlin.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Fabien,<br>
<div><div class="h5"><br>
Fabien ELOY <<a href="mailto:eloy.polytech@gmail.com">eloy.polytech@gmail.com</a>> writes:<br>
<br>
> Hello,<br>
><br>
> I am trying to set priority ... but it doesn't work !<br>
><br>
> If I type sudo srun --priority=X, it's OK. But if I use my "standard" user it's not OK (priority calculated by slurm).<br>
><br>
> I do not have a database used with SLURM.<br>
><br>
> Il my slurm.conf, "SlurmUser=slurm" and my server has 2 users in the same group (slurm) : these users can run SLURM command ... but impossible to set priority.<br>
><br>
> Is there a solution to define a user as an admin SLURM ? Is it the problem there ?<br>
><br>
> Thank you for your help.<br>
><br>
> Best regards,<br>
<br>
</div></div>I assume you are using the multifactor plugin and I don't think normal<br>
users are intended to be able to set the priority themselves. The<br>
danger would be that all users would increase their priority as much as<br>
possible.<br>
<br>
You probably what to look at QOS. This would allow you to, say, define<br>
a high-priority QOS which had a priority bonus but also limit on how<br>
many cores per user can uses the QOS. That way<br>
<br>
Cheers,<br>
<br>
Loris<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Dr. Loris Bennett (Mr.)<br>
ZEDAT, Freie Universität Berlin Email <a href="mailto:loris.bennett@fu-berlin.de">loris.bennett@fu-berlin.de</a><br>
<br>
</font></span></blockquote></div><br></div>