![]() |
|
|
#23 |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3·2,083 Posts |
|
|
|
|
|
|
#24 |
|
"Mark"
Apr 2003
Between here and the
18D016 Posts |
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 |
|
|
|
|
|
#25 |
|
Jul 2004
24·3 Posts |
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 |
|
|
|
|
|
#26 | |
|
"Mark"
Apr 2003
Between here and the
24×397 Posts |
Quote:
|
|
|
|
|
|
|
#27 |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
186916 Posts |
Quick question: does the incorrect-residual bug affect Phrot 0.69 also, or just versions from 0.52-0.68?
|
|
|
|
|
|
#28 |
|
"Mark"
Apr 2003
Between here and the
24×397 Posts |
|
|
|
|
|
|
#29 |
|
"Mark"
Apr 2003
Between here and the
143208 Posts |
Here are the changes from 0.68 to 0.69:
and from 0.69 to 0.70:
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. |
|
|
|
|
|
#30 |
|
May 2007
Kansas; USA
101000101000112 Posts |
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 |
|
|
|
|
|
#31 |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3·2,083 Posts |
|
|
|
|
|
|
#32 | |
|
May 2005
23·7·29 Posts |
Quote:
|
|
|
|
|
|
|
#33 |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
Here are the changes from:
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. |
|
|
|
![]() |
| 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 |