We've been using Mersenne Twist (mtwist) for a long time with very good luck. We can get the same random numbers across platforms and in parallel. VERY handy.
http://fmg-www.cs.ucla.edu/geoff/mtwist.html Derek On Wed, Jan 23, 2013 at 2:41 PM, Roy Stogner <[email protected]>wrote: > > On Wed, 23 Jan 2013, Derek Gaston wrote: > > in our Python GetPot parser (yes, we have our very own because the >> official one is not great). >> > > Oh - in that case I should warn/inform you of another new feature: I > did also add a bunch of new DBE options, for cmath functions and > rand/srand. That should be even easier for you to port over, though. > > One thing I'm still thinking about w.r.t. the above: I'd like our PRNG > based results to be completely portable for reproduceability reasons, > but calling cmath rand(), the implementation is system-dependent. > Anyone know what the state of the art is for simple-as-possible > rand()-API-compatible PRNG algorithms, something we could just put > straight into getpot.h? > --- > Roy > ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
