Hi;

I found my mistake: "sacctmgr add resource" command without "cluster=CLUSTERNAME" parameter, does not work. But it not complains, also. With cluster parameter it works as expected.

Regards.

Ahmet Mercan



11.04.2017 11:26 tarihinde merca...@itu.edu.tr yazdı:

Hi;

We are using slurm-16.05.5. I am trying to set dynamic licenses
according to "Licenses Guide" as follows:

sacctmgr add resource name=matlab count=10 server=flex5
servertype=flexlm type=license percentallowed=100



sacctmgr shows license:

sacctmgr show resource
      Name     Server     Type  Count % Allocated ServerType
---------- ---------- -------- ------ ----------- ----------
    matlab      flex5  License     10           0     flexlm



But when I try to scontrol is says:

scontrol show lic
No licenses configured in Slurm.



Also srun with "-L matlab@flex5" says:

srun: error: Unable to allocate resources: Invalid license specification



Is it a bug, or did I miss something. Thank you.


Ahmet Mercan.

Reply via email to