mersenneforum.org  

Go Back   mersenneforum.org > Math Stuff > Computer Science & Computational Number Theory > PARI/GP

Reply
 
Thread Tools
Old 2010-08-30, 17:31   #1200
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
Well, you stated that this happened to you as well, which makes me doubt that it happens to be only me.

And, it only up when dealing with k * 308308 + 1. There have been no other errors before or afterwards. I'm going to test the original Primeform to make sure that this is just a minor problem.
The errors I encountered before were repeatable, i.e. program errors not hardware errors. Your error is not repeatable, which usually indicates a hardware error. (Sorry for the ambiguity there.)

The same number working just fine with the original Primeform is consistent with what I'd expect with a hardware error. Hardware errors are often not exactly repeatable even with the same test on the same software. Try running k*308^308+1 again with the latest PFGW--my guess is that the error won't show up again. Your issue looks to me like a mild CPU instability; hence my suggestion of a 12-hour Prime95 stress test which should be able to better uncover sporadic errors than lots of tiny tests, many of which can "slip between the errors" and turn out just fine. Also note that many errors are undetectable, i.e. they don't produce visible roundoff errors but nonetheless do not produce the correct residue on tests; your one roundoff error may be a symptom of undetectable errors happening more often. Prime95 will detect these as well.

Oh, and BTW--it's Max, not Matt, though it's a common mistake. (mdett... tends to get alliterated to matt...)
mdettweiler is offline   Reply With Quote
Old 2010-08-30, 18:10   #1201
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

32208 Posts
Default

Quote:
Originally Posted by Max
Try running k*308^308+1 again with the latest PFGW--my guess is that the error won't show up again.
Are the latest binaries pfgw 3.3.4 ?
3.14159 is offline   Reply With Quote
Old 2010-08-30, 18:12   #1202
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
Are the latest binaries pfgw 3.3.4 ?
Yes. (The latest client is always available from http://sourceforge.net/projects/openpfgw/files/.)
mdettweiler is offline   Reply With Quote
Old 2010-08-30, 18:21   #1203
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

69016 Posts
Default

Quote:
Originally Posted by Max
Yes. (The latest client is always available from http://sourceforge.net/projects/openpfgw/files/.)
That's the version I have.

Also: I'll subject it to p95's wrath later tonight. 12 hours? p95 recommends 16. I just have to decide which 12-hour period to use.

What happens when p95 does catch errors? Blue screen of death? Or does it stop immediately?

Last fiddled with by 3.14159 on 2010-08-30 at 18:29
3.14159 is offline   Reply With Quote
Old 2010-08-30, 19:05   #1204
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
That's the version I have.

Also: I'll subject it to p95's wrath later tonight. 12 hours? p95 recommends 16. I just have to decide which 12-hour period to use.

What happens when p95 does catch errors? Blue screen of death? Or does it stop immediately?
16 hours is even better.

As to what happens when an error is found, that depends on the type and severity of the error. If the system is seriously unstable, you can get a BSOD. But in this case, if there is a problem with your system I suspect it's a minor one, in which case Prime95 would stop the stress test upon detecting the error and output the details of the error to the screen and log file.
mdettweiler is offline   Reply With Quote
Old 2010-08-30, 20:01   #1205
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

32208 Posts
Default

Quote:
Originally Posted by Max
As to what happens when an error is found, that depends on the type and severity of the error. If the system is seriously unstable, you can get a BSOD. But in this case, if there is a problem with your system I suspect it's a minor one, in which case Prime95 would stop the stress test upon detecting the error and output the details of the error to the screen and log file.
To see the logs, I'll move p95 to my main primefinding equipment folder.
3.14159 is offline   Reply With Quote
Old 2010-08-30, 21:41   #1206
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24·3·5·7 Posts
Default

Well, I'm going to be working on the collection of k-b-b's for a while, eliminating the need to search for small b values. (< 500 is what's been done, for now.)

Last fiddled with by 3.14159 on 2010-08-30 at 21:52
3.14159 is offline   Reply With Quote
Old 2010-08-30, 21:54   #1207
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24·3·5·7 Posts
Default

Commencing work on 501-750.

I got to the range where I predicted the error would happen.

And.. no error has occurred.

Dammit. Let's hope I didn't speak too soon!

Last fiddled with by 3.14159 on 2010-08-30 at 22:24
3.14159 is offline   Reply With Quote
Old 2010-08-30, 22:30   #1208
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

32208 Posts
Default

Okay: Back to previous topic:

@CRG: Concerning the OEIS sequence: You suggested I start with b = 2, and continue from there?

Last fiddled with by 3.14159 on 2010-08-30 at 22:33
3.14159 is offline   Reply With Quote
Old 2010-08-30, 22:57   #1209
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·1,993 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
Concerning the OEIS sequence: You suggested I start with b = 2, and continue from there?
We need to find a good sequence without arbitrary points. So no minimum of 60 on b and no maximum of 10,000 on k.

I can think of a few ways to do this, but I'll let you decide. One example: consider a two-dimensional array where each row corresponds to a b-value and the values in a row are the least k-values that produce a prime. Then read this array by antidiagonals (or some other reasonable way). The first column is A070855, while the first row is A000040.

Another way: for each prime p, give the largest b value such that there exists a k with k*b^b+1 = p. Then give the values for 2, 3, 5, ....

Maybe both of these are good.


These examples avoid not only the arbitrariness of bounds, but also make ordinary sequences or 'tabl's rather than 'tabf's.
CRGreathouse is offline   Reply With Quote
Old 2010-08-30, 23:12   #1210
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

110100100002 Posts
Default

Quote:
Originally Posted by CRGreathouse
We need to find a good sequence without arbitrary points. So no minimum of 60 on b and no maximum of 10,000 on k.
Oh.

We can construct it similarly to how the Proth numbers are constructed. Should there be a k < bb restriction? Or do we allow all the 4n + 1 primes in?
3.14159 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why do I sometimes see all the <> formatting commands when I quote or edit? cheesehead Forum Feedback 3 2013-05-25 12:56
Passing commands to PARI on Windows James Heinrich Software 2 2012-05-13 19:19
Ubiquity commands Mini-Geek Aliquot Sequences 1 2009-09-22 19:33
64-bit Pari? CRGreathouse Software 2 2009-03-13 04:22
Are these commands correct? jasong Linux 2 2007-10-18 23:40

All times are UTC. The time now is 23:13.


Fri Aug 6 23:13:51 UTC 2021 up 14 days, 17:42, 1 user, load averages: 4.55, 4.31, 4.10

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.