![]() |
![]() |
#463 |
"Alexander"
Nov 2008
The Alamo City
11100110012 Posts |
![]()
PFGW can do a deterministic (i.e. proven prime rather than probably prime) P+1 test on Riesel candidates by passing the -tp argument to it. However, said algorithm is not as efficient as LLR, and I generally only use PFGW on Riesel candidates when the numbers are small (n < 10,000), where the cost of writing the LLR log to disk slows it down considerably versus PFGW (which only writes when a prime is found).
|
![]() |
![]() |
![]() |
#464 |
"Erling B."
Dec 2005
23×13 Posts |
![]()
I also found a big speed difference llr in favor for thouse old cpu I am using. I stick to llr at the moment doing Riesel numbers. Thanks for all the help here.
Last fiddled with by japelprime on 2020-03-04 at 22:32 |
![]() |
![]() |
![]() |
#465 |
Sep 2002
Database er0rr
10001100010002 Posts |
![]()
If there is a "big speed difference" then it is most likely to be due to the different FFT sizes used.
Last fiddled with by paulunderwood on 2020-03-05 at 07:05 |
![]() |
![]() |
![]() |
#466 |
"Mark"
Apr 2003
Between here and the
1B3216 Posts |
![]()
llr will be faster for most, if not all, numbers of the form k*b^n+/-c because it uses a different algorithm. I have purposefully not changed pfgw to use a faster algorithm because it allows for one program to verify the results of the other.
|
![]() |
![]() |
![]() |
#467 |
Feb 2019
97 Posts |
![]()
Is it possible to automatically stop pfgw once a prp is found?
I read about setting number_primes in the input file, but it doesn't seem to work for me :/ Does number_primes only work with confirmed primes (ignoring prps)? |
![]() |
![]() |
![]() |
#468 | |
"Mark"
Apr 2003
Between here and the
1B3216 Posts |
![]() Quote:
So if you have multiple values for $a, it will continue searching. Post your input file and explain what you are trying to accomplish. |
|
![]() |
![]() |
![]() |
#469 |
Dec 2011
After milion nines:)
3×541 Posts |
![]() |
![]() |
![]() |
![]() |
#470 | |
Feb 2019
97 Posts |
![]() Quote:
I may misinterpreted the function of {number_primes,$a,1}. I'd like to search for the smallest prp larger than some 10^n and I wish to stop the program once it found it, so it doesn't search the entire sieve file then. I attached a sieve file for n=4k with candidates of the form 10^4000+c, made with fkbnsieve. So when pfgw finds 10^4000+"something" is prp, I'd like it to stop and search no further. Last fiddled with by matzetoni on 2020-07-04 at 14:46 |
|
![]() |
![]() |
![]() |
#471 | |
"Mark"
Apr 2003
Between here and the
2×592 Posts |
![]() Quote:
I think that you will need to use an edited to change to this format: Code:
ABCD $a^4000+$b [10 61] // {number_primes,$a,1} 0 +50 |
|
![]() |
![]() |
![]() |
#472 | |
Feb 2019
97 Posts |
![]() Quote:
That works! Thanks a lot! ![]() |
|
![]() |
![]() |
![]() |
#473 |
Sep 2010
Portland, OR
22×3×31 Posts |
![]()
I found another repunit which fails repeatedly when run with special modular reduction. This is using pfgw4.0.1, which uses square_carefully for the last 50 iterations. (See post https://www.mersenneforum.org/showpo...&postcount=415 for a previous case.)
In this case the offender is (10^4568899-1)/9: Code:
Detected in MAXERR>0.45 (round off check) in prp_using_gwnum Iteration: 15177501/15177550 ERROR: ROUND OFF 0.5>0.45 PFGW will automatically rerun the test with -a1 ... Detected in MAXERR>0.45 (round off check) in prp_using_gwnum Iteration: 15177501/15177550 ERROR: ROUND OFF 0.5>0.45 PFGW will automatically rerun the test with -a6 (10^4568899-1)/9 ERROR DURING PROCESSING! (96541.0526s+0.0304s) |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
A possible bug in LLR/PFGW while using GWNUM (no bug in P95) | Batalov | Software | 77 | 2015-04-14 09:01 |
PFGW 3.2.0 has been Released | rogue | Software | 94 | 2010-09-14 21:39 |
PFGW 3.2.3 has been Released | rogue | Software | 10 | 2009-10-28 07:07 |
PFGW 3.2.1 has been released | rogue | Software | 5 | 2009-08-10 01:43 |
PFGW 3.1.0 has been Released | rogue | Software | 25 | 2009-07-21 18:13 |