As far as I understood @everywhere lets every worker know about some function for example
@everywhere f(x)=x.^2 Now my function additionally accesses to some big array for example @everywhere f(x)=sum( x./r ,2) where r could be sth like r=zeros(1,100) r[1,:]=1:100 When I now call the function the worker doesnt know about r, but variables like r do not need an @everywhere,right? How can I achieve this ?