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

Document return codes for non-interactive qsub #2623

Open
pinkwah opened this issue Feb 26, 2024 · 0 comments
Open

Document return codes for non-interactive qsub #2623

pinkwah opened this issue Feb 26, 2024 · 0 comments

Comments

@pinkwah
Copy link

pinkwah commented Feb 26, 2024

We are implementing a "driver" that uses OpenPBS to schedule jobs in the way our program expects and with the ability "do the right thing", like resubmitting on known issues.

We want to distinguish between user error (eg. queue does not exist) and known network errors (eg. connection refused). In the case of network errors, we wait and resubmit at a later time. We have noticed that the following error messages seem to have consistent return codes:

  • "Invalid Credential" (171)
  • "Premature end of message" (183)
  • "Connection refused" (162)

We'd like to run OpenPBS's qsub and check the return code rather than searching for error strings in the stderr output, but these errors are not documented in man qsub. Is it possible to document the return codes so that we can future-proof this?

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

No branches or pull requests

1 participant