-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slurm gpus_from_gres not quite right #755
Comments
This is the method that this ticket is about: ood_core/lib/ood_core/job/adapters/slurm.rb Lines 620 to 622 in b311447
Looks like We could |
I'm pretty sure that the regex still works. Check out the tests I added in #754. The regex is grabbing the last set of digits after |
Yep, I added similar test cases, but didn't check to see if they worked. In any case, yes with new tests there's nothing to do. |
If that is kept, I think that regex is wrong. Where it might cause issues:
That's a GRES definition on Pitzer, numbers are in the subtype. Depending on where you query the GRES, ie which command, you could also split on
=
and get last element.Originally posted by treydock in #752 (comment)
┆Issue is synchronized with this Asana task by Unito
The text was updated successfully, but these errors were encountered: