mersenneforum.org  

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

Reply
 
Thread Tools
Old 2013-01-25, 07:58   #2190
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

11100001101012 Posts
Default

Quote:
Originally Posted by LaurV View Post
Try decreasing the priority of mfaktc or increasing the priority of p95 till they have both the same chance to grab the CPU ticks. Of course if P95 works in iddle mode, mfaktc does not wait for it...
Edit: Disclaimer: don't do that at home!
'Twasn't P95, but was rather hyperthreaded lasieve.
Quote:
Originally Posted by rjbelans View Post
You shouldn't ass.u.me anything!

Essentially, I set the last few settings to their maximum number to see what it would do. I would suggest not doing that.
Heh, thanks for the tip
Dubslow is offline   Reply With Quote
Old 2013-01-25, 20:00   #2191
rjbelans
 
rjbelans's Avatar
 
Dec 2012

7 Posts
Default

So, I did a little testing of what changes to settings would do for me. I found that the only change that netted me an improvement was to set GPUSieveSize=128. This improved performance from 325 to 330. I also noticed that setting GPUSievePrimes at 150000 or more resulted in decreased performance, so I now have it at 100000 with no noticeable decrease compared to the default of 82486.


It looks like I will need to play with my OC to get any additional performance gains. That would be something to look at later, I'm happy with where it is right now.


330 GHz-d/day on each core with clocks set to 720/1440/1728 @ stock 0.925V.
rjbelans is offline   Reply With Quote
Old 2013-01-26, 00:29   #2192
RichD
 
RichD's Avatar
 
Sep 2008
Kansas

338710 Posts
Default

Quote:
Originally Posted by rjbelans View Post
... I'm happy with where it is right now.


330 GHz-d/day on each core with clocks set to 720/1440/1728 @ stock 0.925V.
And we're happy with your contributions. Welcome aboard, and have a safe journey.
RichD is offline   Reply With Quote
Old 2013-01-26, 04:16   #2193
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

5×479 Posts
Default

I'm still having trouble compiling mfaktc. It turned out that VC++ doesn't handle custom makefiles very well, so I decided to use nmake instead. However, I'm still getting errors:

Code:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin>nmake.exe -f C:\Users\danny\Desktop\mfaktc-0.20\src\Makefile.win

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

C:\Users\danny\Desktop\mfaktc-0.20\src\Makefile.win(26) : fatal error U1001: syntax error : illegal character '^' in macro
Stop.
I tried removing the caret from the file, but that results in a different error. *sigh*

Why does Microsoft have to make this so complicated?

Last fiddled with by ixfd64 on 2013-01-26 at 04:17
ixfd64 is offline   Reply With Quote
Old 2013-01-26, 13:55   #2194
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

100010101112 Posts
Default

Quote:
Originally Posted by ixfd64 View Post
I'm still having trouble compiling mfaktc. It turned out that VC++ doesn't handle custom makefiles very well, so I decided to use nmake instead. However, I'm still getting errors:

Code:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin>nmake.exe -f C:\Users\danny\Desktop\mfaktc-0.20\src\Makefile.win

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

C:\Users\danny\Desktop\mfaktc-0.20\src\Makefile.win(26) : fatal error U1001: syntax error : illegal character '^' in macro
Stop.
I tried removing the caret from the file, but that results in a different error. *sigh*

Why does Microsoft have to make this so complicated?
nmake is not gnu make. You'll need to modify the makefile or install gnu make (or a compatible make).

Oliver
TheJudger is offline   Reply With Quote
Old 2013-01-26, 14:15   #2195
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

(as best I can remember and some are only for CuLu)

First thing is to go here and check out post 808 and on. You'll see what I had to do to get compiling working. It has been a while, so I don't remember all the details, but the instructions there are pretty good.

I know I have all CUDA toolkits installed from 3.2 up so I can compile all versions. Also, I have MSVS 2008 and 2010 installed.

Once everything is installed, I use make for Windows (here). The only file that's required is make.exe. Once you have that, open the command window from the required MSVS location. Mine are in C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC.

I place a shortcut to the command windows in my source along with make.exe.

You might have to update makefile.win to the CUDA version and SM you want.

The command line used is 'make -f makefile.win' or 'make -f makefile.win32'

Once it completes, you can run 'make -f makefile.win clean' to get rid of the .obj file (associated with the current makefile.win)

If you want to get rid of everything, run 'make -f makefile.win cleaner' to delete all .obj and .exe files (associated with the current makefile.win)

I'm no expert. I'm just learning as I go along. I really hope to have the project files working in MSVS, but that will have to wait until I have a little more time.

Let me know if you have any questions.

Jerry

Last fiddled with by flashjh on 2013-01-26 at 14:17
flashjh is offline   Reply With Quote
Old 2013-01-30, 03:03   #2196
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

45338 Posts
Default

Could someone please compile mfaktc for Mac OS X?
ixfd64 is offline   Reply With Quote
Old 2013-02-02, 19:01   #2197
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

5×479 Posts
Default

Sorry for the double post, but does anyone know why I'm getting "n.a." for the ETA?
ixfd64 is offline   Reply With Quote
Old 2013-02-02, 19:02   #2198
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

The run is too short.
flashjh is offline   Reply With Quote
Old 2013-02-02, 19:14   #2199
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

5·479 Posts
Default

Quote:
Originally Posted by flashjh View Post
The run is too short.
Thanks. I had a feeling that was the reason, but I was unable to find any mention of it. Do you know the minimum ETA that will be printed?
ixfd64 is offline   Reply With Quote
Old 2013-02-02, 19:18   #2200
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

100011000112 Posts
Default

From output.c:

Code:
if(mystuff->stats.class_time > 250)
So it looks like anything over 250 seconds will output an ETA

Last fiddled with by flashjh on 2013-02-02 at 19:19
flashjh is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
mfakto: an OpenCL program for Mersenne prefactoring Bdot GPU Computing 1676 2021-06-30 21:23
The P-1 factoring CUDA program firejuggler GPU Computing 753 2020-12-12 18:07
gr-mfaktc: a CUDA program for generalized repunits prefactoring MrRepunit GPU Computing 32 2020-11-11 19:56
mfaktc 0.21 - CUDA runtime wrong keisentraut Software 2 2020-08-18 07:03
World's second-dumbest CUDA program fivemack Programming 112 2015-02-12 22:51

All times are UTC. The time now is 11:44.


Mon Aug 2 11:44:10 UTC 2021 up 10 days, 6:13, 0 users, load averages: 1.33, 1.22, 1.19

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.