obiwan.qa.cpu_hours

Uses ‘SLURM sacct’ to compute the number of CPU and MPP hours

Functions

cpu_hrs(nodes, h, m, s[, mpp, cori])
param nodes:number of nodes
dobash(cmd)
obiwan.qa.cpu_hours.cpu_hrs(nodes, h, m, s, mpp=False, cori=True)[source]
Parameters:
  • nodes – number of nodes
  • h,m,s – hours,min,sec