![]() |
|
|
#375 |
|
May 2008
Worcester, United Kingdom
22·7·19 Posts |
Unfortunately there is no very easy fix for this because adding quotes in all cases will fail when there are no spaces. The quotes have to be added but only when the file name contains a space. I'll look into this.
Brian |
|
|
|
|
|
#376 |
|
May 2008
Worcester, United Kingdom
22·7·19 Posts |
I have no idea whether this will work (I'm doubtful) but in run_msieve, in place of:
Code:
rel = os.path.relpath(cwd) dp = os.path.join(rel, DATNAME) Code:
rel = os.path.relpath(cwd)
if rel.find(' ') != -1:
rel = '"' + rel + '"'
dp = os.path.join(rel, DATNAME)
Last fiddled with by Brian Gladman on 2010-04-04 at 17:07 |
|
|
|
|
|
#377 |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
EFE16 Posts |
Any words of wisdom would be appreciated:
Code:
Total yield: 616370 0/0 mpqs failures, 59001/28820 vain mpqs milliseconds total: Sieve 2835180 Sched 0 medsched 506619 TD 2306222 (Init 162583, MPQS 262133) Sieve-Change 1803637 TD side 0: init/small/medium/large/search: 23731 244635 34167 61537 840267 sieve: init/small/medium/large/search: 66764 822141 87382 399003 193663 TD side 1: init/small/medium/large/search: 9125 152179 33135 55861 688322 sieve: init/small/medium/large/search: 46606 531264 82736 404288 201333 appending spairs.out.T0 to spairs.out appending spairs.out to test.dat Found 11171072 relations, 100.5% of the estimated minimum (11115000). -> msieve -s ggnfs_5835729598046643344594576944853108561052208334385324070741681 153732787325381841796727815086982722157617747\test.dat -l ggnfs_5835729598046643 34459457694485310856105220833438532407074168115373278732538184179672781508698272 2157617747\test.log -i ggnfs_583572959804664334459457694485310856105220833438532 4070741681153732787325381841796727815086982722157617747\test.ini -nf ggnfs_58357 29598046643344594576944853108561052208334385324070741681153732787325381841796727 815086982722157617747\test.fb -t 1 -nc1 read 10M relations error: too many merge attempts Return value 0. Terminating... siever terminated WARNING: gnfs failed to find a factor. This really shouldn't happen. I'll just run ecm till the end of time or a factor turns up... Let's hope you don't run out of disk space before either of those. c106: running 0 auto-increasing ecm curves... Since it's late, I have started another run to (hopefully) add to the previous relations. I should know more in the morning... Last fiddled with by EdH on 2010-04-05 at 03:55 Reason: Add system details |
|
|
|
|
|
#378 |
|
Nov 2008
2×33×43 Posts |
Have you got the ggnfs.log file? It seems there was no -v in the msieve command line, so msieve didn't print much out.
This error can be caused by (among other things) having way too many relations. What were the large prime bounds? (lpbr and lpba in the .job file) If 26, then you have more than twice the necessary number of rels. If 27, then 7M relations should be better. |
|
|
|
|
|
#379 |
|
May 2008
Worcester, United Kingdom
22×7×19 Posts |
It is not a Python problem. Given 10metreh's comment, should I add a -v to any of the msieve command lines in the Python code?
Brian |
|
|
|
|
|
#380 | |
|
"Sander"
Oct 2002
52.345322,5.52471
4A516 Posts |
Quote:
|
|
|
|
|
|
|
#381 |
|
Nov 2008
2·33·43 Posts |
I should have been clearer. I was referring to "too many merge attempts", and that is from msieve. Running msieve with -v makes it print all its output to the screen as well as the logfile. This makes it easier to observe what's going on and what exactly is msieve output, so I would add it. In EdH's case, it might be possible to determine exactly why msieve failed if we had the log (and EdH probably still does). "WARNING: gnfs failed to find a factor. This really shouldn't happen." and onwards is aliqueit. I'm not sure about the "siever terminated", though.
|
|
|
|
|
|
#382 |
|
Mar 2006
7378 Posts |
@smh, Could you show us what the path to your msieve.exe is? And also the path of your ggnfs exe's? I'd like to reproduce the error locally to see what the error message says and try to fix it here.
@Brian, if we add verboseness to the script, can we make it optional? Maybe on by default (true), but with the option to be false so we get the same output as now? |
|
|
|
|
|
#383 | |
|
May 2008
Worcester, United Kingdom
22·7·19 Posts |
Quote:
Brian |
|
|
|
|
|
|
#384 | |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
2·19·101 Posts |
Quote:
![]() Code:
Found 12437340 relations, 111.9% of the estimated minimum (11115000). On to further info: (The ggnfs.log file only had a series of "LatSieveTime: 8078" type entries. Test.job.T0: Code:
n: 5835729598046643344594576944853108561052208334385324070741681153732787325381841796727815086982722157617747 c5: 3060 c4: -282923474 c3: 3252893327075 c2: -61156523169760400 c1: -2113433513605023016052 c0: -5560560654456680704172400 Y1: 95330612729 Y0: -285810003640834066631 skew: 25011.05 rlim: 2500000 alim: 2500000 lpbr: 26 lpba: 26 mfbr: 49 mfba: 49 rlambda: 2.6 alambda: 2.6 q0: 3650000 qintsize: 150000 #q1:3800000 Code:
Sat Apr 03 07:33:43 2010 Sat Apr 03 07:33:43 2010 Sat Apr 03 07:33:43 2010 Msieve v. 1.44 Sat Apr 03 07:33:43 2010 random seeds: 641ef5dc 51fb871a Sat Apr 03 07:33:43 2010 factoring 5835729598046643344594576944853108561052208334385324070741681153732787325381841796727815086982722157617747 (106 digits) Sat Apr 03 07:33:45 2010 searching for 15-digit factors Sat Apr 03 07:33:46 2010 commencing number field sieve (106-digit input) Sat Apr 03 07:33:46 2010 commencing number field sieve polynomial selection Sat Apr 03 07:33:46 2010 time limit set to 0.62 hours Sat Apr 03 07:33:46 2010 searching leading coefficients from 1 to 6474 Sat Apr 03 08:19:13 2010 polynomial selection complete Sat Apr 03 08:19:13 2010 R0: -285810003640834066631 Sat Apr 03 08:19:13 2010 R1: 95330612729 Sat Apr 03 08:19:13 2010 A0: -5560560654456680704172400 Sat Apr 03 08:19:13 2010 A1: -2113433513605023016052 Sat Apr 03 08:19:13 2010 A2: -61156523169760400 Sat Apr 03 08:19:13 2010 A3: 3252893327075 Sat Apr 03 08:19:13 2010 A4: -282923474 Sat Apr 03 08:19:13 2010 A5: 3060 Sat Apr 03 08:19:13 2010 skew 25011.05, size 4.090357e-010, alpha -5.294781, combined = 1.611910e-009 Sat Apr 03 08:19:13 2010 elapsed time 00:45:30 Sun Apr 04 23:51:11 2010 Sun Apr 04 23:51:11 2010 Sun Apr 04 23:51:11 2010 Msieve v. 1.44 Sun Apr 04 23:51:11 2010 random seeds: 7bc0a738 d4f0ebee Sun Apr 04 23:51:11 2010 factoring 5835729598046643344594576944853108561052208334385324070741681153732787325381841796727815086982722157617747 (106 digits) Sun Apr 04 23:51:13 2010 searching for 15-digit factors Sun Apr 04 23:51:14 2010 commencing number field sieve (106-digit input) Sun Apr 04 23:51:14 2010 R0: -285810003640834066631 Sun Apr 04 23:51:14 2010 R1: 95330612729 Sun Apr 04 23:51:14 2010 A0: -5560560654456680704172400 Sun Apr 04 23:51:14 2010 A1: -2113433513605023016052 Sun Apr 04 23:51:14 2010 A2: -61156523169760400 Sun Apr 04 23:51:14 2010 A3: 3252893327075 Sun Apr 04 23:51:14 2010 A4: -282923474 Sun Apr 04 23:51:14 2010 A5: 3060 Sun Apr 04 23:51:14 2010 skew 25011.05, size 4.090357e-010, alpha -5.294781, combined = 1.611910e-009 Sun Apr 04 23:51:14 2010 elapsed time 00:00:03 If this relations issue is the trouble, then any future runs of the py script will also fail, since it will still want >1e7 relations. Thank you for all the help. Take Care, Ed (copying the directory prior to further play...) |
|
|
|
|
|
|
#385 | ||||
|
Nov 2008
1001000100102 Posts |
Quote:
Quote:
Quote:
Quote:
Code:
msieve -s ggnfs_<n>\test.dat -l ggnfs_<n>\test.log -i ggnfs_<n>\test.ini -nf ggnfs_<n>\test.fb -v -nc1 0,5000000 If this fails, then gradually lower the 5000000 by 100000 at a time until it works. Then run the same command line, replacing -nc1 with -nc2 and removing the 0,5000000. This will run the linear algebra. Once that is done, replace -nc2 with -nc3 for the square root, producing the factors. Restart aliqueit with Code:
aliqueit <the_sequence> -f <one_of_the_factors> Last fiddled with by 10metreh on 2010-04-05 at 15:50 |
||||
|
|
|
![]() |
| Thread Tools | |
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 |