How does Julia distribute jobs in the following example?
julia> @everywhere begin
g(n) = pmap(x -> x/10,1:n)
f(n) = sum(g(n))
end
julia> pmap(f,1:10)
10-element Array{Any,1}:
0.1
0.3
0.6
1.0
1.5
2.1
2.8
3.6
4.5
5.5
NOTE: The result is correct and it's only a toy example. I want to use pmap
inside a large function that I sometimes call it using pmap.
Best!
