![]() |
|
|
#78 | |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
Quote:
phrot is saying that the maxerr exceeded 0.5000 and that it has to reduce the base (from 1594323 to 531441 to 177147, which are all powers of 3) to get the error under 0.5000. If the maxerr reaches 0.5000, then the PRP test will be considered a failure, i.e. incorrect final result. In my experiences with phrot, this is only an issue with bases that are powers of 2 and I would guess that when k is a power of 2 that it also has an issue. The best option might be to just have phrot not perform the test in these circumstances. You can get it to work, but you need to adjust the value for -a to reduce that base. Personally I would rather not screw around trying to get phrot to work (for these numbers) and would use LLR instead. Phil has not spent much time on the issue. I suspect the bug really lies in YEAFFT (an undetected overflow or underflow), but Guillermo has never responded to my inquiries. Phil is probably the most capable person to find the real cause of the problem and fix it. |
|
|
|
|
|
|
#79 |
|
May 2005
23×7×29 Posts |
Here's a final summary:
Code:
PRP 2*3^395004-1 is not prime. RES64: 9C449D92F2BA7CC8. OLD64: C214EADD85530CF4 2*3^395006-1 is not prime. RES64: CAEC92FA11986CAC. OLD64: 60C5B8EE34C94601 LLR 2*3^395004-1 is not prime. RES64: 9C449D92F2BA7CC8. OLD64: C214EADD85530CF4 Time : 1888.625 sec. 2*3^395006-1 is not prime. RES64: CAEC92FA11986CAC. OLD64: 60C5B8EE34C94601 Time : 1877.681 sec. Phrot 2*3^395004-1 [-765338,-352545,278355,-34009] is composite LLR64=8dab4c98fe311ea5. (t=1377.47s) 2*3^395006-1 [482334,680402,-572288,-554118] is composite LLR64=14fad53b089f5bbc. (t=1407.36s) Phrot -a1 2*3^395004-1 [-765338,-352545,278355,-34009] is composite LLR64=8dab4c98fe311ea5. (t=1359.25s) 2*3^395006-1 [482334,680402,-572288,-554118] is composite LLR64=14fad53b089f5bbc. (t=1357.48s) Phrot -a2 2*3^395004-1 [-765338,-352545,278355,-34009] is composite LLR64=8dab4c98fe311ea5. (t=1376.84s) 2*3^395006-1 [482334,680402,-572288,-554118] is composite LLR64=14fad53b089f5bbc. (t=1373.75s) |
|
|
|
|
|
#80 |
|
Jun 2003
13BD16 Posts |
Hmm... Explicitly running the "reduced" form in 0.50
Code:
phrot.50.exe -b=3 -q "486*177147^35909-1" Actually testing 486*177147^35909-1 (35910/73728 limbs) 486*177147^35909-1 [-59983,508,76549,-40851] is composite LLR64=9C449D92F2BA7CC8. (e=0.27984 (0.00550104~4.7058e-14@1.955) t=3338.61s) |
|
|
|
|
|
#81 | |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
Quote:
|
|
|
|
|
|
|
#82 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3·2,083 Posts |
Quote:
|
|
|
|
|
|
|
#83 |
|
Mar 2003
New Zealand
100100001012 Posts |
phrot-0.51-bin.zip includes the error-checking (*_e) executables too.
|
|
|
|
|
|
#84 |
|
May 2005
23×7×29 Posts |
Is it OK to assume that running the error-checking version of Phrot is safe in terms of getting correct results? In my case (2*3^n-1 and 4*3^n-1) it is still faster than LLR/PRP by ~6% and results are OK too
|
|
|
|
|
|
#85 |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
If running 0.51, yes, but not 0.50. I modified the error checking version of 0.51 to consider maxerr over 0.40 to be a bad test rather than the customary 0.50. That is because I was getting invalid results when maxerr was > 0.40 and < 0.50. I don't know what the true lower bound for a bad test is, but I presume that it was closer to 0.45 or a little higher. I probably decided to be too cautious, but I would rather error on the side of caution than not.
|
|
|
|
|
|
#86 |
|
Mar 2007
Austria
2·151 Posts |
I've managed to compile phrot myself on my quad and it seems to don't produce the reported errors.My version is also ~28 percent faster than Geoff's port.
--nuggetprime |
|
|
|
|
|
#87 | |
|
I quite division it
"Chris"
Feb 2005
England
31×67 Posts |
Quote:
![]() ![]() ![]() Would it be possible to compile it with a StopOnPRP option? It could then be used instead of cLLR here: http://mersenneforum.org/showthread.php?t=10864 Last fiddled with by Flatlander on 2008-10-31 at 17:47 Reason: Changed LLR to cLLR |
|
|
|
|
|
|
#88 | |
|
Mar 2007
Austria
2×151 Posts |
Quote:
--nuggetprime |
|
|
|
|
![]() |
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 |