Skip to content

Conversation

@bernlu
Copy link
Collaborator

@bernlu bernlu commented Feb 26, 2025

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
Copy link
Collaborator

@c-bebop c-bebop left a comment

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.

for entry in output:
entry_jobid = entry[0]
entry_state = entry[4]
entry_state = entry[1]
Copy link
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
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
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