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

Already on GitHub? Sign in to your account

Mechanism to save RNG state #219

kostrzewa opened this Issue Jan 25, 2013 · 0 comments


None yet
1 participant

kostrzewa commented Jan 25, 2013

There are certain situations where it would be beneficial to be able to take a gauge configuration and re-run part of a simulation from exactly the same state. To this end it would be useful to have a mechanism to save and restore the RNG state array for each process or, if running in repro mode, for process 0.

Storing it as part of the gauge configuration as meta-information is clearly not an option so I thought it would perhaps be useful to have another (optional?) output file which is stored at NSave intervals (or maybe even at each trajectory).

As a user interface I though of allowing the random seed to be set as a filename which contains the RNG state, but a "readin" option plus another parameter containing the filename is equally possible.

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