[R-sig-hpc] Rmpi and random number generation
HodgessE at uhd.edu
Sat Jul 20 01:41:29 CEST 2013
Apologies to all...I had changed the function name!
From: Dirk Eddelbuettel [edd at debian.org]
Sent: Friday, July 19, 2013 4:58 PM
To: Hodgess, Erin
Cc: r-sig-hpc at r-project.org
Subject: Re: [R-sig-hpc] Rmpi and random number generation
On 19 July 2013 at 21:30, Hodgess, Erin wrote:
| Here is an Rmpi question, please: I am trying to do a little demo program in which I generate a few random numbers.
| All of the random numbers are the same across the various variables. Has anyone run into this, please?
1) See eg 'Section 6: Random-number generation' in the vignette of the
package "parallel" (part of base R) for an introduction.
2) Even the most naive Google search for 'Rmpi parallel RNG' (and you surely
tried something like that first, yes?) leads to this fine poster by the
author of the Rmpi package:
which contains an example.
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the R-sig-hpc