![]() |
|
|
#199 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
10,753 Posts |
Quote:
At base, I'm suggesting that you use parallel, not serial, processing. Paul |
|
|
|
|
|
|
#200 |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
1075310 Posts |
I've been running the Python script on a 32-bit XP installation --- the "machine" is actually a VirtualBox VM.
Windoze Update re-booted my mchine when the LA was about 5% through. After it came up again, the LA failed to restart. Here is the log file: Code:
Mon Feb 01 15:37:02 2010 -> Running setup ... Mon Feb 01 15:37:02 2010 -> Estimated minimum relations needed: 1.14062e+07 Mon Feb 01 15:37:02 2010 -> cleaning up before a restart Mon Feb 01 15:37:02 2010 -> Running lattice siever ... Mon Feb 01 15:37:02 2010 -> entering sieving loop Mon Feb 01 15:37:02 2010 -> Running matrix solving step ... Mon Feb 01 15:37:02 2010 -> msieve -s foo.dat -l foo.log -i foo.ini -v -nf foo.fb -t 1 -nc2 Mon Feb 01 15:37:02 2010 Mon Feb 01 15:37:02 2010 Mon Feb 01 15:37:02 2010 Msieve v. 1.43 Mon Feb 01 15:37:02 2010 random seeds: bbf8a680 625a66ff Mon Feb 01 15:37:02 2010 factoring 667042581886253540421282123249269716618711643280851695815513316831606593912859018655030322042314014706215437995357683550559598451619213049278694422649 (150 digits) Mon Feb 01 15:37:04 2010 searching for 15-digit factors Mon Feb 01 15:37:06 2010 commencing number field sieve (150-digit input) Mon Feb 01 15:37:06 2010 R0: -6366805760909027985741435139224001 Mon Feb 01 15:37:06 2010 R1: 1 Mon Feb 01 15:37:06 2010 A0: 1 Mon Feb 01 15:37:06 2010 A1: 0 Mon Feb 01 15:37:06 2010 A2: 0 Mon Feb 01 15:37:06 2010 A3: 0 Mon Feb 01 15:37:06 2010 A4: 0 Mon Feb 01 15:37:06 2010 A5: 200 Mon Feb 01 15:37:06 2010 skew 1.00, size 8.558778e-012, alpha 0.373617, combined = 2.874687e-010 Mon Feb 01 15:37:06 2010 Mon Feb 01 15:37:06 2010 commencing linear algebra Mon Feb 01 15:37:07 2010 read 861427 cycles Mon Feb 01 15:37:10 2010 cycles contain 2851091 unique relations Mon Feb 01 15:37:10 2010 read 0 relations Mon Feb 01 15:37:10 2010 error: cannot locate relation 11556978 Paul |
|
|
|
|
|
#201 |
|
May 2008
Worcester, United Kingdom
22×7×19 Posts |
Hi Paul
From the log it seems that the termination was such that the resume file (foo.resume) was not written. If a *.resume file is not found the script is supposed to delete all the intermediate files and start again. But it seems that some files might have been left around and caused a bad restart. Do you know what files were around after the failure? Brian |
|
|
|
|
|
#202 |
|
Nov 2008
2·33·43 Posts |
I found this same bug in factMsieve.pl a while ago, and it still hasn't been found, let alone fixed. It seems it's been carried over to the new script.
Last fiddled with by 10metreh on 2010-02-01 at 17:54 |
|
|
|
|
|
#203 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
10,753 Posts |
Quote:
Paul |
|
|
|
|
|
|
#204 |
|
Jan 2004
6716 Posts |
A question about factmsieve.py version 0.44:
Code:
# grep fiile factmsieve.py
print('rlim: {0:d}'.format(lats_p['rlim']), fiile = out_f)
print('alim: {0:d}'.format(lats_p['alim']), fiile = out_f)
print('lbpr: {0:s}'.format(LBPR), fiile = out_f)
print('lbpa: {0:s}'.format(LBPA), fiile = out_f)
|
|
|
|
|
|
#205 | |
|
May 2008
Worcester, United Kingdom
22·7·19 Posts |
Quote:
Brian Last fiddled with by jasonp on 2010-07-22 at 03:25 Reason: remove old attachment |
|
|
|
|
|
|
#206 |
|
"Sander"
Oct 2002
52.345322,5.52471
29·41 Posts |
I haven't checked this latest version, but 0.44 does way to much sieving for small composites. Can you lower the minimum amount needed?
|
|
|
|
|
|
#207 |
|
May 2008
Worcester, United Kingdom
22·7·19 Posts |
I am wondering if we now have enough information to set minrels sensibly?
From what has been said, it seems that we need something like minrels verses decimal digits for each lpbr/a value. Is anyone willing to suggest some values? Brian |
|
|
|
|
|
#208 | |
|
Jan 2004
103 Posts |
Quote:
I'm trying to determine what values are selected by the program currently over the range of decimal digits for GNFS - lpbr/a and minrel. I need some more time for this as I haven't had a lot of spare time. There are a few different functions that load the parameters, so far I've looked at load_default_parameters. This function first tries to load the parameter from def-par.txt satisying abs(digits-file_digits) at a minimum. These values are then possibly overwritten magic formulas in facmsieve if fact_p['digs']=digits/0.72, which occurs for c116+ numbers. Based on what I've seen in the script, decimal digits determines lpbr/a (from def-par.txt lookup) and minrel (from formula in script). The vanilla/default def-par.txt has so many holes (mine only has 15 gnfs rows for C70-C126) that those choices for lpbr/a are not very good and result in poor minrel estimates that match the chosen lpbr/a. There's more than enough empirical data around to collate a practical set of parameters that should work in most circumstances and on most systems. Perhaps we can start with seeing if we can get a consensus on the lpbr/a dimension vs decimal digits. We can start with the values currently selected by the program (and are suboptimal in places) and going from there. |
|
|
|
|
|
|
#209 |
|
Jan 2004
103 Posts |
Bug in miller_rabin.
Traceback (most recent call last): File "../factmsievetim.py", line 1963, in <module> if probable_prime_p(fact_p['n'], 10): File "../factmsievetim.py", line 383, in probable_prime_p return 1 if miller_rabin(n, r) else 0 NameError: global name 'miller_rabin' is not defined siever terminated Should the miller_rabin call be miller_rabin_1? |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Msieve & ggnfs on MacOS | xilman | Msieve | 8 | 2017-05-20 00:12 |
| Factorizing with MSIEVE, GGNFS & Factmsieve.py | Romuald | Msieve | 24 | 2015-11-09 20:16 |
| Infinite loop for ggnfs or msieve | Greebley | Aliquot Sequences | 4 | 2013-02-06 19:28 |
| Error running GGNFS+msieve+factmsieve.py | D. B. Staple | Factoring | 6 | 2011-06-12 22:23 |
| A new driver? (or type of driver?) | 10metreh | Aliquot Sequences | 3 | 2010-02-15 15:57 |