Hi.

Use include("file.jl")  and add @everywhere in front of the definition of 
every function to be used inside the @parallel loop.

[]´s

On Saturday, April 9, 2016 at 12:02:02 PM UTC-3, Jhan Jar wrote:
>
> Hi, 
>
> In Julia 0.3.5, the following loaded the data and code/functions on all 
> workers:
>
> addprocs(3)
> require("data_loading_script.jl")
> require("functions.jl")
>
> Now, Julia 0.4.5 warns about deprecation of require and suggests switching 
> to 'using' or 'import'.
>
> What is the equivalent in Julia 0.4.5 for the above three lines that 
> worked fine in Julia 0.3.x?
>
>

Reply via email to