rackslab / Slurm-web

Open source web dashboard for Slurm HPC clusters
https://slurm-web.com
GNU General Public License v3.0
340 stars 97 forks source link

Reproduce Slurm logic to represent node states #405

Open rezib opened 1 day ago

rezib commented 1 day ago

Currently, the logic in Slurm-web to represent node state is basic and miss many corner cases. It should mimic Slurm logic implemented in node_state_string, eg: https://github.com/SchedMD/slurm/blob/844d20a7a859517fb2d5f05f03c723bbe5d5f058/src/common/slurm_protocol_defs.c#L3402