![]() |
|
|
#89 |
|
Mar 2007
Austria
2×151 Posts |
Stop-on-prp files now available. Just add the -s switch and it will stop on the first prp.
--nuggetprime Last fiddled with by nuggetprime on 2008-10-31 at 19:18 |
|
|
|
|
|
#90 |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
624910 Posts |
|
|
|
|
|
|
#91 | |
|
"Mark"
Apr 2003
Between here and the
143138 Posts |
Quote:
What I really would like to do next in phrot is to save checkpoint information so that tests can be stopped and re-started. I haven't had the time to work on it, but if someone else wants to attempt that, they are free to do so. |
|
|
|
|
|
|
#92 |
|
May 2005
65816 Posts |
|
|
|
|
|
|
#93 |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
I have finally added checkpointing to phrot and support for -s (stopOnPRP). Checkpointing means that phrot will write the current data to disk when during a test. When restarting, phrot will then restart from where it last checkpointed. This will be very helpful when running long tests and you need to shutdown or restart your computer and don't want to have to start a test from the beginning.
I have attached the sources for phrot 0.52. If anyone runs into any issues, please let me know. |
|
|
|
|
|
#94 |
|
Mar 2006
Germany
23×3×112 Posts |
can anyone compile this version on WIN-platform and attach the exe here? thanks
|
|
|
|
|
|
#96 | |
|
May 2008
Wilmington, DE
1011001001002 Posts |
Quote:
|
|
|
|
|
|
|
#97 |
|
"Mark"
Apr 2003
Between here and the
11×577 Posts |
|
|
|
|
|
|
#98 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
11000011010012 Posts |
Quote:
![]() Another option is to redirect the output to a file as before, but use ">>" instead of ">"--i.e., append to the output file instead of overwriting it.
|
|
|
|
|
|
|
#99 | |
|
"Mark"
Apr 2003
Between here and the
143138 Posts |
Quote:
The -s option is also useful for the Conjectures 'R Us project. Here is how you can do it.
phrot will stop testing each file when the first prime is found or when it finishes processing the file, whichever comes first. All primes will be in Phrot.prp. All residuals will be in results.out. I have been thinking about modifying phrot so that if k or b is a power of 2 that it will not perform the test unless using the error checking version. Does anyone have a strong opinion on that? |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PRPNET & Phrot discussion | masser | Sierpinski/Riesel Base 5 | 27 | 2010-09-08 03:10 |
| Phrot announcements | rogue | Conjectures 'R Us | 33 | 2010-01-22 19:39 |
| LLR/PRP/phrot/pfgw:- Pick A Range | masser | Sierpinski/Riesel Base 5 | 8 | 2009-08-18 19:44 |
| Using Phrot For LLRNET Reservations | thommy | Sierpinski/Riesel Base 5 | 1 | 2008-11-03 14:53 |
| Programmer needed to write networked Phrot app! | mdettweiler | Programming | 0 | 2008-04-07 21:25 |