-
Notifications
You must be signed in to change notification settings - Fork 6
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
Support reproducible restarts #544
Comments
One simple workaround, for now, could be to set the seed just before the |
Right, that's what I suggested, but only for when we save a checkpoint, so that it doesn't impact much the generation of random numbers. We can still make the seed "random" by taking it to be the current |
Yes. Seeding to current "simulation" time (converted to |
I believe this issue needs to be moved to |
RRTMGP uses a random number generator. If we want to restart a run and debug it in a deterministic way, we need to control how random numbers are generated.
The simplest way I can think of is to force the seed to something deterministic before writing the restart file. The seed could be anything (even
time
) and could be stored to the restart file, so that we can reproduce the same stream of random numbers.The text was updated successfully, but these errors were encountered: