Skip to content

Fix job status 'broken' with slurm when job is in fact not broken - #183

Open
bernlu wants to merge 2 commits into
hu-macsy:masterfrom
bernlu:slurm-broken-state
Open

Fix job status 'broken' with slurm when job is in fact not broken#183
bernlu wants to merge 2 commits into
hu-macsy:masterfrom
bernlu:slurm-broken-state

Conversation

@bernlu

@bernlu bernlu commented Feb 26, 2025

Copy link
Copy Markdown
Collaborator

This issue is caused by job names with spaces in them - in that case output parsing was wrong. Fixed by just not querying for the name since it is not used at all.

@bernlu
bernlu requested a review from c-bebop February 26, 2025 14:06

@c-bebop c-bebop left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good, just needs some adaptation/safety check.

Comment thread simexpal/base.py
for entry in output:
entry_jobid = entry[0]
entry_state = entry[4]
entry_state = entry[1]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Doesn't this require that len(output) >= 2?

@@ -0,0 +1,16 @@
simex e purge --failed -f

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Perhaps use an interpreter line here?:

#!/bin/bash

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What's with the tests/examples/slurm-pr-183 folder structure? Do you want to leave it as this? Or what would be the actual folder you want to put this in?

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