On Friday, July 31, 2015 at 7:30:44 AM UTC-4, Tim Holy wrote:
>
> If MyModule.jl is on your LOAD_PATH, 
>
>     @everywhere import MyModule 


Actually, the right thing is just:

import MyModule


That will import it on all workers (@everywhere is redundant), and is 
actually better than @everywhere because if the module needs to be 
re-precompiled then it will be compiled only once. 

Reply via email to