mersenneforum.org  

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

Reply
 
Thread Tools
Old 2011-02-21, 12:23   #584
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

342110 Posts
Default

The suggestion was to do an extra level or two of TF before P-1 is done. You'd look for unreserved exponents in the just-about-to-P-1 range (~53M right now) and take each one up a TF level from where they currently are. Maybe 2 levels if you're ambitious. Then P-1 on that exponent will choose smaller bounds and spend less time on P-1 (because more factoring time has already been spent on the TF portion) and therefore we get more "good" P-1's done.
James Heinrich is offline   Reply With Quote
Old 2011-02-21, 12:34   #585
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2·3·11·73 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
The suggestion was to do an extra level or two of TF before P-1 is done. You'd look for unreserved exponents in the just-about-to-P-1 range (~53M right now) and take each one up a TF level from where they currently are. Maybe 2 levels if you're ambitious. Then P-1 on that exponent will choose smaller bounds and spend less time on P-1 (because more factoring time has already been spent on the TF portion) and therefore we get more "good" P-1's done.
Thank you James!

Luigi
ET_ is offline   Reply With Quote
Old 2011-02-22, 09:02   #586
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

11×101 Posts
Default

Hello,

find attached a executable for Windows 64bit.
Built on Windows 7 Professional x86-64 using the CUDA toolkit 3.2.16 and the C-compiler from the Windows SDK 7.0. Just in case it matters: I'm using Nvidia Geforce driver 266.58.

Don't be to rough to me if it doesn't work on your system, this is my first attempt for Windows executables.

You'll need the CUDA runtime DLL. If it is not on your system you can install the CUDA toolkit or just grab the DLL from somewhere else. I think amphoria included it in some of his executables. For future releases I'll check if I'm allowed to redistribute the DLL.

Oliver
Attached Files
File Type: zip mfaktc-0.15.win64.zip (134.3 KB, 134 views)
TheJudger is offline   Reply With Quote
Old 2011-02-22, 09:06   #587
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

11·101 Posts
Default

and an executable for Windows 32bit. Same system used for the built.
Attached Files
File Type: zip mfaktc-0.15.win32.zip (128.1 KB, 117 views)
TheJudger is offline   Reply With Quote
Old 2011-02-22, 12:45   #588
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

11·311 Posts
Default

Quote:
Originally Posted by TheJudger View Post
You'll need the CUDA runtime DLL. If it is not on your system you can install the CUDA toolkit or just grab the DLL from somewhere else. I think amphoria included it in some of his executables.
To elaborate, what you need is cudart64_32_16.dll, which is pretty tough to find on its own. You need to install cudatoolkit_3.2.16_win_64.msi from www.nvidia.com (106MB download) after which you'll find the DLL (and others) floating in your system somewhere. amphoria's previous released included a previous DLL (cudart64_31_9.dll) which doesn't help here.

But if you don't want to go through the hassle of installing the toolkit, PM/email me your email address and I'll send you the DLL. If you grab it from somewhere else, make sure it's:
Code:
f696a8cddd96fdbacf899365e7d823be cudart64_32_16.dll 549,480
James Heinrich is offline   Reply With Quote
Old 2011-02-22, 13:57   #589
firejuggler
 
firejuggler's Avatar
 
Apr 2010
Over the rainbow

2·1,303 Posts
Default

if you rename the file "cudart32_31_9.dll" to "cudart32_32_16.dll", it work too
firejuggler is online now   Reply With Quote
Old 2011-02-22, 14:40   #590
Karl M Johnson
 
Karl M Johnson's Avatar
 
Mar 2010

6338 Posts
Default

Quote:
Originally Posted by firejuggler View Post
if you rename the file "cudart32_31_9.dll" to "cudart32_32_16.dll", it work too
Didnt work for me.
But I'm happy with previous mfaktc.
Karl M Johnson is offline   Reply With Quote
Old 2011-02-22, 14:55   #591
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

11·311 Posts
Default

Quote:
Originally Posted by firejuggler View Post
if you rename the file "cudart32_31_9.dll" to "cudart32_32_16.dll", it work too
I've confirmed this does (apparently) work, although of course it would be "cudart64_31_9.dll" to "cudart64_32_16.dll" for 64-bit Windows.
You do, however, get a warning in mfatkc:
Quote:
WARNING: current CUDA runtime version is lower than the CUDA toolkit version used during compile
The CUDA runtime version is 3.20 with the real cudart64_32_16.dll, and 3.10 if you fake it with the v3.10 DLL (not surprisingly). I'm not sure if this is detrimental to the operation of mfaktc or not?
James Heinrich is offline   Reply With Quote
Old 2011-02-22, 15:42   #592
Karl M Johnson
 
Karl M Johnson's Avatar
 
Mar 2010

41110 Posts
Default

Cudart shenanigans only work with 32 bit applications. For 64 bit apps, you'll need to use native cudart.
Karl M Johnson is offline   Reply With Quote
Old 2011-02-22, 18:27   #593
aaronhaviland
 
Jan 2011
Dudley, MA, USA

4916 Posts
Default

Quote:
Originally Posted by TheJudger View Post
For future releases I'll check if I'm allowed to redistribute the DLL.
From the CUDA Toolkit EULA.txt:
Quote:
2.1.2. Redistribution Rights. Licensee may, transfer, redistribute and sublicense certain files of the Redistributable SOFTWARE, as defined in Attachment A of this Agreement; provided, however Licensee shall only install such files into a private (non-shared) directory location that is used only by Licensee’s product(s).
(Attachment A lists cudart, cufft, cublas, cusparse, curand)

Distribute at will, just don't install it in a shared location on the end-user's system?
aaronhaviland is offline   Reply With Quote
Old 2011-02-25, 15:51   #594
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

65358 Posts
Default

How difficult would it be to put in some code (at least for the Windows version) to detect keyboard/mouse activity? What about running processes?
Dreaming for a second, what I'd like to see (configurable in mfkatc.ini):
  • if keyboard/mouse active within last <x> seconds, throttle mfaktc to <y>% (0-100)
  • if <program> active, throttle mfaktc to <y>% (0-100)
This would let me run mfaktc a lot more, since I just don't run it most of the time (my system is nigh unusable when running), and I often forget to start it when I leave the computer for an extended amount of time. If it could just run in the background slowly (or paused, if I'm running something specific), and then kick into high gear when I'm gone, that would be fantastic.
James Heinrich 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 13:18.


Mon Aug 2 13:18:16 UTC 2021 up 10 days, 7:47, 0 users, load averages: 2.05, 2.04, 1.98

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.