mpi.setup.rngstream: Setup parallel RNG on all slaves
Description
mpi.setup.rngstream
setups RNGstream on all slaves.
Usage
mpi.setup.rngstream(iseed=NULL, comm = 1)
Arguments
- iseed
An integer to be supplied to set.seed
, or NULL not to set reproducible seeds.
- comm
A comm number.
Details
mpi.setup.rngstream
can be run only on master node. It can be run later on with the same or
different iseed.