![]() |
|
|
#2839 | |
|
"Mihai Preda"
Apr 2015
3·457 Posts |
Quote:
(the counts are over a block of 256*1024*1024 bits). Code:
Using 262176 primes (up to 3681761) expected filter 17.87131% Exponent 332195561, k 1819 599599668620 (80.000000 bits) Count 47939695 0.0% (class 0): 47939646 (17.859%), 27.0ms 0.1% (class 3): 47939695 (17.859%), 40.2ms 0.2% (class 4): 47942475 (17.860%), 40.2ms 0.3% (class 15): 47935056 (17.857%), 40.2ms 0.4% (class 19): 47938399 (17.858%), 40.2ms 0.5% (class 24): 47933509 (17.857%), 40.2ms 0.6% (class 28): 47932880 (17.856%), 40.2ms 0.7% (class 31): 47934883 (17.857%), 40.2ms 0.8% (class 36): 47935394 (17.857%), 40.2ms 0.9% (class 39): 47935199 (17.857%), 40.2ms 1.0% (class 40): 47930480 (17.855%), 40.2ms 1.1% (class 43): 47929750 (17.855%), 40.2ms 1.2% (class 48): 47935548 (17.857%), 40.2ms 1.4% (class 55): 47933873 (17.857%), 40.2ms 1.5% (class 60): 47935660 (17.857%), 40.2ms 1.6% (class 63): 47936327 (17.858%), 40.2ms 1.7% (class 64): 47931330 (17.856%), 40.2ms 1.8% (class 75): 47935783 (17.857%), 40.2ms 1.9% (class 76): 47937988 (17.858%), 40.2ms Last fiddled with by preda on 2018-08-09 at 02:02 Reason: add source link |
|
|
|
|
|
|
#2840 |
|
Jun 2003
2×3×7×112 Posts |
|
|
|
|
|
|
#2841 | |
|
"Oliver"
Mar 2005
Germany
11×101 Posts |
Hi,
we have found the issue in this case: Quote:
Oliver |
|
|
|
|
|
|
#2842 |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
22×5×271 Posts |
Tried to build mfaktc v0.21 unmodified, for CUDA 9.2 on Windows 64-bit, following the directions in the mfaktc readme's compiling on windows section. On a system on which gnu make for Windows had freshly been installed, and also Visual Studio 2017, and no previous builds of mfaktc performed, after one small modification to eliminate a single compile error on mfaktc.c line 995:
Code:
mystuff.selftestrandomoffset = rand() % 25000000 ; // was random() % 25000000 until 8/22/2018 kriesel; random( 25000000 ) gives a different compiler error Code:
link /nologo /LTCG sieve.obj timer.obj parse.obj read_config.obj mfaktc.obj checkpoint.obj signal_handler.obj output.obj tf_72bit.obj tf_96bit.obj tf_barrett96 .obj tf_barrett96_gs.obj gpusieve.obj tf_75bit.obj "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2"\lib\x64\cudart.lib /out:..\mfaktc-win-64.exe fatal error C1905: Front end and back end not compatible (must target same proce ssor). LINK : fatal error LNK1257: code generation failed make: *** [..\mfaktc-win-64.exe] Error 1257 (Unfortunately, the Visual Studio command prompt in which the make is run, has too small a screen history buffer and resists attempts to increase it, to catch the thousands of lines of a clean first compile, much less to hold the error messages preceding.) Doing 32-bit compilation is not a viable alternative in the CUDA toolkit 9.2 & VS 2017 combo: Code:
nvcc -O2 -c tf_72bit.cu -o tf_72bit.obj -ccbin="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin" -Xcompiler /EHsc,/W3,/nologo,/Ox,/GL -m32 --ptxas-options=-v --generate-code arch=compute_30,code=sm_30 --generate-code arch=compute_35,code=sm_35 --generate-code arch=compute_50,code=sm_50 --generate-code arch=compute_52,code=sm_52 --generate-code arch=compute_61,code=sm_61 --generate-code arch=compute_70,code=sm_70 nvcc fatal : 32 bit compilation is only supported for Microsoft Visual Studio 2013 and earlier make: *** [tf_72bit.obj] Error 1 Last fiddled with by kriesel on 2018-08-22 at 17:18 |
|
|
|
|
|
#2843 |
|
Jun 2003
2×7×113 Posts |
Can Mfaktc be modified to support Generalized repunit trial factoring. The algebraic factors would be similar to mersenne numbers. Any help would be welcomed. Thanks.
Last fiddled with by Citrix on 2018-09-12 at 16:17 |
|
|
|
|
|
#2844 | |
|
Mar 2011
Germany
3×31 Posts |
Quote:
I would say possibly yes, but not easily. When I converted mfaktc to base 10 repunits I had to calculate the possible modular classes for base 10 and adapt the corresponding parts in the source code. For general repunits I am not sure if there is a generic way of calculating these classes. One option would be to ignore the possible classes and simply test all numbers, thus wasting lots of resources. I guess creating a lookup table for the different base to the corresponding classes is some bigger task, but possible. Also the current mfaktc version is not well suited to handle numbers in the range of general repunits, so one has to create kernels that are faster. I did this already by implementing a kernel for numbers < 64 bits. I can put the source code here if there is some interest. Question to TheJudger: is there an official repository for mfaktc? I found one on github, but it was not created by you. If I would like to post my changes (on an extra branch) where would I do this? |
|
|
|
|
|
|
#2845 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
22·5·271 Posts |
Quote:
|
|
|
|
|
|
|
#2846 | |
|
Mar 2011
Germany
3·31 Posts |
Quote:
I really meant a source code repository, similar to gpuowl: https://github.com/preda/gpuowl |
|
|
|
|
|
|
#2847 | |
|
Jun 2003
2×7×113 Posts |
Quote:
The only question is what form these factors can take mod 8? I do not have a general rule for this. I am working on a special set of odd bases (for b^p+1 and b^p-1) where the factors are always 1 and 5 (mod 8). Are there any other modular restrictions that I am not aware of? If you could modify your program to help me.. I would appreciate it. I would prefer the compiled .exe instead of the source code. I am afraid I might not be compile the code. Thanks. |
|
|
|
|
|
|
#2848 | |
|
Sep 2003
5×11×47 Posts |
Quote:
The set of changes were rather small. So it ought to be feasible. PS, if anyone is actively finding factoring Wagstaff numbers, or has log files from old searches, I am compiling a list of factors. See this thread and this webpage. Last fiddled with by GP2 on 2018-09-13 at 16:38 |
|
|
|
|
|
|
#2849 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
124548 Posts |
Quote:
From my mfaktc forum notes, some of these posts might be of interest too. 2492 v0.21 release http://mersenneforum.org/showpost.ph...postcount=2492 2505 tuning advice 2547 mention of a v0.22 in development http://mersenneforum.org/showpost.ph...postcount=2547 2569 Win XP won't run mfaktc or anything built in VS2012; needs to be VS2010. http://mersenneforum.org/showpost.ph...postcount=2569 2570 version built for win xp http://mersenneforum.org/showpost.ph...postcount=2570 2602 NVIDIA bug related to 8.0 and gtx1070/80 2645 cuda 8 v0.21 build http://mersenneforum.org/showpost.ph...postcount=2645 2663 extra versions: wagstaff and less-classes http://mersenneforum.org/showpost.ph...postcount=2663 2692 linux x64 cuda8 build such as for gtx1070/80 http://mersenneforum.org/showpost.ph...postcount=2692 2735 various versions with various minimum exponent described |
|
|
|
|
![]() |
| 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 |