[slurm-users] sharing licences with non slurm workers

Matteo Guglielmi Matteo.Guglielmi at dalco.ch
Fri Mar 24 14:03:35 UTC 2023


Dear all,


we have a license server which is allocating licenses to a bunk of workstation

not managed with slurm (completely independent boxes) and the nodes of a cluster,

all managed with slurm.


I wrote a simple script that keeps querying the number of licenses used by the

outside "world" and changes the total number of available license in the slurm

database.


Everything works as expected except when all licenses are used outside of slurm.


When this occurs, the total number of licenses is set to zero and slurm refuses

to accept any job asking for one or more licenses with this error message:


"sbatch: error: Batch job submission failed: Invalid license specification"


So,


is there a way to configure slurm to still accept and queue jobs even when the

total number of licenses is set temporarily to zero?


If my approach is not correct,


is there a way to share a common license server between slurm workers and non

slurm workers?


Thank you.



More information about the slurm-users mailing list