comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: OT: Amusing(!) bug
Date: Wed, 12 Mar 2014 20:30:30 +0000 (UTC)
Date: 2014-03-12T20:30:30+00:00	[thread overview]
Message-ID: <lfqg56$v7b$1@speranza.aioe.org> (raw)

Seen on a recent FAQ:

>Q: Why do all workers in my distributed MATLAB jobs (e.g.  Monte Carlo
>simulations) use the same sequence of random numbers?
>
>A: By default MATLAB initializes its random number generator at startup
>based on the system time.  Since all nodes in the cluster have
>synchronized clocks, if your job starts up simultaneously on multiple
>nodes those jobs will proceed through the same sequence of random numbers.

             reply	other threads:[~2014-03-12 20:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-12 20:30 tmoran [this message]
2014-03-12 20:55 ` OT: Amusing(!) bug Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox