Not quite sure what you mean with SharedArrays!? Ok, I know what a SharedArray is but even if I specify r as a SharedArray like
r=SharedArray(Float64,1,100) r[1,:]=collect(1:100) it doesnt work. So what in particular are you refering to to get it run? (Apart from what was already mentioned as workaround by P.Robbe)
