[slurm-users] Working with local licenses
Tager, Alexey
alexeyt at amazon.com
Fri Sep 25 08:25:33 UTC 2020
Hi Ahmet,
We tried remote licenses, but encountered following issues, which lead us to using of local licenses.
- only low case while inserting by sacctmgr
- dead locks and duplicate records
- direct insert is working and case sensitive, but scontrol doesn't see change until slurmctld restart
Regards
Alexey
-----Original Message-----
From: mercan <ahmet.mercan at uhem.itu.edu.tr>
Sent: Friday, September 25, 2020 11:16 AM
To: Slurm User Community List <slurm-users at lists.schedmd.com>; Tager, Alexey <alexeyt at amazon.com>
Subject: RE: [EXTERNAL] [slurm-users] Working with local licenses
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.
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