Filter out invalid values of available resources provided by SLURM
The SLURM command scontrol show partitions
is used to aquire the available resources and the generation of resconfig. Unfortunately, some resources have invalid values (I could not find any explanation of the meaning of the negative value in the SLURM docs).
See related issue: vre-language#246 (closed)
The suggested solution: replace the invalid values with null