![]() |
|
|
#67 | |
|
Einyen
Dec 2003
Denmark
2×1,579 Posts |
Quote:
Code:
GMP-ECM 7.0.5-dev [configured with GMP 6.1.2, --enable-asm-redc] [ECM] Resuming ECM residue saved by ATH@5960X with GMP-ECM 7.0.5-dev on Fri Dec 07 09:21:50 2018 Input number is 2^4007-1 (1207 digits) Using special division for factor of 2^4007-1 Using B1=160632413-160000000, B2=3200000000000-1200000000000000, polynomial Dickson(30), sigma=0:12427217811893723496 dF=10264320, k=1, d=118107990, d2=17, i0=27077 Can't compute success probabilities for B1 <> B2min Step 1 took 0ms Estimated memory usage: 308.19GB Last fiddled with by ATH on 2018-12-07 at 08:27 |
|
|
|
|
|
|
#68 |
|
Random Account
Aug 2009
22×3×163 Posts |
Since the discussion has gone to GMP-ECM, I have a question:
GMP-ECM 7.0.5-dev [configured with GMP 6.1.2, --enable-asm-redc] [ECM] I found a Windows binary of the same version as in the most recent post by ATH, assuming he is referring to Linux. After reading the doc file, and getting it running, I noticed that it does not produce a results file. However, is is extremely fast and can use very large B1 and B2 values. Question: Is it just something to toy with, or does it serve a purpose more dedicated to this project? Obviously, one must be able to submit their results. |
|
|
|
|
|
#69 | |
|
Sep 2003
5×11×47 Posts |
Quote:
As I mentioned before, if GmpEcmHook is in effect, then your mprime/Prime95 results.txt file will be full of lines that start with N= However, the results.txt file will still contain the usual "Mxxxx completed xxx ECM curves, B1=nnnnnnn, B2=nnnnnnnnn" lines, and if a factor is found in stage 1, then it will display the usual: Code:
ECM found a factor in curve #nnn, stage #1 Sigma=xxxxxxxxxxxxxxxx, B1=3000000, B2=3000000. UID: you/your_machine, 2^nnnn+1 has a factor: nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn (ECM curve nnn, B1=3000000, B2=3000000) In other words, it's very easy to miss the fact that mprime discovered factors in stage 1! On Linux you can look for those factors with a command like grep -E -v '^(N=|\[)' results.txt and in Windows PowerShell you can use sls -notmatch '^(N=|\[)' results.txt If the output is too long and scrolls off the screen, you can append | less to the Linux command, and | Out-Host –Paging to the PowerShell command, and use the space bar to scroll one screenful at a time. |
|
|
|
|
|
|
#70 | |
|
"Curtis"
Feb 2005
Riverside, CA
22×1,217 Posts |
Quote:
Your commentary that it's extremely fast relies upon choosing a small input. What input number did you test it on? As discussed elsewhere in this thread, GMP-ECM is very fast for small inputs (say, below 2^1500), and rathetr slow for large inputs (over 2^40000). |
|
|
|
|
|
|
#71 | |
|
Random Account
Aug 2009
22·3·163 Posts |
Quote:
Code:
ecm -v %1 %2 < work.txt There are two binaries in the archive I downloaded, ecm.exe and ecmfactor.exe. The latter will not run. A Windows 10 issue, I imagine. I found these at a link ATH had placed in another thread. He has four there, based on different CPU types. Thank you for replying.
|
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to use prime95 for stage 1 & GMP-ECM for stage 2 | Prime95 | Lone Mersenne Hunters | 111 | 2015-06-13 03:18 |
| Stage 1 | G_A_FURTADO | Information & Answers | 1 | 2008-10-26 15:21 |
| Stage 1 with mprime/prime95, stage 2 with GMP-ECM | D. B. Staple | Factoring | 2 | 2007-12-14 00:21 |
| Need help to run stage 1 and stage 2 separately | jasong | GMP-ECM | 9 | 2007-10-25 22:32 |
| Stage 1 and stage 2 tests missing | Matthias C. Noc | PrimeNet | 5 | 2004-08-25 15:42 |