![]() |
|
|
#331 |
|
Sep 2008
Kansas
24×211 Posts |
Attached is a Linux build (with .exe) using CUDA 8.0 and sm_20, 30, 35, 50, 52, 61.
Last fiddled with by RichD on 2018-09-30 at 17:37 Reason: add attachment |
|
|
|
|
|
#332 |
|
Banned
"Luigi"
Aug 2002
Team Italia
32×5×107 Posts |
|
|
|
|
|
|
#333 |
|
Sep 2008
Kansas
24·211 Posts |
I recalled this from the earlier days. You might be able to run mmff without installing the entire CUDA suite by referencing the dynamic library. I added a "lib" folder to the previous package. It can be run by:
Code:
LD_LIBRARY_PATH=./lib ./mmff.exe |
|
|
|
|
|
#334 | |
|
Banned
"Luigi"
Aug 2002
Team Italia
113178 Posts |
Quote:
|
|
|
|
|
|
|
#335 |
|
"Dylan"
Mar 2017
3×193 Posts |
Attached is a Windows 64bit executable and source for mmff set for CUDA 10. I post this here since this executable still gives me the error "Class problems. Factor divisible by 2, 3, 5, 7, or 11" even though the makefile "Makefile.win" is set to produce code for CC 3.0 and above (including 6.1 which covers Pascal cards, which is what I have) and I want to see if others can replicate the issue and provide me a fix, as Luigi was unable to help. Note you will need the CUDA 10 cudart dll, it can be found here: https://www.mersenneforum.org/mfaktc...in.cuda100.zip.
|
|
|
|
|
|
#336 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
31×173 Posts |
Quote:
|
|
|
|
|
|
|
#337 |
|
Sep 2003
258510 Posts |
I downloaded the mmff-0.28 source code.
In mfaktc.c, there are lines like this (line 166 to 168): Code:
if (exp == 31) {
unsigned int exp_mod8, exp_mod3, exp_mod5, exp_mod7, exp_mod11;
exp_mod8 = 7; exp_mod3 = 1; exp_mod5 = 2; exp_mod7 = 1; exp_mod11 = 1;
Similarly for exp==61, exp==89, exp==107. But exp==127 does seems to use the right numbers. This seems like a misguided optimization attempt. The code for exp == 31, 61, 89, 107, 127 could be removed, and just let the default code remain (the code that explicitly uses exp % 8 and exp % 3 etc.) This is the code that selects classes. If it doesn't select the right classes, it won't find factors. |
|
|
|
|
|
#338 | |
|
Banned
"Luigi"
Aug 2002
Team Italia
32×5×107 Posts |
Quote:
|
|
|
|
|
|
|
#339 |
|
Sep 2003
1010000110012 Posts |
Yes, I made an elementary mistake. Obviously, it's not 31 mod n, it's 2^31−1 mod n that has to be calculated, and then the values mod 8, 3, 5, 7, 11 are 7, 1, 2, 1, 1 as expected.
|
|
|
|
|
|
#340 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
2×53×71 Posts |
|
|
|
|
|
|
#341 |
|
Jul 2003
11438 Posts |
hi,
please can someone compile mmff for nvidia turing cards for win64 ? |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mersenne trial division implementation | mathPuzzles | Math | 8 | 2017-04-21 07:21 |
| trial division over a factor base | Peter Hackman | Factoring | 7 | 2009-10-26 18:27 |
| P95 trial division strategy | SPWorley | Math | 8 | 2009-08-24 23:26 |
| Trial division software for Mersenne | SPWorley | Factoring | 7 | 2009-08-16 00:23 |
| Need GMP trial-division timings | ewmayer | Factoring | 7 | 2008-12-11 22:12 |