mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Lounge

Reply
 
Thread Tools
Old 2003-07-14, 22:26   #23
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2·53·71 Posts
Default

Quote:
Originally Posted by Prime95
I wouldn't worry about these "error" reports. The SUM(INPUTS) = SUM(OUTPUTS) test.
Upon investigation there are problems in the k*2^n-1 modulo routine when k is large and n is small. This problem affects all cpus not just P4s. I haven't worked out the exact formula for whether a particular (k,n) pair leads to trouble. In general, I wouldn't trust prp or llr for n<50.

From the descriptions in this thread, there is clearly another bug in llr. It is most likely in the code that picks the fft length to use on SSE2 enabled machines.
Prime95 is online now   Reply With Quote
Old 2003-07-14, 23:54   #24
TTn
 

23×1,193 Posts
Default

Quote:
If you stay here, on the contrary, you only show that your behavior conflicts with your ideas...
Have fun, and just trust the man who started it all...
Wrong that is why I will not submit ranges(xxxxxx) with a P4, saying there are no other primes in this range, unless it is done with an athlon.
I am commited by perfection to get this bug right, and or expose it.


Quote:
Upon investigation there are problems in the k*2^n-1 modulo routine when k is large and n is small. This problem affects all cpus not just P4s. I haven't worked out the exact formula for whether a particular (k,n) pair leads to trouble. In general, I wouldn't trust prp or llr for n<50.
Way more than n<50 George! Up to n<1000 and increasing as i test now.
And where is the proof of non- P4's reproducing this?
No one has posted such data.

Bull
  Reply With Quote
Old 2003-07-15, 00:02   #25
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

1D6616 Posts
Default

Quote:
Originally Posted by TTn
Way more than n<50 George! Up to n<1000 and increasing as i test now. And where is the proof of non- P4's reproducing this?
Please read my entire post. For n<50, the core multiplication/modulo routines that both prp and llr use are suspect. Try WinPFGW to test these tiny numbers. For n<1000, my post states that llr still has a P4-specific bug. Until the bug is found there is no way to know which k,n combinations are affected - it may affect some much larger n values.

As to non-P4s reproducing a bug, read Thomas11's post:
Quote:
The SUM(IN)/SUM(OUT) errors of PRP, I found earlier on a P4, are reproduced by an Athlon XP (Win98SE) too.
Prime95 is online now   Reply With Quote
Old 2003-07-15, 00:08   #26
trif
 
trif's Avatar
 
Aug 2002

2·101 Posts
Default

Quote:
Originally Posted by TTn
Way more than n<50 George! Up to n<1000 and increasing as i test now.
And where is the proof of non- P4's reproducing this?


Bull
George is referring to the Suminputs/Sumoutputs problem, I suspect, not the additional LLR problem. I have downloaded PRP from the mersenne.org site, and I will be happy to run it on any of:

Celeron 466MHz
Duron 1GHz
Barton 2500+ (clocked to 2800+ equivalent)

With a Linux version, I could add a K6-2/400 or a Celeron 1.3 GHz. I also have a Palomino 1600+ I can set up.

I need to know how to format the input file, as the readme says it takes input from newpgen.
trif is offline   Reply With Quote
Old 2003-07-15, 03:00   #27
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

822410 Posts
Default

http://www.teamprimerib.com/jpg/bug.jpg

Just kidding... :)

I have absolute confidence we'll all get to the bottom of this, together... No mysteries... No conspiracies... No lies... Just the truth...
Xyzzy is offline   Reply With Quote
Old 2003-07-17, 17:14   #28
Thomas11
 
Thomas11's Avatar
 
Feb 2003

22×32×53 Posts
Default

Quote:
Originally Posted by Prime95
Quote:
Originally Posted by Thomas11
Bit: 13/60, ERROR: SUM(INPUTS) != SUM(OUTPUTS), 2436568024401 != 2436568024401
I wouldn't worry about these "error" reports. The SUM(INPUTS) = SUM(OUTPUTS) test was designed with million digit multiplies in mind. We are comparing two floating point values to see if they are close to each other. Obviously, when testing real tiny numbers the FFT routines need to allow more leeway in this closeness test. I'll work on a fix.
Meanwhile I have found that PRP gives negative false reports too, on both P4 (Linux) and Athlon (Win98SE):

[code:1]
31071987*2^25-1 is not prime. Res64: 000376706F96719C
31072005*2^25-1 is not prime. Res64: 000097D09D225B71
971001*2^30-1 is a probable prime.
[/code:1]

All three numbers should be prime and Proth finds them, as well as PFGW and LLR too.

Thomas.
Thomas11 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Two routine results Raman Data 16 2011-01-03 06:35
Training for your multi-precision division routine fivemack Puzzles 3 2007-04-26 17:01
RSA and SSE2 Cyclamen Persicum Math 5 2003-11-10 07:41
Is TF from 2^64 to 2^65 using SSE2? TauCeti Software 3 2003-10-17 06:30
SSE2 ? TauCeti NFSNET Discussion 8 2003-06-30 12:58

All times are UTC. The time now is 22:01.


Fri Jul 16 22:01:48 UTC 2021 up 49 days, 19:49, 2 users, load averages: 2.38, 2.13, 2.02

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.