English

Using RngStreams for Parallel Random Number Generation in C++ and R

Mathematical Software 2015-05-26 v1 Computation

Abstract

The RngStreams software package provides one viable solution to the problem of creating independent random number streams for simulations in parallel processing environments. Techniques are presented for effectively using RngStreams with C++ programs that are parallelized via OpenMP or MPI. Ways to access the backbone generator from RngStreams in R through the parallel and rstream packages are also described. The ideas in the paper are illustrated with both a simple running example and a Monte Carlo integration application.

Cite

@article{arxiv.1403.7645,
  title  = {Using RngStreams for Parallel Random Number Generation in C++ and R},
  author = {Andrew T. Karl and Randy Eubank and Jelena Milovanovic and Mark Reiser and Dennis Young},
  journal= {arXiv preprint arXiv:1403.7645},
  year   = {2015}
}

Comments

This paper has been accepted by Computational Statistics and is currently in press

R2 v1 2026-06-22T03:38:01.598Z