Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproducibility #70

Open
bforget opened this issue Mar 4, 2014 · 2 comments
Open

Reproducibility #70

bforget opened this issue Mar 4, 2014 · 2 comments
Assignees

Comments

@bforget
Copy link

bforget commented Mar 4, 2014

Initialize random number generator such that results are reproducible. This will make teaching and grading easier.

@wbinventor
Copy link
Member

This has turned out to be trickier than expected. The rand() routine in stdlib isnn't threadsafe, and seems to do some funny stuff under the hood. Although C++ includes a nice API for random number generation, it requires a C++11 compliant compiler, which isn't available on MIT CRPG clusters. I plan to substitute in my own threadsafe LCG class instead in the next few days.

@wbinventor
Copy link
Member

So this has turned out not to be as easy as expected. I think I've reached
a quota on how much PINSPEC I can deal with and need to refocus on my class
and research for a bit. So as long as it's not absolutely necessary right
now, I'm going to put this on my back burner for a while (or Matt or Jon
can take a look at it...)
On Mar 4, 2014 11:30 AM, "bforget" notifications@github.com wrote:

Initialize random number generator such that results are reproducible.
This will make teaching and grading easier.

Reply to this email directly or view it on GitHubhttps://github.com//issues/70
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants