-
Notifications
You must be signed in to change notification settings - Fork 192
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
Parse UNLIMITED and NOT_SET time in SLURM scheduler #3415
Comments
pinging @giovannipizzi who might know |
|
Hmm, what about setting it to The only issue I see with |
I see - also that however it a bit strange and people might not understand what it means. |
TBH I've never actually seen |
I also don't mind just keeping this open until we've moved on #2412. It's really not a big nuisance, and that might be better than a kludgy implementation now. |
In the light of the decision on #2412 that |
Maybe indeed the best thing is to set it to None for |
Suggestions welcome for which magic high number should get the honors. Some possibilities:
|
|
Well, somebody needs to investigate the exact time, and of course I've ignored the time zone as well. Can we get funding for this? |
When running things on a SLURM scheduler, my log is usually cluttered with
This should be easy to fix: In the
_convert_time
method of the SLURM plugin, returnfloat('inf')
if the string matches'UNLIMITED'
(andNone
for'NOT_SET'
, which is also possible according to SLURM docs).Does anyone know if this could have consequences down the line because the places where this is used (
this_job.requested_wallclock_time_seconds
andthis_job.wallclock_time_seconds
) are assumed to beint
? They both go into theJobInfo
, andNone
andfloat('inf')
are JSON-serializable.The text was updated successfully, but these errors were encountered: