mersenneforum.org  

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

Reply
 
Thread Tools
Old 2012-03-25, 06:55   #45
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Nah, hear is fine. The HD 5570 might still be good for mfakto, you'd have to check the PDF in the original post to see what mfakto requires.

In general, CUDA is more efficient compared to OpenCL as far as getting the most actual performance out of theoretical ops/second; James maintains a chart, visible here, that contains theoretical performance and estimated GIMPS performance for a variety of cards. Note that for the ratio of GHz-Day/Day to GFLOPS is much higher than with AMD, going back to CUDA vs. OpenCL. (Compare the 6990 to the 590, which are supposed to be roughly equivalent cards in most respects.) Since price is generally correlated to GFLOPS (as opposed to GIMPS throughput), nVidia is probably more value if you're just looking for value. If you do go with nVidia, be sure to get a "Compute Compatibility" 2.0, and NOT 2.1. The 580 might be within your price range given that the 680 has just come out, but I'm not sure. If not, I'd go with a 570. Unfortunately, because the AMD cards are less efficient in relation to GIMPS, I can't tell you too much about them.

As for power, you're right to not be worried at all. My quad core 3.4 GHz 2600K has a TDP of 95W, not much more than a lightbulb. Together with the GTX 460 and all the other stuff, I use a 600W power supply, though it's likely that the comp doesn't draw more than 450W, even with everything under full load. One of the reasons we have quad core computers for the same size as those old single cores is because the transistors are much smaller (today's transistors are more than an order of magnitude smaller than the wavelength of visible light), which means they also draw a lot less power to do the same thing. (Ivy Bridge will feature 77W TDP quad cores at slightly higher frequencies than Sandy Bridge, thanks to a transistor shrink and redesign.)
Dubslow is offline   Reply With Quote
Old 2012-03-25, 07:13   #46
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Okay, regarding TF on AMD cards, this thread has made it clear that the original post is not clear enough on how to use AMD cards.

For simplicity's sake, here are some example changes:
Code:
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 , and the list of AMD supported GPUs here: http://www.khronos.org/conformance/adopters/conformant-products/
Code:
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 (including AMD/ATI), use mfakto, an OpenCL implementation. The latest version is here: http://www.mersenneforum.org/showthread.php?t=15646 . You can also check the PDF attached to this post; it contains the most recent versions, specific compatibility requirements, as well as examples of how to use the programs.
A new question, to be inserted directly proceeding the above two:
Code:
Q. How do I use these programs?
A. The programs are run from the command line (cmd.exe in Windows). Open a command line, change to the right directory, and run "mfaktc.exe -h" or "mfakto.exe -h". It is also possible to set up shortcuts, batch files, or shell scripts to automatically start mfakt* after you have learned how to use the program. Again, see the attached PDF for more detailed usage examples.
It might also be worthwhile to add more emphasis to the "mfaktc uses CPU" question, as we've had at least one user post wondering if that was right since the thread went up.

Last fiddled with by Dubslow on 2012-03-25 at 07:24
Dubslow is offline   Reply With Quote
Old 2012-03-25, 08:08   #47
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

3·7·167 Posts
Default

Thanks dubslow, I'll repost if I have any problems. Your info should keep me busy for a good long while. :)

Edit:chrisjp, apparently the creater of the program, says you have to fight with the program to get this version running properly, so I think I'll just watch these threads and track progress for the moment.

Thanks for the help. I'm gonna go look at the last few weeks of the posts for these threads and then call it a night for this particular goal.

Last fiddled with by jasong on 2012-03-25 at 08:15
jasong is offline   Reply With Quote
Old 2012-03-25, 18:28   #48
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

...Which program? mfakto was written by Bdot.
Dubslow is offline   Reply With Quote
Old 2012-03-25, 21:00   #49
Bdot
 
Bdot's Avatar
 
Nov 2010
Germany

3×199 Posts
Default

Quote:
Originally Posted by jasong View Post
Thanks dubslow, I'll repost if I have any problems. Your info should keep me busy for a good long while. :)

Edit:chrisjp, apparently the creater of the program, says you have to fight with the program to get this version running properly, so I think I'll just watch these threads and track progress for the moment.

Thanks for the help. I'm gonna go look at the last few weeks of the posts for these threads and then call it a night for this particular goal.
Let me suggest you start with the 5570 you have, install the latest Catalyst (i.e. AMD graphics) driver, and play around a little with mfakto.

James' site suggests that you can get ~30 GHz-days per day with that. If you kind of like how that works, you just want it faster, then use that table again (for instance) to find a GTX570 can be 10 times as fast (if you have the CPU power to feed it well).

And if you could send to James a benchmark run of the 5570, you can help making the table more accurate so that similar predictions will be better.
Bdot is offline   Reply With Quote
Old 2012-04-16, 10:34   #50
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

5·1,871 Posts
Default

Someone should actualize the links to the newest pdf and mfaktc/o.
edit: i mean, in the first post.

Last fiddled with by LaurV on 2012-04-16 at 10:35
LaurV is offline   Reply With Quote
Old 2012-04-24, 05:16   #51
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

107668 Posts
Default Tinkering wth my GeForce 8400GS

Does that sound kinky?

Anyway getting suspicios errors:

Code:
running a simple selftest...
ERROR: cudaGetLastError() returned 6: the launch timed out and was terminated
This is after about 45 seconds at which time the screen goes blank and then Windows7 64-bit pops up a window in the taskbar that says something like: Display Driver stopped responding and was recovered.

Only one time out of about 7 tries it did pass the selftest and then said it could not read the worktodo.txt file.

2 questions:

1. I assume it should be in the same directory as the mfaktc?
2. From the readme there is this sample line: Factor=bla,66362159,64,68
Is the bla, required?

Per James suggestion I changed Numstreams to 2 but my GUI is still quite laggy.

Last fiddled with by petrw1 on 2012-04-24 at 05:19
petrw1 is offline   Reply With Quote
Old 2012-04-24, 06:37   #52
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Yes, they should be in the same directory. No, the bla can be anything or nothing.
Factor=bla,66362159,64,68 works as well as Factor=66362159,64,68 works as well as Factor=N/A,66362159,64,68 works as well as Factor=<long hex key>,66362159,64,68. For your errors, I'd look into what the various CUDA versions you're using. That card is only CC 1.1, which is probably causing errors with the software you're using; I'll look into that, brb. (QuickEdit: The not finding worktodo.txt may be a permissions thing; it's best if your mfaktc folder is inside your User folder, or My Documents.)

Edit: Okay, here's something from Makefile.win:
Code:
NVCCFLAGS = -m64 --generate-code arch=compute_11,code=sm_11 --generate-code arch=compute_20,code=sm_20 --ptxas-options=-v
With a no knowledge of nVidia compiler options, I'd hazard a guess that this means that the binaries provided in the mirror do have CC 1.1 code somewhere in them. nVidia does supposedly offer backwards compatibility, meaning that code compiled for CC 1.1 ought to run with later versions of CUDA, i.e. later versions of the .dll's, so I'm not sure what the problem is. I'd take this to the mfaktc thread.

Last fiddled with by Dubslow on 2012-04-24 at 06:50
Dubslow is offline   Reply With Quote
Old 2012-04-25, 10:32   #53
Karl M Johnson
 
Karl M Johnson's Avatar
 
Mar 2010

3·137 Posts
Default

That error is related to WDDM.

Create patch.reg, paste the code below in it and run that as admin:
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers]
"TdrLevel"=dword:00000000
Karl M Johnson is offline   Reply With Quote
Old 2012-04-27, 17:46   #54
Redarm
 
Redarm's Avatar
 
Apr 2012
Berlin Germany

5110 Posts
Default

First time i'm posting...
I've get a GTX 680 and have absolutely no idea how to get mfactc0.18 running :(

ERROR: cudaGetLastError() returned 8: invalid device function

I've readed something about compiling with Cuda Toolkit 4.2 but have no clue how to do this, could someone help me please?
Redarm is offline   Reply With Quote
Old 2012-04-27, 20:19   #55
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

160658 Posts
Default

You shouldn't need to compile anything... What OS? What are the version numbers of the .dll/.so files you're using?
Dubslow 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 12:34.

Sat Apr 10 12:34:54 UTC 2021 up 2 days, 7:15, 1 user, load averages: 2.32, 2.15, 2.14

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.