From mathieu.ribatet at math.univ-montp2.fr  Wed Feb 22 09:23:20 2012
From: mathieu.ribatet at math.univ-montp2.fr (Mathieu Ribatet)
Date: Wed, 22 Feb 2012 09:23:20 +0100
Subject: [Rd] OpenMP and random number generation
Message-ID: <A39D2681-A25E-4BD4-933F-A3AF706A4D6E@math.univ-montp2.fr>

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



[Rd] OpenMP and random number generation
Mathieu Ribatet