On 14-05-2021 08:52, Diego Zuccato wrote:
Il 14/05/2021 08:19, Christopher Samuel ha scritto:

sreport -t percent -T ALL cluster utilization
"sreport: fatal: No valid TRES given" :(

This works correctly on our cluster:

$  sreport -t percent -T ALL cluster utilization
--------------------------------------------------------------------------------
Cluster Utilization 2021-05-13T00:00:00 - 2021-05-13T23:59:59
Usage reported in Percentage of Total
--------------------------------------------------------------------------------
Cluster TRES Name Allocated Down PLND Dow Idle Reserved Reported --------- -------------- -------------- ----------- -------- ------------- -------- -------------- niflheim cpu 98.22% 0.11% 0.00% 0.00% 1.67% 100.00% niflheim mem 86.52% 0.10% 0.00% 13.38% 0.00% 100.00% niflheim energy 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% niflheim billing 92.70% 0.04% 0.00% 7.26% 0.00% 100.00% niflheim fs/disk 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% niflheim vmem 0.00% 0.00% 0.00% 0.00% 0.00% 0.00% niflheim pages 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%


Referring to https://slurm.schedmd.com/tres.html, which TRES are defined on your cluster?

$ sacctmgr show tres

I get this output:

    Type            Name     ID
-------- --------------- ------
     cpu                      1
     mem                      2
  energy                      3
    node                      4
 billing                      5
      fs            disk      6
    vmem                      7
   pages                      8

/Ole

Reply via email to