mersenneforum.org  

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

Reply
 
Thread Tools
Old 2011-10-15, 10:54   #1
garo
 
garo's Avatar
 
Aug 2002
Termonfeckin, IE

1001110011102 Posts
Exclamation GPU Trial Factoring FAQ

Please post additional questions/answers below. I'll update the FAQ on a regular basis.

Q. Can I use my GPU to trial factor Mersenne numbers?
A. If it is a relatively modern GPU, yes. You can see the list of Nvidia supported GPUs here: http://en.wikipedia.org/wiki/CUDA#Supported_GPUs

Q. So what software do I use and where do I get it?
A. For nvidia based GPUs use mfaktc http://www.mersenneforum.org/mfaktc .
For other GPUs use mfakto an OpenCL implementation. The latest version is here: http://www.mersenneforum.org/showthread.php?t=15646

Q. How do I get work?
A. At the time, mfaktc cannot get work from Primenet automatically. You need to get assignments from the manual assignments page and turn the results in likewise.

Q. Where do I put those assignments?
A. In the worktodo.txt file.

Q. Do I need to stop mfaktc to add more to the worktodo.txt file?
A. No. As long as you don't mess with the first line and take care not to save your hand-modified worktodo.txt while mfaktc is modifying it (after having finished a test or found a factor).

Q. Will the completed work automatically be removed from the worktodo file?
A. Yes.

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

Q. Does mfaktc require CPU time?
A. Yes. The sieving part of the trial factoring process is done on the CPU. If you have a fast GPU e.g. GTX 460 or above, you may need to run multiple instances of mfaktc - each using one CPU core - to get the most out of your GPU.

Q. Why do I get a missing dll error?
A. Get them here: http://www.mersenneforum.org/showpos...&postcount=632

Q. Is there a wiki with more info?
A. http://mersennewiki.org/index.php/Mfaktc
http://mersennewiki.org/index.php/Mfakto


Brain's quick start guide is attached to this post. It is a handy one pager with all the critical information.

PDF Guide:
GIMPS GPU Computing Cheat Sheet (pdf)

Last fiddled with by Brain on 2012-08-05 at 10:13 Reason: GPU Computing Cheat Sheet updated
garo is offline   Reply With Quote
Old 2011-10-15, 15:06   #2
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

234778 Posts
Default

Many thanks for getting this started, garo! I am sure it will save many beginners (like me) a lot of thrashing about.
kladner is offline   Reply With Quote
Old 2011-10-15, 16:11   #3
Brain
 
Brain's Avatar
 
Dec 2009
Peine, Germany

331 Posts
Default GPU Computing Guide Update to v 0.05

Latest version...

GIMPS GPU Computing Cheat Sheet (pdf)

Last fiddled with by Brain on 2012-08-05 at 10:13
Brain is offline   Reply With Quote
Old 2011-10-15, 16:17   #4
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

3·17·197 Posts
Default

Wow! Great update, Brain! Thanks!
kladner is offline   Reply With Quote
Old 2011-10-15, 17:49   #5
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

2·19·61 Posts
Default

Q: When will we have a version of Prime95 with GPU support?
A: When it's doneā„¢.
ixfd64 is offline   Reply With Quote
Old 2011-10-15, 23:16   #6
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·2,399 Posts
Default

Dubslow is offline   Reply With Quote
Old 2011-10-15, 23:25   #7
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×2,399 Posts
Default

Quote:
Originally Posted by Brain View Post
Latest version...
Hmmm.... I can't click on the links, and version 3 still works fine in the same program.
Dubslow is offline   Reply With Quote
Old 2011-10-15, 23:31   #8
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

11100000111012 Posts
Default

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. (Garo: kladner has a couple of batch posts in the GPU-Noob thread.)

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

Last fiddled with by Dubslow on 2011-10-15 at 23:31
Dubslow is offline   Reply With Quote
Old 2011-10-16, 01:52   #9
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

3·17·197 Posts
Default

Dubslow:
"I can't click on the links"

Yikes! I didn't check, but it's true. The layout looks good.
kladner is offline   Reply With Quote
Old 2011-10-16, 02:34   #10
Christenson
 
Christenson's Avatar
 
Dec 2010
Monticello

24·107 Posts
Default

I thought the trhead below might have been the right one to make sticky....
http://mersenneforum.org/showthread.php?t=15621 ("Putting it All Together")

Kindly someone look through there and patch up any holes in this thread....

And Garo, is this thread limited to mfaktc, or do we also cover CUDALucas, in which case the title is a bit "off"?

Thanks
Christenson is offline   Reply With Quote
Old 2011-10-16, 03:32   #11
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

3×17×197 Posts
Default

Quote:
.....is this thread limited to mfaktc, or do we also cover CUDALucas.....
Might it not be better to keep threads on different programs separate to do some of the sorting up front? I thought about "GIMPS GPU FAQ", but then we'd immediately need sub-threads for mfaktc, cudalucas, [other current GPU programs], and [future GPU programs which will appear].

Which is better? Individual FAQs for different programs, different languages, different GPUs? Or sub-threads to an over-arching FAQ?

I don't know. Just asking. I'm sure there are other organizations possible, or already existing. But I think it is worth examining how to keep the structure as intuitive as possible if it is aimed especially at beginners.

As one such, I've trolled through many threads, reading comments and grabbing downloads of advancing program versions; some of which contained contained code for compilation and/or compiled exe's for 32 and 64 bit Windows versions. So far, for me, compiled binaries, along with links to necessary dll's have been vital resources. Of course, README's, explanatory comments in ini's, and [program name].txt files are invaluable.

OUCH. I just stepped into another cow pie. I'm only running Win XP-32 and 7-64 right now. I have messed with Red Hat Linux in the past, even to the point of modifying and compiling kernel code for a specific CPU etc. But I have no grasp of GIMPS in the Linux domain today except to know that there are Linux versions available or possible for some flavors of Linux.

In any case, that adds another category to the organization tree. Clearly, I'm only bloviating, as I am not in a position to set up structures. But I think, in the interest of getting newcomers hooked up and productive, that it's worth thinking about how to make basic things available and minimally understandable for well intentioned ignoramuses.
kladner is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is Trial Factoring? Unregistered Information & Answers 5 2012-08-02 03:47
How much Trial Factoring to do? odin Software 4 2010-08-08 20:23
How far to do trial factoring S485122 PrimeNet 1 2007-09-06 00:52
How to only do Trial Factoring? michael Software 23 2004-01-06 08:54
About trial factoring gbvalor Math 4 2003-05-22 02:04

All times are UTC. The time now is 14:59.

Wed Nov 25 14:59:13 UTC 2020 up 76 days, 12:10, 3 users, load averages: 1.97, 1.81, 1.61

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.