You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been playing with the pyslurm project to create some reporting scripts, and I am amazed at all the helpful functionality it has offered me so far. Until now I have just been using the sacct outputs and using bash utilities to manipulate outputs, which works, but seems a bit hack-ey :D
If I understand correctly, the class pyslurm.Job only allows you to retrieve information about running / pending jobs, and pyslurm.db.Job allows you to look at statistics of finished jobs. For my use case of reporting, I need to know what GRES resources a job has used from the slurmdb. For pyslurm.Jobthere are a few GRES properties, but none for pyslurm.db.Job. Is this something that is currently not possible? Or is there something I am missing?
If it is currently not possible, are there any plans to implement this in the future?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hiya
I have been playing with the
pyslurmproject to create some reporting scripts, and I am amazed at all the helpful functionality it has offered me so far. Until now I have just been using thesacctoutputs and using bash utilities to manipulate outputs, which works, but seems a bit hack-ey :DIf I understand correctly, the class
pyslurm.Jobonly allows you to retrieve information about running / pending jobs, andpyslurm.db.Joballows you to look at statistics of finished jobs. For my use case of reporting, I need to know what GRES resources a job has used from theslurmdb. Forpyslurm.Jobthere are a few GRES properties, but none forpyslurm.db.Job. Is this something that is currently not possible? Or is there something I am missing?If it is currently not possible, are there any plans to implement this in the future?
Beta Was this translation helpful? Give feedback.
All reactions