[Omp] Reproducing results from randomizer

ThanhVu H. Nguyen - Gmail nguyenthanhvuh at gmail.com
Sat Jul 23 14:54:21 PDT 2005



--- "Meadows, Lawrence F" <lawrence.f.meadows at intel.com> wrote:

> Look at http://sprng.cs.fsu.edu/ 

I was suggested to assign a random num gen to each thread but I was not
sure exactly how it is done. Some code example perhaps ?
 I try to avoid using a different number generator since all my
projects have been using the Mersenne Twister rng.  Thanks


> 
> >-----Original Message-----
> >From: Omp-bounces at openmp.org [mailto:Omp-bounces at openmp.org] 
> >On Behalf Of ThanhVu H. Nguyen - Gmail
> >Sent: Friday, July 22, 2005 8:45 PM
> >To: omp at openmp.org
> >Subject: [Omp] Reproducing results from randomizer
> >
> >Hi, in programs that have randomization, I generally save the seed
> to
> >reproduce the data.  But when doing parallel with openmp,  that
> method
> >no longer works (due to different process schedule order),  how do
> you
> >deal with such thing in openmp parallel programming ?  Thanks  
> >
> >tvn,
> >
> >ThanhVu H. Nguyen
> >
> >tvn,
> >
> >ThanhVu H. Nguyen
> >
> >_______________________________________________
> >Omp mailing list
> >Omp at openmp.org
> >http://openmp.org/mailman/listinfo/omp_openmp.org
> >
> 


tvn,

ThanhVu H. Nguyen




More information about the Omp mailing list