![]() |
|
|
#3136 |
|
Bemusing Prompter
"Danny"
Dec 2002
California
74 Posts |
c10ck3r came up with an interesting idea over at the mfakto thread: https://mersenneforum.org/showpost.p...postcount=1511
If an exponent already has P-1 done, then we can use the bounds to eliminate any smooth factor candidates and save up to around 26% of the sieving. Would this be hard to implement? |
|
|
|
|
|
#3137 |
|
"Seth"
Apr 2019
22×3×52 Posts |
Hey!
I've recently started on poking around in mkfactc, I was curious about what made mkfactc so much faster than my sieving program. I think I can help out with a couple of features, code cleanups, and maybe even a speedup around gcd. I've already written a couple of patches around verification[1], support for small exponents[2], general cleanups[3]). I don't see a github repository for mkfactc, what's the appropriate way to get it touch with the active developers? [1] https://mersenneforum.org/showpost.p...&postcount=151 [2] https://github.com/sethtroisi/mfaktc...bea8c1ecfe59ab [3] https://github.com/sethtroisi/mkfact...eam...upstream |
|
|
|
|
|
#3138 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
26·5·17 Posts |
Quote:
2) Repositories (sourceforge, github, mirrors) and other info for the various software titles are documented in the attachment at post 2 of https://www.mersenneforum.org/showthread.php?t=23371 3) To my knowledge, mfaktc and other GIMPS trial factoring programs do not use gcd. At all. (P-1 factoring uses gcd.) 4) Your third link, [3] above, gave a 404 error 5) I don't recall the details, but I think there's more to supporting p<100000 than your second link shows. The discussion of those details is probably somewhere months back in the mfaktc thread here. 6) I've been for a while writing and revising a summary of trial factoring concepts, with a distinctly mfaktc oriented flavor. It's at post 6 of https://www.mersenneforum.org/showthread.php?t=23386 and was updated again today. 7) There's a considerable backlog of ideas for improving or updating mfaktc, including for taking full advantage of recently released gpu models. And the author had a prerelease version v0.22 already years ago. Please combine forces with him for efficiency and so you're not working at cross purposes. 8) Welcome. Last fiddled with by kriesel on 2019-04-17 at 23:03 |
|
|
|
|
|
|
#3139 | ||
|
"Seth"
Apr 2019
30010 Posts |
Quote:
2) Thanks for keeping track of all this information. In this case I did look at that resource. it has two links for mfaktc one is broken and the other is this thread. 3) I have a plan for a fast GPU implementation that I want to combine with the GPU sieve. 4) Yep it was another instance of me misspelling mfaktc. Correctly link is https://github.com/sethtroisi/mfaktc...eam...upstream 5) I'd love more details. I added 180 testcases and tested 500 more know factors and my branch finds them all. I also tried to search this thread but it's several thousand posts... 6) Thanks again for collecting and curated this information. I've seen many of your posts and learned a lot reading them. I'll reread #6 Quote:
Last fiddled with by SethTro on 2019-04-18 at 20:29 |
||
|
|
|
|
|
#3140 |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
2×67×73 Posts |
Silly mistakes are part of being human.
I must apologize for being rather stupid here recently, and causing offense. This is not an excuse, but I'm under a little bit of pressure at the moment. Working on something which is rather important. Interacting with other very intense individuals helps me channel my focus, but I understand and appreciate that not everyone understands or appreciates what I'm doing. Sorry for being an ass. Sincerely. |
|
|
|
|
|
#3141 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
19·397 Posts |
|
|
|
|
|
|
#3142 | ||||
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
10101010000002 Posts |
Silly mistakes and their close kin stupid questions are my favorites. They're generally the easiest to address. ;)
Quote:
Quote:
Quote:
(re collaborating and making headway on the considerable backlog of enhancement ideas): Quote:
Code:
# MoreClasses is a switch for defining if 420 (2*2*3*5*7) or 4620 (2*2*3*5*7*11) classes of # factor candidates should be used. Normally, 4620 gives better results but for very small classes # 420 reduces the class initialization overhead enough to provide an overall benefit. # Used only when sieving on the GPU; the CPU-sieve will always use 4620 classes. # # Possible values: # MoreClasses=0 (use 420 classes) # MoreClasses=1 (use 4620 classes) # # Default: MoreClasses=1 MoreClasses=1 |
||||
|
|
|
|
|
#3143 |
|
Jun 2010
Pennsylvania
2×467 Posts |
Help! I'm trying to set up MFAKTC on a newly arrived (refurbished) GTX 960 running in an old Windows XP machine, but thus far without success.
The XP has been happily TFing on MFAKTC (CUDA 4.2) with a GeForce GT 730. Somewhere along the way I came to understand that a GTX 960 won't run on CUDA 4.2, so I downloaded the CUDA 6.5 version of MFAKTC, extracted it to its own directory on the XP, and tried to run it from a command prompt as usual. However, the program keeps failing with a dialog box stating that, "MFAKTC-WIN-32.EXE is not a valid Win32 application," and then a new line is output to the command line saying that, "Access is denied." What am I doing wrong, and what do I need to do to get this working? There are a lot of balls to juggle here, and I don't know which one I'm failing to catch. |
|
|
|
|
|
#3144 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
26×5×17 Posts |
Quote:
|
|
|
|
|
|
|
#3145 | |
|
Jun 2010
Pennsylvania
2·467 Posts |
Quote:
How does one check which version of Windows MFAKTC 0.21 was compiled for? The ZIP file contains 32- and 64-bit versions and this XP is 32 bits, so... Regarding the other types of info you asked about, I've struck out on all of them. The release notes for this driver were of no help, and I didn't find anything that looked useful in Device Manager. A Web search for "what CUDA level does 368.81 driver support" didn't turn up anything; the specifications page for the 960 says merely that "Yes" it supports CUDA, but not what levels.
Last fiddled with by Rodrigo on 2019-05-07 at 15:49 Reason: added CRs for readability |
|
|
|
|
![]() |
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 |