mersenneforum.org  

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

Reply
 
Thread Tools
Old 2011-10-16, 12:09   #1
garo
 
garo's Avatar
 
Aug 2002
Termonfeckin, IE

53148 Posts
Exclamation GPU LL Testing FAQ

Q. Can I use my GPU for LL testing?
A. Yes, with the program called CUDALucas, with NVidia supported GPUs.

Q. Where can I get the software?
A. See the attached PDF guide.

Q. How do I get work for CUDALucas?
A. You will need to get manually get work from PrimeNet like mfaktc, however CUDALucas currently doesn't use a worktodo file. You test an exponent by using a command line argument; or, to test multiple exponents, use a batch file.

Q. Where are the results stored?
A. mersarch.txt

PDF Guide:
GIMPS GPU Computing Cheat Sheet (pdf)

Last fiddled with by Brain on 2012-08-05 at 10:03 Reason: GPU Computing Cheat Sheet updated
garo is offline   Reply With Quote
Old 2011-10-16, 20:37   #2
bcp19
 
bcp19's Avatar
 
Oct 2011

67910 Posts
Default

Q: DO you have examples of command line entries to run Cudalucas?

I know I can type cudalucas 5412xxx and it'll start running, but how do I get information like mfaktc has, IE: Time spent, time left as well as this checkpoint file it says it cannot find when I start it
bcp19 is offline   Reply With Quote
Old 2011-10-16, 21:37   #3
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

236568 Posts
Default

The brief batch file example is actually in Best 4XX series GPU .

But I'll reprise here. Spaces between lines added for readability.

First, create a new text file with whatever name you like, but change the extension from .txt to .bat. Windows will warn about changing extensions. Click Yes or OK, or whatever the affirmative answer is. Once you name the file with .bat, you must right click on it and choose Edit from the menu. If you double click it will try to run the batch.

EXAMPLE:
CUDALucas.bat (cudalucas referred to as "CL" hereafter.)

Then type the following lines into the opened (R-click>Edit) file:

e: (if you need to be on a different drive from where the prompt starts. E: happens to be where my CL is. Not needed if you're on already the right drive.)

cd \CUDA\CUDALucas.1.2b (changes to CL directory.)

CUDALucas_cuda3-2_sm_13_WIN64.exe -c10000 5318xxxx

pause

The third line has [program name] (a space followed by)

-c[#######] (which sets the number of iterations between screen outputs. I used 10000 because it was in the sample command line in Brain's FAQ.) (a space followed by)

[put exponent here] >The third line may be repeated as many times as you desire, just with different exponents. This will keep feeding CL non-stop for long runs. Don't put any of the square brackets in, just the numbers or names. There are quite a few other command line switches for CL which can be added to the third line after the program name, but I'm not entirely sure what many of them do. They are always preceded by a "-" (dash).

The last line "pause" is optional. It should hold the prompt window open so you can see the final output when the program runs out of work and stops. I have yet to get there with CL (no completed runs) so I don't know what that final screen would look like. It will end with "Press any key to continue...." When you do, the prompt will close. Note that the prompt window will have the name of the batch file in the title bar.


Similar batch files can be used for mfaktc.

Last fiddled with by kladner on 2011-10-16 at 21:49
kladner is offline   Reply With Quote
Old 2011-10-16, 21:46   #4
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2×3×1,693 Posts
Default

Quote:
Originally Posted by bcp19 View Post
Q: DO you have examples of command line entries to run Cudalucas?

I know I can type cudalucas 5412xxx and it'll start running, but how do I get information like mfaktc has, IE: Time spent, time left as well as this checkpoint file it says it cannot find when I start it
See the previous post on batch files. But to address your questions:
1) I don't know how to get the kind of info that mfaktc puts out. Sorry.
2) The checkpoint file message only occurs on the first time you start the program with an exponent. If it does not find a checkpoint file, it starts the exponent from the beginning. After that, it will have created one in the program folder so it can pick up processing from where it left off.
kladner is offline   Reply With Quote
Old 2011-10-16, 22:02   #5
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 bcp19 View Post
Q: DO you have examples of command line entries to run Cudalucas?

I know I can type cudalucas 5412xxx and it'll start running, but how do I get information like mfaktc has, IE: Time spent, time left as well as this checkpoint file it says it cannot find when I start it
cudalucas.exe -c10000 54123893

That will run cudalucas to output the time between each 10000 iterations, as well as what fft size it's using, and current progress. (It doesn't give an eta, but that's easy to calculate given the time per x iterations.)
Dubslow is offline   Reply With Quote
Old 2011-10-16, 23:48   #6
bcp19
 
bcp19's Avatar
 
Oct 2011

7·97 Posts
Default

Quote:
Originally Posted by Dubslow View Post
cudalucas.exe -c10000 54123893

That will run cudalucas to output the time between each 10000 iterations, as well as what fft size it's using, and current progress. (It doesn't give an eta, but that's easy to calculate given the time per x iterations.)
You running the 32 or 64 bit version? I'm running the 32 bit and all I see every 10k iterations is:

Iteration 10000 M< xxxxx >C, 0x90e3daf558958134, n = 4194304, CUDALucas v1.2

Unless I sit and time how long from one iteration to the next (I'm not that interested), I have no time reference to use.
bcp19 is offline   Reply With Quote
Old 2011-10-17, 11:34   #7
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

3,137 Posts
Default

You need to add the -t:
CUDALucas.cuda3.2.sm_13.WIN64.exe -t -c10000 54123893

then you get output like this:
Iteration 10000 M( xxxxxxxx )C, 0x1aa69a25e1ccb38b, n = 4194304, CUDALucas v1.2b (7:36 real, 18.2564 ms/iter, ETA 201:42:26)
ATH is offline   Reply With Quote
Old 2011-10-17, 12:07   #8
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

481410 Posts
Default

Quote:
Originally Posted by ATH View Post
You need to add the -t:
CUDALucas.cuda3.2.sm_13.WIN64.exe -t -c10000 54123893

then you get output like this:
Iteration 10000 M( xxxxxxxx )C, 0x1aa69a25e1ccb38b, n = 4194304, CUDALucas v1.2b (7:36 real, 18.2564 ms/iter, ETA 201:42:26)
That's a bit of useful information!

Luigi
ET_ is offline   Reply With Quote
Old 2011-10-17, 14:27   #9
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

27AE16 Posts
Default

Quote:
Originally Posted by ATH View Post
You need to add the -t:
CUDALucas.cuda3.2.sm_13.WIN64.exe -t -c10000 54123893
Thanks for that, ATH!
kladner is offline   Reply With Quote
Old 2011-10-17, 15:38   #10
bcp19
 
bcp19's Avatar
 
Oct 2011

7·97 Posts
Default

Quote:
Originally Posted by ATH View Post
You need to add the -t:
CUDALucas.cuda3.2.sm_13.WIN64.exe -t -c10000 54123893

then you get output like this:
Iteration 10000 M( xxxxxxxx )C, 0x1aa69a25e1ccb38b, n = 4194304, CUDALucas v1.2b (7:36 real, 18.2564 ms/iter, ETA 201:42:26)
Thanks! Just what I was looking for.
bcp19 is offline   Reply With Quote
Old 2011-10-17, 20:05   #11
bcp19
 
bcp19's Avatar
 
Oct 2011

7×97 Posts
Default

Sorry for the double post, won't let me edit my last. It must be somethign in the 32 bit version, even using the -t parameter I am not getting any timing indications. :(
bcp19 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Anti-poverty drug testing vs "high" tax deduction testing kladner Soap Box 3 2016-10-14 18:43
What am I testing? GARYP166 Information & Answers 9 2009-02-18 22:41
k=243 testing ?? gd_barnes Riesel Prime Search 20 2007-11-08 21:13
Testing grobie Marin's Mersenne-aries 1 2006-05-15 12:26
Speed of P-1 testing vs. Trial Factoring testing eepiccolo Math 6 2006-03-28 20:53

All times are UTC. The time now is 03:03.

Wed May 19 03:03:26 UTC 2021 up 40 days, 21:44, 0 users, load averages: 3.29, 2.65, 2.36

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.