mersenneforum.org  

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

Reply
 
Thread Tools
Old 2012-04-14, 20:58   #1233
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

D5D16 Posts
Default

Quote:
Originally Posted by kladner View Post
I may have missed something in the last few days, but what does "-polite 64" indicate?
You did miss it.
James Heinrich is offline   Reply With Quote
Old 2012-04-14, 21:19   #1234
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2×3×1,693 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
Thanks James. That is an interesting capacity.
kladner is offline   Reply With Quote
Old 2012-04-15, 08:08   #1235
MOBAJOBG
 
Feb 2012

216 Posts
Default

msft, I certainly appreciate the masterpiece of a CUDA program source code that is CUDALucas.cu v1.66 speaking from a commercial software developer's point-of-view.

Of course, you did a little bit more than merely making a correction to the spelling of agressive->aggressive.

Thank you.

Last fiddled with by MOBAJOBG on 2012-04-15 at 08:14
MOBAJOBG is offline   Reply With Quote
Old 2012-04-15, 10:20   #1236
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

722110 Posts
Exclamation Found a Bug in my hack

I found a bug (design error?) in my hack; it deletes the current assignment from worktodo.txt regardless of whether or not the test is finished or if it was just paused. I'm sure there's an easy fix, but it's 0519 local, and I found the bug while setting up my comp for sleep , so I'm definitely not going to investigate right now
Dubslow is offline   Reply With Quote
Old 2012-04-16, 05:40   #1237
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Quote:
Originally Posted by Dubslow View Post
I found a bug (design error?) in my hack; it deletes the current assignment from worktodo.txt regardless of whether or not the test is finished or if it was just paused. I'm sure there's an easy fix, but it's 0519 local, and I found the bug while setting up my comp for sleep , so I'm definitely not going to investigate right now
Easy fix. New file attached; version string changed to "v2.00a".

I tried to add some of Prime95's torture test cases, but as it turns out, all those have a variety of different checkpoints, none of which are 10,000; and worse, only the 33rd-64th bits of the residue are actually checked, not all 64, so there's incomplete data for msft's check() function.
Attached Files
File Type: txt CUDALucas.cu.txt (52.8 KB, 171 views)
Dubslow is offline   Reply With Quote
Old 2012-04-17, 04:24   #1238
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

160658 Posts
Default

Bad News: I got a DC mismatch.
Good News: My script detected the mismatch.
Good News: I'm quite sure my run is correct, barring cosmic errors; it's my first mismatch (out of 3 recent tests and many more 1.2/1.3 DCs). Anyone want to run it through Prime95? (Edit: Expo is 26409557)
Bad News: The prog didn't automatically continue with next assignment.
Good News: "Stupid Programmer Error": Somehow I failed in understanding how a "Test=..." line is constructed, and counted the wrong number of commas (but it worked fine for the first few assignments). Either way, stupid error == easy fix; change line 1772 from
Code:
if ((2!=number_of_commas))	// must have 2 commas...
to
Code:
if ((2!=number_of_commas) && 3!=number_of_commas)	// must have 2 or 3 commas...
and all will be good

Last fiddled with by Dubslow on 2012-04-17 at 05:00
Dubslow is offline   Reply With Quote
Old 2012-04-17, 05:32   #1239
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

32·29·37 Posts
Default

Quote:
Originally Posted by Dubslow View Post
Anyone want to run it through Prime95? (Edit: Expo is 26409557)
I will queue it second on my list (after current DC expo finishes in 6-7 hours) on one core. ETA ~3 days. Should I automatically report it? Or check with you first? (in this case please remind me in few days, otherwise it may remain unreported).
LaurV is online now   Reply With Quote
Old 2012-04-17, 05:34   #1240
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

11100001101012 Posts
Default

Go ahead and report it. I'll claim the Anon, so when you report it the assignment isn't closed.
Dubslow is offline   Reply With Quote
Old 2012-04-17, 12:20   #1241
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

342110 Posts
Default

Quote:
Originally Posted by Dubslow View Post
Somehow I failed in understanding how a "Test=..." line is constructed, and counted the wrong number of commas
Code:
// must have 2 or 3 commas...
It can potentially have 4 commas, at least in Prime95, which may record the FFT size in use if it's close to the transition point. This is the regex I use:
Code:
^(Test|DoubleCheck)=(|N/A,|[A-F0-9]{32},)(FFT2=[0-9]+[KM],)?([0-9]{4,10}),([0-9]{1,2}),([01])$
Which would match something like
Quote:
Test=ABCDEF01234567890123456789ABCDEF,FFT2=2880K,45678901,72,1
Test=n/a,FFT2=2880K,45678901,72,1
Test=FFT2=2880K,45678901,72,1
Test=ABCDEF01234567890123456789ABCDEF,45678901,72,1
Test=45678901,72,1
Test=n/a,45678901,72,1
The first two elements (assignment ID and FFT size) are either-or optional (one or both could be missing).

Last fiddled with by James Heinrich on 2012-04-17 at 12:22 Reason: fiddled with examples
James Heinrich is offline   Reply With Quote
Old 2012-04-17, 14:59   #1242
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Nuts. Thanks, though as I recall FFT2=... is only inserted by Prime95 whenever it starts an assignment, such that PrimeNet would never assign them that way?
Dubslow is offline   Reply With Quote
Old 2012-04-17, 15:03   #1243
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

11×311 Posts
Default

Quote:
Originally Posted by Dubslow View Post
Nuts. Thanks, though as I recall FFT2=... is only inserted by Prime95 whenever it starts an assignment, such that PrimeNet would never assign them that way?
Correct. That portion only appears when Prime95 is uncertain which FFT size to use and runs a few iterations before the test to determine the best FFT size. It then records the FFT size used in case the test is interrupted/resumed.
James Heinrich 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 11:43.


Mon Aug 2 11:43:33 UTC 2021 up 10 days, 6:12, 0 users, load averages: 1.03, 1.17, 1.17

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.