Hello, all!
I must be doing something wrong. Say I have the following code in a file 
called myMod.jl


module myMod

using NLopt

function compute()
  ...
  pmap(...)
  ...
end

end

and then in a console I do

addprocs()
@everywhere include("myMod.jl")
myMod.compute()

I get a bunch of warnings, one per worker, complaining that the module 
NLopt is being replaced. This seems harmless in practice, but it's hinting 
that I'm doing something wrong.

What's the proper way to do this? (Let all workers know about my module and 
the packages it's using.) I'm on 0.4.3

Thank you!

Reply via email to