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

Docs: improve the example in the scheduler errors topic #5240

Merged

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Nov 24, 2021

Fixes #5239

The example was advocating to simply check if any exit status was set on
the node, however, it is probably better to check for specific exit
codes that are known to occurr, such as the OOW and OOM errors that can
be raised by the scheduler.

The example is updated to give both examples and give some advice as to
why the one would be used over the other.

The example was advocating to simply check if any exit status was set on
the node, however, it is probably better to check for specific exit
codes that are known to occurr, such as the OOW and OOM errors that can
be raised by the scheduler.

The example is updated to give both examples and give some advice as to
why the one would be used over the other.
@sphuber sphuber requested a review from unkcpz November 24, 2021 17:11
Copy link
Member

@unkcpz unkcpz left a comment

Choose a reason for hiding this comment

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

Thanks! @sphuber Looks all good to me.

And It seems I made a mistake in aiidateam/aiida-quantumespresso#754 to compare exit_status with exit_codes object 🥲

@sphuber
Copy link
Contributor Author

sphuber commented Nov 24, 2021

Indeed, I missed that as well during the review, but realized when writing the docs that as written it probably it wouldn't work. Good to open a PR to aiida-quantumespresso and fix it. And this time also add a test because it clearly went unnoticed.

@sphuber sphuber merged commit d5084d6 into aiidateam:develop Nov 24, 2021
@sphuber sphuber deleted the fix/5239/docs-scheduler-parser-errors branch November 24, 2021 17:34
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.

Docs: improve section on detection scheduler parser errors in output parser
2 participants