-
Notifications
You must be signed in to change notification settings - Fork 11
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
Distributed.send_msg()
silently drops messages containing methods not defined on workers
#58
Comments
My related? issue here: JuliaLang/julia#30558 |
In this case the versions of Julia are the same, so I don’t think these two issues are related. |
I should really edit that issue. I was trying to highlight that the error I was supposed to be seeing Reading your issue again, it does seem its not related. But from discourse discussions, it does seem that |
This is because
Regular errors in the case of
However, it appears that deserialization errors are not being printed to stderr for |
Example:
If you put
@everywhere
before the definition ofprint_message
then everything works; but if you don't, there is no error; the worker just silently ignores it. I would expect an error to tell me what went wrong. I'm not sure at what point things are going wrong; it does not appear to be a runtime error, as this occurs even when I am sending a message to call a function that is defined, but it is supposed to invoke a callback that may not be defined. Example:Notice how the
"Within do_work"
message is not emitted in the second case. My best guess is that something in the serialization code is throwing an error and that error is getting swallowed, but I haven't had time to debug this fully.The text was updated successfully, but these errors were encountered: