Not sure why it works on the 2nd attempt, but this may help: http://docs.julialang.org/en/latest/manual/parallel-computing/#code-availability-and-loading-packages
--Tim On Sunday, November 23, 2014 12:11:59 AM Erno Scheiber wrote: > 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?
