-
Notifications
You must be signed in to change notification settings - Fork 198
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
TaskVine vs threadpoolctl import error reporting #3608
Comments
Some observations on my end:
A question to follow up:
|
Ah I see what you mean. Under the hood TaskVine sends a library and then sends a function to run inside the library. The library now requires |
Deeper I think the question would be how hard do we try before giving up and telling the user so... |
Most of the rest of Parsl has a "abandon as soon as there is an error, and let Parsl-level retry policy deal with it". Which usually people have as none, or a small number of tries. That leads, ideally, to whatever the error was being propagated to the user's workflow code as an exception in the relevant task/app
... it would align with that philosophy to not try very hard at all and let someone else (the user, and Parsl retries) deal with it. |
That makes sense to me. I added this to a list of improvements I'm planning for TaskVineExecutor. Thanks for the clarification! |
Describe the bug
TaskVine installed from source starts needing threadpoolctl at commit 0d3c115b082f3f6e365385d7602c923b676a9a3f
pytest of taskvine with this config:
stops working at that commit and instead hangs.
It doesn't log anything that I could find about needing threadpoolctl.
This shouldn't be a problem when installing from proper packaging - but more generally I think it is a problem that some internal piece is breaking and hanging, and that same situation may arise for other more relevant errors.
To Reproduce
Use TaskVine at that commit above with the supplied config file, and make sure threadpoolctl is not installed with
pip
Expected behavior
proper shutdown with error message leading the user towards the problem
Environment
my laptop
The text was updated successfully, but these errors were encountered: