Learn R Programming

Rmpi (version 0.7-2.1)

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)

Value

No value returned.

Arguments

iseed

An integer to be supplied to set.seed, or NULL not to set reproducible seeds.

comm

A comm number.

Author

Hao Yu

Details

mpi.setup.rngstream can be run only on master node. It can be run later on with the same or different iseed.