Skip to content
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

squeue backend does not update the job's nodelist #3174

Closed
vkarak opened this issue Apr 26, 2024 · 0 comments · Fixed by #3184
Closed

squeue backend does not update the job's nodelist #3174

vkarak opened this issue Apr 26, 2024 · 0 comments · Fixed by #3184

Comments

@vkarak
Copy link
Contributor

vkarak commented Apr 26, 2024

Although we request the nodelist here, we don't use it to update the job's nodelist:

completed = osext.run_command(
f'squeue -h -j {",".join(job.jobid for job in jobs)} '
f'-o "%%i|%%T|%%N|%%r"'
)
# We need the match objects, so we have to use finditer()
state_match = list(re.finditer(
fr'^(?P<jobid>{self._jobid_patt})\|(?P<state>\S+)\|'
fr'(?P<nodespec>\S*)\|(?P<reason>.+)',
completed.stdout, re.MULTILINE)
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants