When working with multiple SharedArrays, I used to be able to do:

julia> x = SharedArray(Float64,1)
1-element SharedArray{Float64,1}:
0.0

julia> similar(x)
1-element SharedArray{Float64,1}:
0.0

When I got to the office this morning, I was close to a heart attack, as 
all my model outputs that were computed overnight made no sense whatsoever, 
and no git revert was able to restore them. I finally figured out that the 
reason was an update to 0.4.0-rc1, wher I'm getting:

julia> x = SharedArray(Float64,1)
1-element SharedArray{Float64,1}:
0.0

julia> similar(x)
1-element SharedArray{Float64,1}:
0.0

Is this expected/intended? 

(And, while I'm at it, bonus question for SharedArray experts: is the pids 
keyword necessary when creating the array? I can't figure out from 
sharedarray.jl what happens when it is left out.)

Reply via email to