Runs with identical random seeds are not reproducible unless the order of initialization is identical.
The following discussion from !370 (merged) should be addressed:
-
@rulrich started a discussion: (+5 comments) A question:
void setSeed(seed_type seed) { seed_ = seed; //update the rgn states for (auto& [streamName, rng] : rngs_) rng.setSeed(seed_) ; }
seeds all the streams with the same seed. Does this mean all the streams produce identical prng sequences? Then we should not use it like this. We assume to have independent streams here, or is there another hidden "seed", like an offset, somewhere? But then it may not be fully reproducible.