[slurm-users] Working with local licenses

mercan ahmet.mercan at uhem.itu.edu.tr
Fri Sep 25 08:15:39 UTC 2020


Hi;

You don't need to modify slurm.conf and reconfigure. There is a 
remote/dynamic licenses feature:

https://slurm.schedmd.com/licenses.html

You can add licenses using scontrol command such as:

sacctmgr add resource name=matlab count=50 server=rlm_host \
   servertype=rlm type=license

Regards;

Ahmet M.


On 25.09.2020 11:09, Tager, Alexey wrote:
>
> Hello,
>
> We use  local licenses by updating slurm.conf with script,
>
> which talking with FlexLM
>
> We execute “scontrol reconfigure” every 1 min after file change in crontab
>
> Users get following error when run slurm commands (srun,scontrol etc.) 
> during
>
> crontab execution, as result srun failed on license request
>
> Any option to prevent such behavior ?
>
> [September 24, 2020, 7:18 PM] Tager, Alexey: scontrol: error: Parse 
> error in file /tools/slurm/etc/slurm_licenses.conf line 10: "Licenses="
>
> scontrol: error: "Include" failed in file /tools/slurm/etc/slurm.conf 
> line 13
>
> scontrol: fatal: Unable to process configuration file
>
> /Alexey Tager/
>



More information about the slurm-users mailing list