Re: [Rd] OpenMP and random number generation

From: Karl Forner <karl.forner_at_gmail.com>
Date: Wed, 22 Feb 2012 14:52:48 +0100

Hello,

For your information, I plan to release "soon" a package with a fast and multithreaded aware RNG for C++ code in R packages. It is currently part of one of my (not yet accepted) packages and I want to extract it into its own package.
I plan to do some quick benchmarks too.

Of course I can not define exactly when it will be ready.

Best,
Karl

On Wed, Feb 22, 2012 at 9:23 AM, Mathieu Ribatet < mathieu.ribatet_at_math.univ-montp2.fr> wrote:

> Dear all,
>
> Now that R has OpenMP facilities, I'm trying to use it for my own package
> but I'm still wondering if it is safe to use random number generation
> within a OpenMP block. I looked at the R writing extension document both
> on the OpenMP and Random number generation but didn't find any information
> about that.
>
> Could someone tell me if it is safe or not please ?
>
> Best,
> Mathieu
>
> -----------------------------------------------------------------
> I3M, UMR CNRS 5149
> Universite Montpellier II,
> 4 place Eugene Bataillon
> 34095 Montpellier cedex 5 France
> http://www.math.univ-montp2.fr/~ribatet
> Tel: + 33 (0)4 67 14 41 98
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

        [[alternative HTML version deleted]]



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 22 Feb 2012 - 13:55:39 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 22 Feb 2012 - 15:40:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive