![]() |
|
|
#1 |
|
Feb 2015
22 Posts |
Hello all,
I've only just started trying to use Msieve and possibly GGNFS to factor a number of integres roughly in the <116 digit range. There are not RSA type numbers so quite often some small factors will be found reducing the size to ~105-110 digits. I have downloaded both Msieve and GGNFS as well as the factmsieve.py script. I have built everything from source using the latest stable releases (1.52 msieve, 0.77.1 GGNFS) without any issues on Ubuntu 14.04 LTS. So far so good. My issue comes when I try to get msieve to perform factorization using gnfs. I haven't quite figured out how to do that using the msieve aplication built form demo.c. Reading the factmsieve.py script I think I might have figured out how to perform gnfs using msieve's flags to perform one stage at a time. Unfortunately when I try that, after successfully generating polynomials, trying to perform sieving (-ns) gives me an assert error in malloc and the whole process dies. Trying to use the factmsieve.py script I again managed to get it to generate polynomials, but when the ggnfs sieving part gets called it ends up exiting with an error code of -11 and the script terminates. I have sadly very little knowledge about the gnfs algorithm so it is proving quite difficult to figure out what might be going wrong. I would be very grateful for any hints or pointers. Thanks, Drf. |
|
|
|
|
|
#2 | |
|
Nov 2003
22×5×373 Posts |
Quote:
There are plenty of sources. |
|
|
|
|
|
|
#3 | |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
23·3·5·72 Posts |
Quote:
|
|
|
|
|
|
|
#4 |
|
"Ed Hall"
Dec 2009
Adirondack Mtns
11×347 Posts |
(I see Henryzz beat me to some of this.)
I wonder if you might have installed ggnfs from sourceforge. I (and another) have had trouble with that package. Instead I use the git-hub version (referenced on my page below). I have a step-by-step page to install several packages (including ggnfs and msieve) on an Ubuntu system at the following link, in case you might like to review it: Steps to install and set up Aliqueit on an Ubuntu* (or antiX) computer There is also a thread here that has a self-install script: Build Instructions for Ubuntu 14.04 You should review the entire thread. |
|
|
|
|
|
#5 |
|
"Curtis"
Feb 2005
Riverside, CA
4,861 Posts |
Or you could take the lazy (software-wise) way out and grab the binaries for GGNFS sievers from the top post of the M991 team factoring thread in the factoring forum. For a beginner, understanding what msieve's flags do is a nice start and usually sufficient grasp to get going on factorizations. There are many parameters in the factmsieve script for improved efficiency, but those don't matter until yo uhave working software!
|
|
|
|
|
|
#6 |
|
Nov 2003
22·5·373 Posts |
|
|
|
|
|
|
#7 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
250018 Posts |
Quote:
You've gotta ask yourself one question: "Do I feel lucky?" Well, do ya, punk? |
|
|
|
|
|
|
#8 |
|
Feb 2015
22 Posts |
Thank you for the responses. The problem ended up being with the wrong version of ggnfs. I still haven't figured out how to convince msieve to actually perform a gnfs factorization on it's own though.
Drf |
|
|
|
|
|
#9 |
|
Nov 2003
11101001001002 Posts |
|
|
|
|
|
|
#10 |
|
Aug 2005
Seattle, WA
2×877 Posts |
Yes. It has an NFS line siever, but Jason has long recommended that it not be used anymore since, well, it's a line siever.
Last fiddled with by jyb on 2015-02-23 at 17:28 |
|
|
|
|
|
#11 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
23·3·5·72 Posts |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Few questions | Tumeez | Information & Answers | 7 | 2014-09-27 10:40 |
| Two questions: | Dubslow | GPU Computing | 1 | 2011-08-05 18:22 |
| Some questions... | OmbooHankvald | PSearch | 3 | 2005-09-17 19:29 |
| 5 questions | OmbooHankvald | Factoring | 6 | 2005-08-28 19:31 |
| Questions | OmbooHankvald | Prime Sierpinski Project | 2 | 2005-08-01 20:18 |