Closed liu-shaobo closed 5 months ago
Hi! Thanks again for filing an issue. What mode are you running the exporter in? --cli-fallback or json?
User Cpu alloc is calculated by the number of CPU's Slurm has allocated for that user. If you've configured your cluster in a way that allows slurm to oversubscribe the number of cores per machine, it will show more allocated nodes than physical cores available in the cluster. The logic can be found here
Closing due to inactivity
Closing due to inactivity use --cli-fallback parameters, not using oversubscribe,It seems that pending and running jobs are added together.
I see, I don't think I have enough information. Do you mind doing the following:
squeue --states=all -h -o '{"a": "%a", "id": %A, "end_time": "%e", "u": "%u", "state": "%T", "p": "%P", "cpu": %C, "mem": "%m"}'
. Please obviously remove and proprietary info and replace it.I think this has been solved after adding state to slurm_user_cpu_alloc
. The problem here was that we were adding all states, hence it'd be above total
hi,does "slurm_user_cpu_alloc" refer to the number of cores? my cluster doesn’t have that many cores.