-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Set environment for remote workers? #24535
Comments
I think this should be done via a |
That makes sense. I have a functioning implementation at work ... just trying to jump through the right hoops to release it :) |
Any update on this issue? |
Hi! Unfortunately I was not able to get approval to release the work before I left that job. There is some small chance that @samtkaplan may have some info... |
Duplicate of #18074 |
For the record: Julia 1.6 added a new |
Hello Julia-ers!
When adding remote workers with
addprocs()
, I would really love to be able to send my current working environment along for the new Julia workers. Currently this does not happen for workers added using anSSHManager
, though local workers do seem to inherit the same environment.After browsing the repo, I think that this behavior could (gulp) easily be added by extending the code in managers.jl to set all, or some specified subset, of the current environment variables in the same way that
JULIA_WORKER_TIMEOUT
is set. Of course that might not be the default behavior, but maybe an option? Maybe something like (but not identical to):Is this a reasonable thing to propose? Please let me know if this is a terrible idea! Otherwise I will be happy to attempt to implement this. I just wanted to float the idea here first.
Thanks!
The text was updated successfully, but these errors were encountered: