mersenneforum.org  

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

Reply
 
Thread Tools
Old 2012-03-03, 04:27   #881
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

3·3,221 Posts
Default

The test with 1.61 is finished for 26026433. I had one mismatch which was not reproducible, and it was NOT on the same place as Jerry got it. After restoring the checkpoint and rerun, everything went fine. So, too much overclock, or heat, or bad memory, or cosmic rays, whatever caused it first time, it did not cause it again.

I lowered the clock to factory default and begun testing v1.63 on the same expo, gtx580. Up to now running stable, all partial residue matching. I love -s switch, I would love it more if I could specify (or have builtin hardcoded, no special need to change) a subfolder, see the idea in my former post with the "backup" folder. That is because usually I have many other things on the cudalucas folder, and all sXXXX files are flooding it, making difficult the periodical maintenance (deleting, etc). Putting them all in a "backup" subfolder would be great.

edit ps: I am using 4.1/2.0 from jerry's build

Last fiddled with by LaurV on 2012-03-03 at 04:43
LaurV is offline   Reply With Quote
Old 2012-03-03, 09:36   #882
msft
 
msft's Avatar
 
Jul 2009
Tokyo

2×5×61 Posts
Default

Ver 1.64
1)Make backup dir.
2)Add all iteration round off err check option.
when err > 0.48 exit.
performace 2% down.
Code:
$ ./CUDALucas
Usage: ./CUDALucas [-d device_number] [-c checkpoint_iteration] [-f fft_length] [-s] [-t] -r|exponent|input_filename
                       -f set fft length
                       -s save all checkpoint files
                       -t check round off error all iterations,when err > 0.49 exit
$ ./CUDALucas -s 24036583
DEVICE:0------------------------
name                GeForce GTX 460
~~~

start M24036583 fft length = 1310720
Iteration 10000 M( 24036583 )C, 0xcbdef38a0bdc4f00, n = 1310720, CUDALucas v1.64 (1:00 real, 5.9464 ms/iter, ETA 39:40:31)
^C caught.  Writing checkpoint.
$ ls backup/
s24036583.10001  s24036583.11377
4$ ./CUDALucas -t 24036583
DEVICE:0------------------------
name                GeForce GTX 460
~~~

start M24036583 fft length = 1310720
Iteration 10000 M( 24036583 )C, 0xcbdef38a0bdc4f00, n = 1310720, CUDALucas v1.64 (1:01 real, 6.0964 ms/iter, ETA 40:40:36)
Attached Files
File Type: bz2 CUDALucas.1.64.tar.bz2 (10.5 KB, 92 views)
msft is offline   Reply With Quote
Old 2012-03-03, 13:18   #883
apsen
 
Jun 2011

131 Posts
Default

Got mismatch with 1.58 but had several err/increasing messages. Could be bad handling of that...
Attached Files
File Type: zip CUDALucas1.58.cuda4.0.sm_20.WIN64.29198173.zip (62.7 KB, 84 views)
apsen is offline   Reply With Quote
Old 2012-03-03, 13:29   #884
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default 1.64 Binaries

Quote:
Originally Posted by msft View Post
Ver 1.64
1)Make backup dir.
2)Add all iteration round off err check option.
when err > 0.48 exit.
performace 2% down.
Code:
$ ./CUDALucas
Usage: ./CUDALucas [-d device_number] [-c checkpoint_iteration] [-f fft_length] [-s] [-t] -r|exponent|input_filename
                       -f set fft length
                       -s save all checkpoint files
                       -t check round off error all iterations,when err > 0.49 exit
$ ./CUDALucas -s 24036583
DEVICE:0------------------------
name                GeForce GTX 460
~~~
 
start M24036583 fft length = 1310720
Iteration 10000 M( 24036583 )C, 0xcbdef38a0bdc4f00, n = 1310720, CUDALucas v1.64 (1:00 real, 5.9464 ms/iter, ETA 39:40:31)
^C caught.  Writing checkpoint.
$ ls backup/
s24036583.10001  s24036583.11377
4$ ./CUDALucas -t 24036583
DEVICE:0------------------------
name                GeForce GTX 460
~~~
 
start M24036583 fft length = 1310720
Iteration 10000 M( 24036583 )C, 0xcbdef38a0bdc4f00, n = 1310720, CUDALucas v1.64 (1:01 real, 6.0964 ms/iter, ETA 40:40:36)
Attached v1.64 x64 binaries (untested):
  • CUDA 4.0 / SM 2.0
  • CUDA 4.1 / SM 2.0
  • CUDA 4.1 / SM 2.1
Attached Files
File Type: zip CUDALucas1.64.x64.zip (223.6 KB, 115 views)
flashjh is offline   Reply With Quote
Old 2012-03-03, 14:00   #885
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

Quote:
Originally Posted by apsen View Post
I figured it out (kind of). When restarting from checkpoint and finishing the test it will then try to read more input from the same file although it has already been closed. It will loop endlessly until it crashes (haven't really figured out the exact point and reason for crash but it happens in "input" function when it enters endless loop).

As I tried to figure it out I have cut out a lot of unused code, removed K&R style prototypes, etc. Also added some timing output. I haven't touched anything related to calculations but it would be prudent to be cautious - it needs a lot of testing before production use. Most likely bugs would be in parsing command line. That code suffered most nontrivial change.

I'm attaching the modified source code with Win64 executable compiled for sm_13.
aspen/msft,

1.2b was the last build that included a win32 makefile. I modified my current makefile for win32, but it does not compile. Lots of errors during nvcc processing CUDALucas.cu. Has 32 bit compatability been removed or do I need some extra includes?

Edit: I included the screen output with the errors.

Thanks.
Attached Files
File Type: txt screen.txt (3.9 KB, 349 views)

Last fiddled with by flashjh on 2012-03-03 at 14:04 Reason: Add screen output
flashjh is offline   Reply With Quote
Old 2012-03-03, 14:55   #886
aaronhaviland
 
Jan 2011
Dudley, MA, USA

73 Posts
Default

Quote:
Originally Posted by flashjh View Post
aspen/msft,

1.2b was the last build that included a win32 makefile. I modified my current makefile for win32, but it does not compile. Lots of errors during nvcc processing CUDALucas.cu. Has 32 bit compatability been removed or do I need some extra includes?

Edit: I included the screen output with the errors.
From the looks of things, all those errors can be tied back to the lack of definition of "BOOL" which I'm assuming is a pre-processor macro. (searching the internet...) on windows, you should probably "#include <WinDef.h>" at some point. I cannot confirm this due to a lack of a windows environment.
aaronhaviland is offline   Reply With Quote
Old 2012-03-03, 14:59   #887
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

112310 Posts
Default

Quote:
Originally Posted by aaronhaviland View Post
From the looks of things, all those errors can be tied back to the lack of definition of "BOOL" which I'm assuming is a pre-processor macro. (searching the internet...) on windows, you should probably "#include <WinDef.h>" at some point. I cannot confirm this due to a lack of a windows environment.
Thanks! I'll take a look.
flashjh is offline   Reply With Quote
Old 2012-03-03, 16:08   #888
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

Quote:
Originally Posted by flashjh View Post
Thanks! I'll take a look.
Since taking a look at CUDALucas.cu, the file was edited since the last win32 build, some changes need to be made-any help is appreciated. I'll edit it later.
flashjh is offline   Reply With Quote
Old 2012-03-03, 16:25   #889
msft
 
msft's Avatar
 
Jul 2009
Tokyo

2·5·61 Posts
Default

Quote:
Originally Posted by apsen View Post
Got mismatch with 1.58 but had several err/increasing messages. Could be bad handling of that...
Code:
err = 0.371603, increasing n from 1572864
continuing work from a partial result
err = 0.371603, increasing n from 1572864
continuing work from a partial result
err = 0.371603, increasing n from 1572864
continuing work from a partial result
err = 0.371603, increasing n from 1572864
continuing work from a partial result
Iteration 27390000 M( 29198173 )C, 0x0ae3a28bd9f1003c, n = 1572864, CUDALucas v1.58 (1:29 real, 8.9455 ms/iter, ETA 4:28:21)
Interesting.
Why exit infinity loop ?
msft is offline   Reply With Quote
Old 2012-03-03, 21:51   #890
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

1C3516 Posts
Default

What version is this?
Code:
bill@Gravemind:~/CUDALucas∰∂ CUDALucas -v
CUDALucas version information:
 $Id: MacLucasFFTW.c,v 8.1 2007/06/23 22:33:35 wedgingt Exp $ wedgingt@acm.org
^C^C

^C
Note that ^C doesn't have an effect. The tarball in the directory says 1.3.
Dubslow is offline   Reply With Quote
Old 2012-03-03, 21:53   #891
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

Quote:
Originally Posted by Dubslow View Post
What version is this?
Code:
bill@Gravemind:~/CUDALucas∰∂ CUDALucas -v
CUDALucas version information:
 $Id: MacLucasFFTW.c,v 8.1 2007/06/23 22:33:35 wedgingt Exp $ wedgingt@acm.org
^C^C
 
^C
Note that ^C doesn't have an effect. The tarball in the directory says 1.3.
^C works on newer versions
flashjh is offline   Reply With Quote
Reply

Thread Tools


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:00.


Fri Aug 6 13:00:22 UTC 2021 up 14 days, 7:29, 1 user, load averages: 3.37, 2.93, 2.71

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.