About the parallel programming in julia.


 Considering the DummyModule example (Julia Language Documentation, Release 
0.4.0-dev, p.157)

we continue with


 bin\julia.exe -p 4 


 include(“. . ./DummyModule.jl”)

using DummyModule

@everywhere a=[1,2,3,4]

@parallel (+) for i=1:4

f(a[i])

end


 It results some warnings and a fatal error “DummyModule not defined” on 
each process. Relaunching the last command it results the correct result. 
This is a strange behavior.


 What's wrong in the above codes?

Reply via email to