Function rng_set_seed_mpi (o2scl)

O2scl : Function List

template<class fp_t = double>
void o2scl::rng_set_seed_mpi(rng<fp_t> &r, int verbose = 1)

MPI version of rng_set_seed()

This function is a MPI wrapper around rng_set_seed().

Note

This function requires that -DO2SCL_MPI is defined and that MPI_Init() has been called previously. It is defined as a template, but currently double is the only floating point type supported.