mersenneforum.org  

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

Reply
 
Thread Tools
Old 2009-12-27, 15:28   #45
Xentar
 
Xentar's Avatar
 
Sep 2006

18710 Posts
Default

another round off error, Version 3.2.3:

-----------------------------------------------------------------------
Error occuring in PFGW at Sun Dec 27 09:41:59 2009
Expr = 19464*19^31895+1
Detected in MAXERR>0.45 (round off check) in prp_using_gwnum
Iteration: 107198/135501 ERROR: ROUND OFF 0.5>0.45

(Test aborted, try again using the -a1 switch)
Xentar is offline   Reply With Quote
Old 2010-01-03, 02:25   #46
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24×397 Posts
Default PFGW 3.2.5 has been released

I thought I posted this earlier, but must not have hit submit.

I have release PFGW 3.2.5. Here is a list of changes.
  • Fixed b^n+1 check so that it uses fast modular reduction
  • Some prime numbers silently fail (i.e. no errors detected) when testing for primality. To address this, PFGW will tell gwnum to use an irrational FFT for all tests.
  • Added new options for PFGW scripts. It can now do primality tests. It will also differentiate between numbers that are PRP and numbers that are prime based upon those tests. Please read scriptfileformat.txt for more information on how to use these new features. Note that old PFGW scripts might not work correctly with this version of PFGW.
  • PFGW scripts can now use forms (input as strings) for the PRP test. Previous releases handled decimal expansions only. With this release PFGW scripts can take advantage of fast modular reduction.

This release has significant changes for people using PFGW scripts (such as Conjectures 'R Us). Since scripts can now pass an expression (via a string) to the PRP comment, PFGW will output that expression, not its decimal expansion.

I have not modified the scriptify perl script or the documentation for it. I will leave those items to someone who knows perl.

Here are the links:
PFGW 3.2.5 for Windows
PFGW 3.2.5 for Linux
PFGW 3.2.5 for MacIntel
rogue is offline   Reply With Quote
Old 2010-01-03, 02:44   #47
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Quote:
Originally Posted by rogue View Post
I thought I posted this earlier, but must not have hit submit.
Hmm, I saw it too. I even downloaded the latest version as soon as it showed up, so I'm sure it wasn't a fluke. Perhaps it was in a different thread?

Edit: Ah, right, that was it. There's two "PFGW 3.2.0 released" threads: one in the Software forum and one here. You previously posted it in the Software forum.

Last fiddled with by mdettweiler on 2010-01-03 at 02:44
mdettweiler is offline   Reply With Quote
Old 2010-01-04, 21:46   #48
Xentar
 
Xentar's Avatar
 
Sep 2006

11×17 Posts
Default

Quote:
Originally Posted by rogue View Post
Some prime numbers silently fail (i.e. no errors detected) when testing for primality. To address this, PFGW will tell gwnum to use an irrational FFT for all tests.
I am not sure, if I understand this correctly. But how many tests are affected here? Do we have to recheck some / all tests?

Edit:
Ahhhhhhhhhh, help, what's happening here? Just upgraded from 3.2.3 to 3.2.5 and the new version does not accept my checkpoint in the ini file.. ?
Quote:
***WARNING! file t16_b19.prp line 779870 does not match what is expected.
Expecting: 241036*19^32634+1
File contained: 253816 32634
Starting over at the beginning of the file
and then it starts from the beginning (line 1)
Quote:
86634 15 trivially factors as: 3*5*31^2*601
254754 15 trivially factors as: 3*5*7*331*733
377694 15 trivially factors as: 3*5*37*68053
484654 15 trivially factors as: 5*61*131*1213
555174 15 trivially factors as: 3*5*127*151*193
746524 15 trivially factors as: 5*14930483
The input file I am using looks like
Quote:
252188461193:P:1:19:257
86634 15
254754 15
377694 15
484654 15
555174 15
746524 15
299626 16
worked fine with the previous version..

Edit 2: I think the new version "forgot" how to convert this k n pair to the right format? Has it something to do with the script changes?

Last fiddled with by Xentar on 2010-01-04 at 22:05
Xentar is offline   Reply With Quote
Old 2010-01-05, 01:28   #49
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24×397 Posts
Default

Quote:
Originally Posted by Xentar View Post
I am not sure, if I understand this correctly. But how many tests are affected here? Do we have to recheck some / all tests?

Edit:
Ahhhhhhhhhh, help, what's happening here? Just upgraded from 3.2.3 to 3.2.5 and the new version does not accept my checkpoint in the ini file.. ?
and then it starts from the beginning (line 1)
I was not aware of this, but apparently the save format is different because of the irrational FFT. I suggest deleting the pfr file before starting PFGW when upgrading. In other words, this will only affect a saved test.

Quote:
Originally Posted by Xentar View Post
worked fine with the previous version..

Edit 2: I think the new version "forgot" how to convert this k n pair to the right format? Has it something to do with the script changes?
I do not know what is causing this issue with NewPGen files, but it is most likely something I screwed up with the changes for script handling. I'll look at it tomorrow.
rogue is offline   Reply With Quote
Old 2010-01-05, 16:54   #50
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

143208 Posts
Default PFGW 3.2.6 is Released

There was a bug in 3.2.5 with NewPGen file handling. It has been fixed in 3.2.6, which you can get here:

http://openpfgw.svn.sourceforge.net/...5.zip?view=log

I will post Mac/Linux updates only if users have NewPGen files they needs to process on those platforms.
rogue is offline   Reply With Quote
Old 2010-01-05, 17:22   #51
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

5,881 Posts
Default

Quote:
Originally Posted by rogue View Post
There was a bug in 3.2.5 with NewPGen file handling. It has been fixed in 3.2.6, which you can get here:

http://openpfgw.svn.sourceforge.net/...5.zip?view=log

I will post Mac/Linux updates only if users have NewPGen files they needs to process on those platforms.
in theory people should be able to change to ABC file types for most things i would have thought
henryzz is online now   Reply With Quote
Old 2010-01-05, 20:15   #52
Cybertronic
 
Cybertronic's Avatar
 
Jan 2007
Germany

23·41 Posts
Default

Quote:
Originally Posted by rogue View Post
There was a bug in 3.2.5 with NewPGen file handling. It has been fixed in 3.2.6, which you can get here:

http://openpfgw.svn.sourceforge.net/...5.zip?view=log

I will post Mac/Linux updates only if users have NewPGen files they needs to process on those platforms.

Hello, can anynoe send me the windows version to nluhn at yahoo dot de ?
Thanks.

With this page, I have ever trouble.
Cybertronic is online now   Reply With Quote
Old 2010-01-05, 21:01   #53
Xentar
 
Xentar's Avatar
 
Sep 2006

11×17 Posts
Default

Quote:
Originally Posted by henryzz View Post
in theory people should be able to change to ABC file types for most things i would have thought
Are there any advantages, when I use this format? (Except the last little bug )
Xentar is offline   Reply With Quote
Old 2010-01-05, 21:28   #54
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

Quote:
Originally Posted by Xentar View Post
Are there any advantages, when I use this format?
With the ABC format you can use PFGW's special comment:
Code:
A "new" addition to the comment syntax in the ABC/ABC2/ABCD/PrZ format
specification is:   // {number_primes,$var,#} or // {number_comps,$var,#}
These will stop processing "matching" $var when $var is a prime.
e.g. "ABC $a*2^$b+1 // {number_primes,$a,1}" will stop searching the given k ($a) when 1 prime is found for it.

It's also far easier for a human to read that "ABC $a*2^$b-1" means k*2^n-1 than that "30000000000000:M:1:2:258" does, although the latter form does have the benefit of including the sieve depth.

No further benefits/drawbacks come to mind for either format...
Quote:
Originally Posted by Cybertronic View Post
Hello, can anynoe send me the windows version to nluhn at yahoo dot de ?
Thanks.

With this page, I have ever trouble.
Sending...
Mini-Geek is offline   Reply With Quote
Old 2010-01-05, 21:33   #55
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

143208 Posts
Default

Quote:
Originally Posted by Xentar View Post
Are there any advantages, when I use this format? (Except the last little bug )
I wonder who still uses NewPGen for sieving. Most forms can be handled by one of Geoff Reynold's sieving programs because they are faster.
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:29.


Tue Jul 27 10:29:09 UTC 2021 up 4 days, 4:58, 0 users, load averages: 2.02, 1.95, 1.90

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.