mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2011-10-30, 02:42   #1
SaneMur
 
Jul 2011

32×13 Posts
Default Bug in LLR with a small exponent (< 34000)

I was doing some LLR runs on some smaller exponents recently, to see if I wanted to use my prime generator formula in the hunt for a top 5000 prime, and it has been failing on this one exponent. My errors occur on several different computers, so that pretty much eliminates hardware as the cause. My errors are:

Code:
Iter: 1/109814, ERROR: ROUND OFF (0.5) > 0.4
Continuing from last save file.
Unrecoverable error, Restarting with next larger FFT length...
Iter: 1/109814, ERROR: ROUND OFF (0.4999961853) > 0.4
Continuing from last save file.
Unrecoverable error, Restarting with next larger FFT length...
Iter: 1/109814, ERROR: ROUND OFF (0.4999818802) > 0.4
Continuing from last save file.
Unrecoverable error, Restarting with next larger FFT length...
Iter: 1/109814, ERROR: ROUND OFF (0.4999983311) > 0.4
Continuing from last save file.
Unrecoverable error, Restarting with next larger FFT length...
Iter: 1/109814, ERROR: ROUND OFF (0.4999961853) > 0.4
Continuing from last save file.
Unrecoverable error, Restarting with next larger FFT length...
Fatal error at setup : Number sent to gwsetup is too large for the FFTs to handle.
The exponent it was testing was only 33039.

Is there someway to contact the author?

Last fiddled with by SaneMur on 2011-10-30 at 02:45 Reason: wrong exponent in subject line
SaneMur is offline   Reply With Quote
Old 2011-10-30, 05:11   #2
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

1C3516 Posts
Default

Try posting in this thread over in the software forum. I don't know how responsive the author will be, but you're more likely to get a response there.
Dubslow is offline   Reply With Quote
Old 2011-10-30, 13:34   #3
SaneMur
 
Jul 2011

32·13 Posts
Default

Quote:
Originally Posted by Dubslow View Post
Try posting in this thread over in the software forum. I don't know how responsive the author will be, but you're more likely to get a response there.
Thanks, both George and Jean have emailed me about it. I am sending them more data.
SaneMur is offline   Reply With Quote
Old 2011-11-02, 23:36   #4
Kosmaj
 
Kosmaj's Avatar
 
Nov 2003

2·1,811 Posts
Default

Can you kindly post the exact number(s) so that we can try ourselves, using the current and older versions of LLR.

Thanks!
Kosmaj is offline   Reply With Quote
Old 2011-11-05, 01:13   #5
SaneMur
 
Jul 2011

7516 Posts
Default

Quote:
Originally Posted by Kosmaj View Post
Can you kindly post the exact number(s) so that we can try ourselves, using the current and older versions of LLR.

Thanks!
Sure, paste this into a text file, save it, then run LLR on it. BTW, this is a base-10 project I was just messing around with. LLR will find all of the primes except for the last one (which is also prime). You will get roundoff errors for the last one.

Code:
24637167299:P:1:10:257
18446744073709551253 18
18446744073709551253 45
18446744073709551253 213
18446744073709551253 306
18446744073709551253 365
18446744073709551253 420
18446744073709551253 509
18446744073709551253 1021
18446744073709551253 1314
18446744073709551253 1459
18446744073709551253 2705
18446744073709551253 10203
18446744073709551253 10578
18446744073709551253 12941
18446744073709551253 16701
18446744073709551253 21073
18446744073709551253 30799
18446744073709551253 33039
SaneMur is offline   Reply With Quote
Old 2011-11-05, 01:17   #6
SaneMur
 
Jul 2011

11710 Posts
Default

And, just wondering, is there a program where you can use a k > 2^64 for a Riesel Prime test? I can't seem to get any of my large k's to work with the ones I have.

I also can't seem to find a siever that works for k > 2^64 also.
SaneMur is offline   Reply With Quote
Old 2011-11-05, 03:10   #7
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2×32×353 Posts
Default

Quote:
Originally Posted by SaneMur View Post
And, just wondering, is there a program where you can use a k > 2^64 for a Riesel Prime test? I can't seem to get any of my large k's to work with the ones I have.

I also can't seem to find a siever that works for k > 2^64 also.
pfgw

Nothing that I know off of the top of my head.
rogue is offline   Reply With Quote
Old 2011-11-05, 04:57   #8
SaneMur
 
Jul 2011

7516 Posts
Default

Quote:
Originally Posted by rogue View Post
pfgw
I am not so convinced pfgw can accept a k > 2^64. A simple test to demonstrate:

Code:
9999999:M:1:2:258
18446744073709551617 2
...will generate the output:

1*2^2-1 is prime!

(It thinks 18446744073709551617 = 1 since 64 bits were overflowed.)
SaneMur is offline   Reply With Quote
Old 2011-11-05, 08:31   #9
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

22×727 Posts
Default

Calling
Code:
pfgw -q"18446744073709551617*2^2-1"
will produce the correct result, the same as LLR V3.8.6 (RES64 1E1DF1A8370FB1D5).

There seems only a reading/converting-issue when calling "pfgw <filename>" with a newpgen format file.

Create a ABCD-format file like
Code:
ABC $a*2^$b-1
18446744073709551617 2
and pfgw will do this one correct.


NewPGen can handle bigger k-values by using the Primorial Mode (k not prime):

So instead writing k as "2419275534239148308295" input the factored value "1043827764761*3*5*11*13*19*29*37*53".

See here for some big values.

Last fiddled with by kar_bon on 2011-11-05 at 08:46 Reason: newpgen comment
kar_bon is offline   Reply With Quote
Old 2011-11-05, 13:36   #10
SaneMur
 
Jul 2011

32·13 Posts
Default

Quote:
Originally Posted by kar_bon View Post
Calling
There seems only a reading/converting-issue when calling "pfgw <filename>" with a newpgen format file.
Yes, but that is a BIG problem!

I was able to use NewpGen to create a sieved file using a factored form, thanks for the tip! Such a shame that I can't get any prime testing program to read it though. How are other people doing it?? I am perplexed!

I followed your link and would like to "join the hunt" for efficient k values for Riesel Prime generation. I am trying to get in touch with Robert, if you know how, pass the word.

That project is too cool to resist!
SaneMur is offline   Reply With Quote
Old 2011-11-05, 13:43   #11
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

2·32·353 Posts
Default

Quote:
Originally Posted by kar_bon View Post
Calling
Code:
pfgw -q"18446744073709551617*2^2-1"
will produce the correct result, the same as LLR V3.8.6 (RES64 1E1DF1A8370FB1D5).

There seems only a reading/converting-issue when calling "pfgw <filename>" with a newpgen format file.
Interesting. I'll look into it.
rogue is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sieving with powers of small primes in the Small Prime variation of the Quadratic Sieve mickfrancis Factoring 2 2016-05-06 08:13
Small gaps 4,000 - 60,000 henryzz Prime Gap Searches 18 2016-02-15 18:58
Small request fivemack Factoring 1 2009-03-02 03:07
Small(ish) exponent without LL???? Graff PrimeNet 3 2009-01-26 04:08
Small set of 12 GP2 Completed Missions 2 2003-10-03 18:30

All times are UTC. The time now is 17:35.


Sun Aug 1 17:35:45 UTC 2021 up 9 days, 12:04, 0 users, load averages: 1.29, 1.56, 1.44

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.