Skip to content

Conversation

@mohalkh5
Copy link
Contributor

No description provided.

@mohalkh5
Copy link
Contributor Author

mohalkh5 commented Dec 4, 2025

Copy link
Contributor

@b-reyes b-reyes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mohalkh5 thank you very much for putting this together. After getting more familiar with this script, I noticed that seff is actually querying slurmdb using the Perl API, rather than using sacct. For this reason, I decided to provide an alternative approach where we also use the Perl API to obtain the information we want.

We do not have to go with this alternative approach, but we should definitely discuss, if we want to. Please see PR 1 where I provide this alternative approach. That PR merges into your add-seff-gpu branch. So, if we decide to go with that, we can merge it in and it will be reflected here.

Additionally, here are some comments on general items.

  • Can we please test this for job arrays ids?
  • Did you create a task with RIT to fix the missing gpus from AccountingStorageTres?
  • Please add the modifications we discussed for seff-array
  • Before we merge this in, we need to add a link to the documentation

@mohalkh5
Copy link
Contributor Author

@b-reyes I have added a comment to the Perl API PR 1 with changes for identifying and printing GPU Type. For PR 5:
I tested the script for job array IDs.
Created a uv environment for seff-array and updated the script to source the environment.
Regarding the AccountingStorageTres, I’ve submitted a ticket to RIT INC1358870
We have the documentation link ready.

* instead of calling salloc use the Slurm perl API to get GPU metrics

* add a space above ──────── CPU Metrics ────────

* modify the units displayed in kbytes2str so they reflect the true units e.g. iB

* Call function to get the GPU type

Co-authored-by: mohalkh5 <mokh8410@colorado.edu>

* apply @mohalkh5's suggestion for a function that gets the GPU type

Co-authored-by: mohalkh5 <mokh8410@colorado.edu>

---------

Co-authored-by: mohalkh5 <mokh8410@colorado.edu>
@b-reyes
Copy link
Contributor

b-reyes commented Dec 18, 2025

@mohalkh5 thank you for reviewing my PR and for adding the additional items for gathering the GPU type. After break, I will do a second round of review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants