mpi.setup.rng: Setup parallel RNG on all slaves

mpi.setup.rngstreamR Documentation

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.

Value

No value returned.

Author(s)

Hao Yu


Rmpi documentation built on Sept. 23, 2024, 5:09 p.m.

Related to mpi.setup.rng in Rmpi...