_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.9.2 (2023-07-05)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using Random, Distributed
julia> Random.seed!(0); @everywhere (t = 2); rand(1)
1-element Vector{Float64}:
0.6616126907308237
julia> Random.seed!(0); @everywhere (t = 2); rand(1)
1-element Vector{Float64}:
0.6616126907308237
julia> Random.seed!(0); rand(1)
1-element Vector{Float64}:
0.4056994708920292
julia> Random.seed!(0); rand(1)
1-element Vector{Float64}:
0.4056994708920292
Is it expected for the Distributed.@everywhere
to alter the random generator state?