I was doing parallel running using multi-cores. Codes are as below. I ran twice of the below codes and Mac gave me the same results. However, when I tried to run the same codes in a Ubuntu machine, different runs gave me different results. Could it because that Random.seed!() doesn’t work for Ubuntu machines?
@distributed for replicate_idx=1:1000
Random.seed!(replicate_idx)
...
end