mersenneforum.org  

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

Reply
 
Thread Tools
Old 2009-04-24, 14:49   #23
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by rogue View Post
If using 0.51 with a patched version of YEAFFT, no. There have been no new patches to YEAFFT.
Ah, I see.

So, which versions does the bug affect?
mdettweiler is offline   Reply With Quote
Old 2009-04-24, 16:18   #24
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

18D016 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
Ah, I see.

So, which versions does the bug affect?
Anything after 0.52.

So far, from my testing, the probability of an FFT rounding error for bases that are not powers of 2 is about 4%.

Last fiddled with by rogue on 2009-04-24 at 16:20
rogue is offline   Reply With Quote
Old 2009-04-27, 16:05   #25
Shaopu Lin
 
Shaopu Lin's Avatar
 
Jul 2004

24·3 Posts
Default There is a problem in phrot_070.zip

The package phrot_070.zip downloaded from http://home.roadrunner.com/~mrodenkirch/phrot_070.zip is damaged and lose some necessary files to compile due to this damage.

Code:
math@linux-0rdr:~/Desktop/other/test/temp> unzip phrot_070.zip
Archive:  phrot_070.zip
error [phrot_070.zip]:  missing 12939 bytes in zipfile
  (attempting to process anyway)
retry - request = 0x18446744073709538677
error [phrot_070.zip]:  attempt to seek before beginning of zipfile
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)
  (attempting to re-compensate)
file #1:  bad zipfile offset (local header sig):  0
  (attempting to re-compensate)
error [phrot_070.zip]:  attempt to seek before beginning of zipfile
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)
retry - request = 0x18446744073709539484
error [phrot_070.zip]:  attempt to seek before beginning of zipfile
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)
retry - request = 0x18446744073709543826
error [phrot_070.zip]:  attempt to seek before beginning of zipfile
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)
  inflating: phrot/makefile          
  inflating: phrot/mathtypes.h       
  inflating: phrot/phrot.c           
  inflating: phrot/phrot.p3          
  inflating: phrot/readme_phrot.txt  
  inflating: phrot/reduce.h          
   creating: phrot/testm/
  inflating: phrot/testm/abcm.in     
   creating: phrot/testp/
  inflating: phrot/testp/abcp.in     
  inflating: phrot/x86.h             
math@linux-0rdr:~/Desktop/other/test/temp>

Last fiddled with by Shaopu Lin on 2009-04-27 at 16:06
Shaopu Lin is offline   Reply With Quote
Old 2009-04-27, 16:09   #26
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24×397 Posts
Default

Quote:
Originally Posted by Shaopu Lin View Post
The package phrot_070.zip downloaded from http://home.roadrunner.com/~mrodenkirch/phrot_070.zip is damaged and lose some necessary files to compile due to this damage.
I am aware of the problem, which is why I haven't posted the announcement yet. I'll fix it later today.
rogue is offline   Reply With Quote
Old 2009-04-27, 19:39   #27
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

186916 Posts
Default

Quick question: does the incorrect-residual bug affect Phrot 0.69 also, or just versions from 0.52-0.68?
mdettweiler is offline   Reply With Quote
Old 2009-04-27, 21:56   #28
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24×397 Posts
Default

Quote:
Originally Posted by mdettweiler View Post
Quick question: does the incorrect-residual bug affect Phrot 0.69 also, or just versions from 0.52-0.68?
0.69 should work correctly. I know that Geoff ran through many tests that would have uncovered the bug if it were still in the code.
rogue is offline   Reply With Quote
Old 2009-04-28, 01:10   #29
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

143208 Posts
Default Phrot 0.70 released

Here are the changes from 0.68 to 0.69:
  • Default to always error checking as phrot can exhibit rounding errors for all bases.
  • Added -n switch to disable error checking with a caveat (see above). Modified use of -a switch.
  • Added a test suite of PRP numbers to be tested with phrot release.

and from 0.69 to 0.70:
  • Allow b and n to be unsigned, but limit b to 5 million. Even with such high b, some tests will encounter the FFT rouding error.
  • Limit k to 2^54 on x86 and 2^44 on non-x86. It is possible that other large k will cause problems, but testing so far has not indicated that this change is safe are larger k do seem to test without a problem.

You can download the latest sources and a Windows build from here.

I have a note regarding the FFT rounding errors. I know for a fact that bases 2, 3, and 10 (and their powers) will have FFT rounding errors. I have not seen the issue with any other bases. That does not mean that other bases do not exhibit the errors, only that I haven't the time to run thousands of tests for various k/b combinations to see which have problems. I recommend that anyone using phrot to run 1000 tests for small n for each k and b combination that they are testing. If no FFT rounding errors occur, then you are probably safe to use the -n option (although I won't guarantee it), which will disable the error checking.
rogue is offline   Reply With Quote
Old 2009-05-01, 20:31   #30
gd_barnes
 
gd_barnes's Avatar
 
May 2007
Kansas; USA

101000101000112 Posts
Default

Max,

You are correct that I am using Phrot version 0.51 that you loaded on my machines. I didn't do anything special with the error checking or -e switch (which I assume means error checking is on). By that I mean I didn't test using the -e switch.

Therefore, should my tests for bases 22 and 28 be OK?

This is the most unfortunate for Cruelty on base 10, who has run far more tests for that base than I have for my 2 bases.

Cruelty, if you happen to read this, since you are rerunning your tests for base 10 using LLR, can you compare the residues between the LLR and Phrot runs? It might help quite a bit if we knew which tests, if any, came up with incorrect residues on Phrot. Also, can you state which version of Phrot you are using? Thanks.


Gary
gd_barnes is online now   Reply With Quote
Old 2009-05-02, 03:49   #31
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by gd_barnes View Post
Therefore, should my tests for bases 22 and 28 be OK?
Yes. Version 0.51 is not affected by the issue.
mdettweiler is offline   Reply With Quote
Old 2009-05-02, 19:23   #32
Cruelty
 
Cruelty's Avatar
 
May 2005

23·7·29 Posts
Default

Quote:
Originally Posted by gd_barnes View Post
Cruelty, if you happen to read this, since you are rerunning your tests for base 10 using LLR, can you compare the residues between the LLR and Phrot runs? It might help quite a bit if we knew which tests, if any, came up with incorrect residues on Phrot. Also, can you state which version of Phrot you are using? Thanks.
I have been using versions 0.62, 0.65, 0.67, 0.68, 0.681, and I am planning to verify those residues with LLR ones just as I did lately with 2*3^n-1 search...
Cruelty is offline   Reply With Quote
Old 2009-09-02, 01:20   #33
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

24·397 Posts
Default Phrot 0.71 Released

Here are the changes from:
  • Removed default for always error checking. Phrot now checks the first 30 and last 30 iterations of all tests as well as every 64th iteration of each test. With this change, all tests in the test suite now produce correct results, at least on PPC and Core 2 Duo.
  • Phrot now keeps track of total time spent on a test, so that if stopped and restarted, the time for the test will now represent the total time spent on a test, not just the time since phrot was started.

You can download the latest sources and a Windows build from here.

Based upon all of my testing (weeks worth of testing), this version correctly detected all FFT rounding errors for the tests I performed. Due to this, I am now removing the mandatory error checking, which means that phrot will regain about 10-20% of the speed it lost in 0.70. I will eventually modify the PRPNet client to not pass the -e flag.
rogue is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Msieve announcements jasonp Msieve 101 2021-07-08 20:27
Primenet maintenance announcements Madpoo PrimeNet 7 2015-11-12 05:50
GMP-ECM Announcements akruppa GMP-ECM 12 2013-02-27 15:30
Compiling Phrot rogue Sierpinski/Riesel Base 5 142 2009-01-09 03:42
Announcements hhh Prime Cullen Prime 10 2007-05-16 20:42

All times are UTC. The time now is 09:44.


Tue Jul 27 09:44:39 UTC 2021 up 4 days, 4:13, 0 users, load averages: 2.58, 2.17, 1.97

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.