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

Make error messages informative and useful #122

Open
ktbolt opened this issue Apr 5, 2023 · 1 comment
Open

Make error messages informative and useful #122

ktbolt opened this issue Apr 5, 2023 · 1 comment
Assignees
Labels

Comments

@ktbolt
Copy link
Contributor

ktbolt commented Apr 5, 2023

The error messages produced by svSolver are totally useless. A current user was having problems running on an HPC cluster with the svSolver job failing with the error message

****** Error occurred in routine <ctypes  >

  Error code :numtask  : ********

What could this possible mean to a user?

The problem was that the user was running svSolver using 96 processors which was exceeding the hard-coded maximum number of processes (25). The error message should state this and suggest a solution.

@ktbolt ktbolt added the bug label Apr 5, 2023
@ktbolt ktbolt self-assigned this Apr 5, 2023
@ktbolt
Copy link
Contributor Author

ktbolt commented Apr 5, 2023

Another example from the same user

****** Error occurred in routine <restar  >
  Error code :nshg   r :        0

Looking through the svSolver source code I see that this message is not even being generated by the restar routine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant