![]() |
|
|
#12 |
|
Dec 2004
13·23 Posts |
wblipp,
Could you point us to a few good reference regarding nfs or snfs the differences etc. As Zeta-flux said, setting up ecm is easy of course most people would choose the most efficient way of doing things but nfs don't even know where to start. Also alot of people want to do either their own numbers not co-ordinate with a remote server.Add to this alot of my machiens are no-net or behind firewalls. Other projects run great on them, etc. Any links setups etc??? Step by step... Most people including myself are Windoze people if you have to compile etc .Don't mean to throw a wrench in here or poach on a project etc it just seems as though nfs isn't used enough, and people who have it setup keep the programs to themselves. |
|
|
|
|
|
#13 |
|
Apr 2004
Copenhagen, Denmark
22×29 Posts |
GGNFS is your friend! You can find it at http://www.math.ttu.edu/~cmonico/software/ggnfs/
It's a free (i.e. GLP'ed) NFS suite written (mostly) by Chris Monico. It includes Frankes lattice sievers and Kleinjungs polynomial selection tools, and is thus quite fast. SNFS numbers in the range 140-170 are easily handled by this suite as well as GNFS number in the range 100-135 digits. There is a yahoo group at http://groups.yahoo.com/group/ggnfs. If you don't want to compile it yourself, you can download the latest version by clicking a link in one of the latest posts in the group. The Good News (TM): All it takes to factor a number using the general number field sieve (GNFS) is a single text file with one line n: <number-to-factor> That's it! Then you start the fully automated perl script (yes, you can run perl scripts in windows too: Google for ActivePerl), which does all the rest of the work for you. All you have to do is sit back and let the script do it's work. More good news: If you have more than one computer, the script supports multiple clients for sieving. If you want to do SNFS you still have to construct the polynomials by hand, but hey: That's part of the fun of SNFS! It's improving all the time and not a bad choice for people who wants to factor numbers and learn a bit about NFS in doing so (eventhough you can easily use the suite without the faintest idea about how NFS works). -- Cheers, Jes |
|
|
|
|
|
#14 |
|
May 2003
7·13·17 Posts |
JHansen,
Could you give me a run-down of how to compile it? I have MingGW and gmp already installed on my computer (Pentium 4, running Windows XP). I'd just like a list of command lines to run. So, for example, I suppose that the first step is to download the source file and place it in the home directory. Then in the "home" directory, while running MingSys type: 1) gunzip ggnfs-0.77.0.tar.gz 2) tar -xvf ggnfs-0.77.0.tar Then what do I type? Thanks, Pace |
|
|
|
|
|
#15 | |
|
Dec 2004
12B16 Posts |
Quote:
|
|
|
|
|
|
|
#16 |
|
May 2003
7×13×17 Posts |
Anybody out there that can help me? Do I need to get the Pearl script thing first?
|
|
|
|
|
|
#17 | |
|
Aug 2002
3·52·7 Posts |
Jes,
Could you help me? About a month ago, I posted this question on the GGNFS forum: Quote:
Joe. |
|
|
|
|
|
|
#18 | |
|
Apr 2004
Copenhagen, Denmark
22×29 Posts |
Quote:
1) In the src directory delete Makefile ( an empty file) and rename Makefile.x86 (or Makefiel.athlon if you have an Athlon) to Makefile 2) Open this Makefile in a text editor and add the following -I/usr/local/include -L/usr/local/lib to one fo the options in the make file. I've added this to the line that starts with ALLOPT. 3) Go into the pol5 directory and open the makefile there. Add the same to one of the lines there. I used the line CFLAGS. 4) Go one step back (to src) and into lasieve4 directory. Delete the empty file called asm and rename the directory Piii to asm. Edit the makefile there and add the same again. I used the line CFLAGS line again. 5) In the lasieve4 directory, inter the renamed asm directory and edit the makefile there. I added the line to the CFLAGS line again. 6) Go back into the src directory. I forgot one more thing about the makefile there. It contains some lines beginning with 'ls ...' under the item polsel. Remove all lines staring with ls. 7) Pad youself on the shoulder for a job well done 8) go way back so that you are in the main directory and type make 9) If all went well, you can collect your binaries from the src, lasieve4 and pol5 directories. Remember also to copy the factlat.pl file from the test directory and the two files def-par.txt and def-nm-params.txt to where you want to place yout new, shiny ggnfs binaries. Hope that helped. If you get any warnings or errors during compiling I can't help out, since the art of compiling is black magic to me and I always look upon the process in great awe and wonder Try the ggnfs group I mentioned instead, it's full of people who understands that went wrong and how to fix it. -- Cheers, Jes |
|
|
|
|
|
|
#19 | |
|
Apr 2004
Copenhagen, Denmark
22·29 Posts |
Quote:
-- Cheers, Jes |
|
|
|
|
|
|
#20 |
|
Bemusing Prompter
"Danny"
Dec 2002
California
2×5×239 Posts |
Nice oxymoron. :P
Anyways, congratulations. :) |
|
|
|
|
|
#21 | |
|
Oct 2004
tropical Massachusetts
1058 Posts |
Quote:
Polyselect will then generate a polynomial of degree d expressing the number N to be factored with leading coefficient k0 times k-mult, do a little searching to find a polynomial with good root properties, perhaps do some sieving to score it using the Montgomery-Murphy criterion, and then record this polynomial if the score is a current high score or exceeds a specified threshold. It then increments the leading coefficient by k-mult and repeats this Q times. It looks to me that something went wrong in parameter specification, or perhaps this compilation of polyselect was buggy. -- Sam Last fiddled with by trilliwig on 2005-05-18 at 10:19 Reason: let's not confuse the variable I by overloading it |
|
|
|
|
|
|
#22 | |||
|
Aug 2002
3·52·7 Posts |
Quote:
I used the binaries provided by jeskamstrup in ggnfs-0.73.4 Athlon.zip Quote:
Quote:
|
|||
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Modern parameter choice for large 14e/small 15e projects | VBCurtis | Factoring | 29 | 2016-02-12 20:45 |
| PFGW can't find a small factor. | Arkadiusz | Software | 7 | 2013-02-18 12:43 |
| newbie question - finding small factors of very large numbers | NeoGen | Math | 7 | 2007-03-13 00:04 |
| Problems with Large FFT but not Small FFT's? | RichTJ99 | Hardware | 2 | 2006-02-08 23:38 |
| Number with small factor: Further factorization? | Mystwalker | GMP-ECM | 3 | 2005-05-02 08:31 |