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

Record the ranges tried so far, from several processes #4

Closed
briandfoy opened this issue Nov 24, 2015 · 2 comments
Closed

Record the ranges tried so far, from several processes #4

briandfoy opened this issue Nov 24, 2015 · 2 comments

Comments

@briandfoy
Copy link
Owner

When a process checks a range of numbers, record that somewhere. Let several processes do this. Let several processes read this to now what to do next.

The usenet article range stuff might be interesting here. And, maybe some redis. the .newsrc or Set::IntSpan will be interesting here.

@briandfoy
Copy link
Owner Author

The tools/checked_ranges figures this out, but the output files didn't note that they'd finished the range they were testing so there are holes at the end of every range. That's not a big deal since we can re-run the tail ranges again to make new output files. The excellent-gmp.c program was modified to print a progress statement at the end of its run.

@briandfoy
Copy link
Owner Author

The latest progress output notes the start and progress values at each checkpoint now, so that makes things easier. The tools/restart_run can no pick up where a run left off since it gets the last value and end value from the output file.

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

No branches or pull requests

1 participant