mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2010-04-28, 19:20   #463
ThomRuley
 
ThomRuley's Avatar
 
May 2003

23×31 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
E.g. save the poly in example.poly and run "factmsieve.py example".
I'm in the poly file. Where should I put the polynomial? I have something that looks like this:

Quote:
n: 1274763026968934326151324118033407286595278689008840450094212736567521356866670969828447383237740497765219290449667250482736883
skew: 37753.92
# norm 7.62e+17
c5: 98280
c4: 199470847944
c3: -19048750405790957
c2: -552833905381153759066
c1: -3965419990275258864286632
c0: 242806764000963487621896000
# alpha -6.41
Y1: 2354367642517
Y0: -1669523796316893484875767
# Murphy_E 1.18e-10
# M 87512351163596190002772862008417178331014973225376024777088517549445209342610626721037744367487909704796538658205186796915468
type: gnfs
rlim: 6100000
alim: 6100000
lpbr: 28
lpba: 28
mfbr: 55
mfba: 55
rlambda: 2.5
alambda: 2.5
qintsize: 100000
The polynomial that was recommended was (P743-1)*. How would I enter that?

Last fiddled with by ThomRuley on 2010-04-28 at 19:22 Reason: New question
ThomRuley is offline   Reply With Quote
Old 2010-04-28, 20:34   #464
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Quote:
Originally Posted by ThomRuley View Post
I'm in the poly file. Where should I put the polynomial? I have something that looks like this:



The polynomial that was recommended was (P743-1)*. How would I enter that?
What you put there in the quote box is your polynomial--you're all set. Just plop that in a text file "example.poly" (if you're using notepad, make sure to put quotes around the file name so it doesn't save it as example.poly.txt) in your GGNFS folder, then navigate to that directory with a command prompt and run:

factmsieve.py example

as Mini-Geek said. Note that if you're on Linux, you'll have to make that "python factmsieve.py example" instead.
mdettweiler is offline   Reply With Quote
Old 2010-04-28, 22:23   #465
axn
 
axn's Avatar
 
Jun 2003

32·5·113 Posts
Default

Quote:
Originally Posted by ThomRuley View Post
I'm in the poly file. Where should I put the polynomial? I have something that looks like this:



The polynomial that was recommended was (P743-1)*. How would I enter that?
As it so happens, I have a better poly for your number
Code:
n: 1274763026968934326151324118033407286595278689008840450094212736567521356866670969828447383237740497765219290449667250482736883
skew: 1242974.02
c5:  1560
c4:  430237510
c3: -16372306488770745
c2: -368655929109599815398
c1:  5504316802175350943141886440
c0:  161908777538241104503791860967792
Y1:  33744527270039
Y0: -3823497061361310432906205
type: gnfs
rlim: 6100000
alim: 6100000
lpbr: 28
lpba: 28
mfbr: 55
mfba: 55
rlambda: 2.5
alambda: 2.5
qintsize: 100000
axn is offline   Reply With Quote
Old 2010-04-28, 23:50   #466
ThomRuley
 
ThomRuley's Avatar
 
May 2003

F816 Posts
Default

Quote:
Originally Posted by axn View Post
As it so happens, I have a better poly for your number
Code:
n: 1274763026968934326151324118033407286595278689008840450094212736567521356866670969828447383237740497765219290449667250482736883
skew: 1242974.02
c5:  1560
c4:  430237510
c3: -16372306488770745
c2: -368655929109599815398
c1:  5504316802175350943141886440
c0:  161908777538241104503791860967792
Y1:  33744527270039
Y0: -3823497061361310432906205
type: gnfs
rlim: 6100000
alim: 6100000
lpbr: 28
lpba: 28
mfbr: 55
mfba: 55
rlambda: 2.5
alambda: 2.5
qintsize: 100000
Thank you, but I am curious how you got this.
ThomRuley is offline   Reply With Quote
Old 2010-04-29, 01:14   #467
axn
 
axn's Avatar
 
Jun 2003

32×5×113 Posts
Default

Quote:
Originally Posted by ThomRuley View Post
Thank you, but I am curious how you got this.
I was testing msieve gpu version (http://sourceforge.net/projects/msieve/files/) with some of the odd perfect gnfs candidates (http://oddperfect.org/composites.html)

It took me about an hour on a GT 240 to find this poly.

Last fiddled with by axn on 2010-04-29 at 01:15
axn is offline   Reply With Quote
Old 2010-04-30, 04:33   #468
WraithX
 
WraithX's Avatar
 
Mar 2006

47910 Posts
Default

Brian, I've been running many snfs factoring jobs with version 0.67 of your script. I've been playing around with what percentage of relations to look for before trying to do post-processing. I've set some digit levels to try post-processing after finding 80% of your estimated minimum, and I've tried some after 70% (about to try 60% on my next digit level). Some went straight to post-processing, some had to keep sieving. I'd like to give you some of this information, but I don't know how much info you'd like, or what specific info you would like. Would you like digit levels (like snfs-120, snfs-130), what percentages worked, maybe the last percentage to not work, the actual numbers I tried to factor, something else I can't think of right now? Some digit levels I only factored a dozen numbers, other digit levels I factored several dozen numbers. Let me know if you'd like this info, and what info you'd like, and I can write a little summary text file.
WraithX is offline   Reply With Quote
Old 2010-04-30, 11:51   #469
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

22×7×19 Posts
Default

Quote:
Originally Posted by WraithX View Post
Brian, I've been running many snfs factoring jobs with version 0.67 of your script. I've been playing around with what percentage of relations to look for before trying to do post-processing. I've set some digit levels to try post-processing after finding 80% of your estimated minimum, and I've tried some after 70% (about to try 60% on my next digit level). Some went straight to post-processing, some had to keep sieving. I'd like to give you some of this information, but I don't know how much info you'd like, or what specific info you would like. Would you like digit levels (like snfs-120, snfs-130), what percentages worked, maybe the last percentage to not work, the actual numbers I tried to factor, something else I can't think of right now? Some digit levels I only factored a dozen numbers, other digit levels I factored several dozen numbers. Let me know if you'd like this info, and what info you'd like, and I can write a little summary text file.
Hi WraithX,

In fact I don't want much at all - all I need is a formula in the form:

SNFS_rels_needed = function(p1, p2, ...)

where the parameters p1, p2, ... are specified inputs to the factoring task that are in a decreasing order of significance in respect of their impact on the minrels value.

Seriously, I need to know what input parameters should be used to determine the minrels value and how these values participate in setting the value.

I doubt that I can do much with raw data as I don't have the specialist knowledge needed to convert this into plausible formulae for the minrels value. But others here may be in a position to do this so publsihing your data may still be very useful.

best regards,

Brian
Brian Gladman is offline   Reply With Quote
Old 2010-05-19, 12:11   #470
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

3·5·719 Posts
Default factmsieve.py doesn't create .ini and .fb files

Not sure whether this is a FAQ. My rather cursory search for it didn't turn up anything useful.

On a Windows 7 machine I created foo.poly with valid data (it was modified from a previous factorization) and kicked off the Python script. When the time came to attempt filtering and linear algebra it couldn't find either foo.ini or foo.fb files. Any idea why they had not been created?

Factorizations generally go to completion but this isn't the first occasion I've seen this failure mode.

Creating those files (again by modification of those from other factorizations) generally lets the factorization complete. On this occasion, msieve -nc1 generates a "Return value 0. Terminating..." message.

Any suggestions on what to try next, other than to move everything to a Linux box and use the Perl script?


Paul
xilman is offline   Reply With Quote
Old 2010-05-19, 12:57   #471
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

10000101002 Posts
Default

Quote:
Originally Posted by xilman View Post
Not sure whether this is a FAQ. My rather cursory search for it didn't turn up anything useful.

On a Windows 7 machine I created foo.poly with valid data (it was modified from a previous factorization) and kicked off the Python script. When the time came to attempt filtering and linear algebra it couldn't find either foo.ini or foo.fb files. Any idea why they had not been created?

Factorizations generally go to completion but this isn't the first occasion I've seen this failure mode.

Creating those files (again by modification of those from other factorizations) generally lets the factorization complete. On this occasion, msieve -nc1 generates a "Return value 0. Terminating..." message.

Any suggestions on what to try next, other than to move everything to a Linux box and use the Perl script?
Hi Paul,

The log file will hopefully give some clues - have you looked at it? If it is not too big, can we see it?

Brian
Brian Gladman is offline   Reply With Quote
Old 2010-05-19, 13:34   #472
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

2×19×101 Posts
Default

I'm reaching, here, so bear with me. . .

Somewhere within the first few times I ran the script, it skipped creating at least one file (test.ini). Since then all has seemed fine.

Is there a possibility that the creation of any of the files is somehow dependent on their already existing? IOW, are any of the files conditionally created, or appended? Or, is it possible that the creation can be skipped over by condition?
EdH is offline   Reply With Quote
Old 2010-05-19, 15:14   #473
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

3×5×719 Posts
Default

Quote:
Originally Posted by Brian Gladman View Post
Hi Paul,

The log file will hopefully give some clues - have you looked at it? If it is not too big, can we see it?

Brian
It gave a clue about why the "Return value 0. Terminating..." message appeared. I'd made a typo in the .FB file and it didn't match the .POLY file. Now fixed and filtering is proceeding.

No idea why the files weren't created in the first place. The log file is attached; you can probably interpret its contents much better than I can. Note that I used "foo" in my earlier post partly to save typing and partly to indicate that it's a generic problem, though not one which always occurs.

Paul
Attached Files
File Type: gz c3_359.log.gz (3.3 KB, 71 views)

Last fiddled with by xilman on 2010-05-19 at 15:14
xilman is offline   Reply With Quote
Reply

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

All times are UTC. The time now is 01:23.


Fri Aug 6 01:23:15 UTC 2021 up 13 days, 19:52, 1 user, load averages: 2.77, 2.47, 2.40

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.