mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2016-02-03, 18:04   #2443
firejuggler
 
firejuggler's Avatar
 
Apr 2010
Over the rainbow

23×52×13 Posts
Default

steps for next iteration is
precedent residue (mod P), squared, minus 2, so in case of 0, 0 squared, minus 2 is -2.
-2^2 -2 = 2 and then it loop..

Last fiddled with by firejuggler on 2016-02-03 at 18:36
firejuggler is offline   Reply With Quote
Old 2016-02-03, 18:06   #2444
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by msft View Post
I am not understand this issue.
Why iteration is only 0 or 2 ?
Please anyone explain it to me.
because those are known residues to cause a repeat regardless of the mersenne number being tested see ( so are -1 and 1 but that's a different story):

http://mersenneforum.org/showthread....ight=erroneous
science_man_88 is offline   Reply With Quote
Old 2016-02-03, 18:12   #2445
msft
 
msft's Avatar
 
Jul 2009
Tokyo

10011000102 Posts
Default

Quote:
Originally Posted by firejuggler View Post
steps for next iteration is
precedent residue (mod P), squared, minus 2, so in case of 0, 0 squared, mius 2, is -2 then -2 squared -2 = 2... and then 2 squared minus 2, is 2.
Thank you very much.
msft is offline   Reply With Quote
Old 2016-02-03, 18:17   #2446
msft
 
msft's Avatar
 
Jul 2009
Tokyo

2×5×61 Posts
Default

I have one additional request.
Please teach me good err message.
msft is offline   Reply With Quote
Old 2016-02-03, 20:17   #2447
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2×53×71 Posts
Default

Quote:
Originally Posted by msft View Post
I have one additional request.
Please teach me good err message.
"Illegal residue: 0x0000000000000000. See mersenneforum.org for help."

or

"Illegal residue: 0x0000000000000002. See mersenneforum.org for help."
Prime95 is offline   Reply With Quote
Old 2016-02-03, 21:34   #2448
msft
 
msft's Avatar
 
Jul 2009
Tokyo

11428 Posts
Default

Quote:
Originally Posted by Prime95 View Post
"Illegal residue: 0x0000000000000000. See mersenneforum.org for help."

or

"Illegal residue: 0x0000000000000002. See mersenneforum.org for help."
Thank you very much.
I need few days.
msft is offline   Reply With Quote
Old 2016-02-03, 21:50   #2449
airsquirrels
 
airsquirrels's Avatar
 
"David"
Jul 2015
Ohio

11·47 Posts
Default

Quote:
Originally Posted by chris2be8 View Post
What compute capability did you compile CUDALucas for? (always check silly things first)

Chris
Well that did it, I was not aware that the Makefile contained hardcoded compute levels.

We might want to update the error message, or add a check that the card at least meets the Compute capability CUDALucas was compiled with.
airsquirrels is offline   Reply With Quote
Old 2016-02-03, 22:42   #2450
bgbeuning
 
Dec 2014

111111112 Posts
Default

My residue are non-zero after changing this line in the Makefile

CUFLAGS = -O$(OptLevel) --generate-code arch=compute_20,code=sm_20 --compiler-options=-Wall -I$(CUINC)

Maybe the program could check if the executable file is not compatible with the
hardware it is running on.

It is running 2 double checks. Will know results in 7 days.
bgbeuning is offline   Reply With Quote
Old 2016-02-03, 23:26   #2451
firejuggler
 
firejuggler's Avatar
 
Apr 2010
Over the rainbow

23×52×13 Posts
Default

0x0000000000000000 res is valid if it is the last itération
firejuggler is offline   Reply With Quote
Old 2016-02-04, 02:04   #2452
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

22·33·89 Posts
Default

Quote:
Originally Posted by Madpoo View Post
Well, there have been no less than 3 false positives (2 different users) in the past ~ 16 hours, all from CUDALucas 2.05.1 ...

Even though I'm totally sure they're false positives (2 are from double-checks, making it even more unlikely), I'm still running my own.

One of them is done and it's not prime of course... waiting on the others:
M37182127
Poacher!
(it was legally assigned 2 days ago!)
LaurV is offline   Reply With Quote
Old 2016-02-04, 02:06   #2453
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

22×33×89 Posts
Default

Quote:
Originally Posted by bgbeuning View Post
My residue are non-zero after changing this line in the Makefile

CUFLAGS = -O\$(OptLevel) --generate-code arch=compute_20,code=sm_20 --compiler-options=-Wall -I\$(CUINC)

Maybe the program could check if the executable file is not compatible with the
hardware it is running on.

It is running 2 double checks. Will know results in 7 days.
Fixed it for you. (the dollar bug hits again!)
LaurV is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't DC/LL them with CudaLucas LaurV Data 131 2017-05-02 18:41
CUDALucas / cuFFT Performance on CUDA 7 / 7.5 / 8 Brain GPU Computing 13 2016-02-19 15:53
CUDALucas: which binary to use? Karl M Johnson GPU Computing 15 2015-10-13 04:44
settings for cudaLucas fairsky GPU Computing 11 2013-11-03 02:08
Trying to run CUDALucas on Windows 8 CP Rodrigo GPU Computing 12 2012-03-07 23:20

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


Sat Jul 17 13:32:14 UTC 2021 up 50 days, 11:19, 1 user, load averages: 1.62, 1.56, 1.57

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.