-
Notifications
You must be signed in to change notification settings - Fork 117
[bugfix] Keep updating the node list during the job #2634
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
Conversation
Codecov ReportBase: 86.26% // Head: 86.34% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2634 +/- ##
==========================================
+ Coverage 86.26% 86.34% +0.08%
==========================================
Files 60 60
Lines 10989 11062 +73
==========================================
+ Hits 9480 9552 +72
- Misses 1509 1510 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
Here the idea is to use the command > scontrol show hostname xxx0[00-05]
xxx000
xxx001
xxx002
xxx003
xxx004
xxx005I was considering checking if |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rsarm I think the best approach is to simply store the nodespec as we get it back from the sacct or squeue and then convert it to a nodelist using scontrol once at the end after the job has finished. This is the easiest implementation, imho, until we implement the inverse of nodelist_abbrev.
vkarak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated the PR according to my last suggestion. We save the nodespec with every sacct and we expand it into the nodelist the first time this is requested. I have also added a utility function to expand a nodespec into a nodelist.
Closes #2567