mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Conjectures 'R Us

Reply
 
Thread Tools
Old 2009-08-23, 11:00   #23
MyDogBuster
 
MyDogBuster's Avatar
 
May 2008
Wilmington, DE

22×23×31 Posts
Default

While running PFGW 3.2.2 standalone (not wirh PRPNet) using this parameter:

ABC $a*3^$b+1 // {number_primes,$a,1}

The program did skip any subsequent tests for any k's found until I had to ctrl-c out. When I restarted the run, the checkpoint worked just fine BUT tests for any found k's were not being skipped. I fixed it by stopping the run again and inserting the PRP tests for the found k's after the checkpoint. Skipping resumed again for those k's. Shouldn't the program read the pfgw.log file (if present) when restarting to get those k's?

Last fiddled with by MyDogBuster on 2009-08-23 at 11:06
MyDogBuster is offline   Reply With Quote
Old 2009-08-23, 11:44   #24
Flatlander
I quite division it
 
Flatlander's Avatar
 
"Chris"
Feb 2005
England

31×67 Posts
Default

It's a known 'quirk'.
http://mersenneforum.org/showpost.ph...6&postcount=13
Last paragraph.
Flatlander is offline   Reply With Quote
Old 2009-08-23, 11:54   #25
MyDogBuster
 
MyDogBuster's Avatar
 
May 2008
Wilmington, DE

54448 Posts
Default

Quote:
It's a known 'quirk'.
http://mersenneforum.org/showpost.ph...6&postcount=13
Last paragraph.
Thanks Chris. It's only real bad news when running a large file expecting to find many primes. I actually thought it was easier to repeat the PRP tests to get the skipping working again. All I have to do is cleanup the output file and remove the duplicate primes from pfgw.log.
MyDogBuster is offline   Reply With Quote
Old 2009-08-23, 12:18   #26
Flatlander
I quite division it
 
Flatlander's Avatar
 
"Chris"
Feb 2005
England

31·67 Posts
Default

Good idea. I think I'll do that in the future.
Flatlander is offline   Reply With Quote
Old 2009-08-23, 17:57   #27
Siemelink
 
Siemelink's Avatar
 
Jan 2006
Hungary

22·67 Posts
Default

Another method would be to sort your file by k instead of n. When a prime/PRP is found this would skip the rest of this k right away. This may get confusing, as we usually track n, not k.

Cheers, Willem.
Siemelink is offline   Reply With Quote
Old 2009-10-23, 03:07   #28
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

101·103 Posts
Default

I've updated the downloadable versions of PFGW in the 1st post here to version 3.2.3. Version 3.2.0 did not correct many of the roundoff errors. Apparently version 3.2.3 does. I'm testing the tough Riesel base 40 from n=1 to 1000 that had many roundoff errors in 3.2.0 to prove it.


Gary
gd_barnes is online now   Reply With Quote
Old 2009-11-12, 06:05   #29
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

101×103 Posts
Default

Quote:
Originally Posted by gd_barnes View Post
I've updated the downloadable versions of PFGW in the 1st post here to version 3.2.3. Version 3.2.0 did not correct many of the roundoff errors. Apparently version 3.2.3 does. I'm testing the tough Riesel base 40 from n=1 to 1000 that had many roundoff errors in 3.2.0 to prove it.


Gary
I figured I should provide an update here. I've now tested 1000's of k's on Sierp bases 35, 39, and 40 to n=2500 or n=10K and only encountered one roundoff error. PFGW 3.2.3 is working very well!
gd_barnes is online now   Reply With Quote
Old 2009-11-12, 12:59   #30
Flatlander
I quite division it
 
Flatlander's Avatar
 
"Chris"
Feb 2005
England

31·67 Posts
Default

Were the timings the same?
Flatlander is offline   Reply With Quote
Old 2009-11-13, 22:19   #31
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

101×103 Posts
Default

I didn't check but I have no reason to think there would be any significant difference.
gd_barnes is online now   Reply With Quote
Old 2009-11-27, 13:31   #32
PCZ
 
PCZ's Avatar
 
Jun 2006
Chertsey Surrey UK

2·179 Posts
Default

3.2.3 hasn't completely eliminated the roundoff errors.
Ran a few base 7 numbers with pfgw 3.2.3 and got this

-----------------------------------------------------------------------
Error occuring in PFGW at Wed Nov 25 18:13:03 2009
Expr = 7370*7^250081-1
Detected in MAXERR>0.45 (round off check) in prp_using_gwnum
Iteration: 506787/702078 ERROR: ROUND OFF 0.5>0.45

(Test aborted, try again using the -a1 switch)

Ony tested about 10 pairs or so i don't know how frequently this error would occur.
PCZ is offline   Reply With Quote
Old 2009-11-27, 15:11   #33
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24·397 Posts
Default

Quote:
Originally Posted by PCZ View Post
3.2.3 hasn't completely eliminated the roundoff errors.
Ran a few base 7 numbers with pfgw 3.2.3 and got this

-----------------------------------------------------------------------
Error occuring in PFGW at Wed Nov 25 18:13:03 2009
Expr = 7370*7^250081-1
Detected in MAXERR>0.45 (round off check) in prp_using_gwnum
Iteration: 506787/702078 ERROR: ROUND OFF 0.5>0.45

(Test aborted, try again using the -a1 switch)

Ony tested about 10 pairs or so i don't know how frequently this error would occur.
If George (Prime95) reads this, he will probably address it in his next release of gwnum. These have become much rarer as George has really been on the ball to address them.
rogue is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime Gap Search latest version of the c code pinhodecarlos Prime Gap Searches 170 2019-12-10 19:33
where can I download the latest version of GMP-ECM aaa120 GMP-ECM 2 2008-10-31 14:28
Where can I download the latest version of primo? aaa120 Software 7 2008-10-27 06:28
Is 23.8.1 the latest Version of Prime95? Bundu Software 1 2004-11-03 23:18
Latest version? [CZ]Pegas Software 3 2002-08-23 17:05

All times are UTC. The time now is 10:34.


Tue Jul 27 10:34:29 UTC 2021 up 4 days, 5:03, 0 users, load averages: 1.84, 1.95, 1.91

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.