More directly:
https://github.com/JuliaLang/julia/issues/9245

The other main "gotcha":
https://github.com/JuliaLang/julia/issues/3674

At least in the past, I've seen undesired forced module reloading with the 
@everywhere using X trick. But for me this version works reliably:
for p in workers()
    remotecall_fetch(p, eval, :(using X))
end

Finally, I'd call both of these bugs, and if someone finds time to fix them it 
would be awesome.

--Tim

On Wednesday, November 25, 2015 05:41:21 PM Steven G. Johnson wrote:
> Right now, the best way to bring a module into scope on all workers is
> 
> import FooModule
> @everywhere using FooModule
> 
> 
> the first line loads it globally does not bring FooModule's exported
> symbols into the local namespaces, whereas the second line imports the
> exported symbols.
> 
> I agree that this is a bit confusing; this is a known issue.
>  See https://github.com/JuliaLang/julia/issues/12381

Reply via email to