Can I just briefly revive this thread, as I don't want to spam the issue on 
GitHub? 
I just switched over from 0.3.11, and I'm having some issues with the 
parallel parts of my code. I have a couple of functions written in .jl 
files which I include at the beginning of my code, with each of these files 
containing the relevant using statements to load the modules they are 
depending on. In 0.3.11, I simply did:

@everywhere begin
  include("functions1.jl")
  include("functions2.jl")
  ...
end

to define all the functions needed in the computation on all workers. Doing 
this now however results in one "WARNING: replacing module X" for each 
using statement, plus, in the case of PyCall, in a bunch of other warnings 
methods that couldn't be imported, modules that should have been imported, 
and method defintions that are being overwritten.

What is the correct way to define functions and import modules on all 
workers in 0.4?

Reply via email to