mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2005-05-18, 12:43   #23
Joe O
 
Joe O's Avatar
 
Aug 2002

20D16 Posts
Default

Quote:
Originally Posted by JHansen
It doesn't look like the Kleinjung poly selection tool. Try starting again with the newest binaries. I can send them to you if you want. Other that that I wouldn't know what to do

--
Cheers,
Jes
Thanks for your reply. If you have Athlon optimized binaries, I would appreciate them. I am running Windows XP on an AMD64. I find that SSE2 optimized binaries do not run as well unless they are optimized for the Pentium M. My email is factrange at yahoo dot com.
Joe O is offline   Reply With Quote
Old 2005-05-18, 13:34   #24
Mystwalker
 
Mystwalker's Avatar
 
Jul 2004
Potsdam, Germany

3×277 Posts
Default

Am I right with the assumption that you try to do a GNFS factorization with a 305 digit (~1016 Bit) number?
If yes, I really doubt this is sensible. After all, the current record factorization is 200 digits - and it took already very long. In the next years, there most likely will be a Kilobit factorization attempt - but using SNFS and a promising number to factor.
Even it is was possible, I'm sure ggnfs is not able to handle it yet.
Mystwalker is offline   Reply With Quote
Old 2005-05-18, 14:42   #25
JHansen
 
JHansen's Avatar
 
Apr 2004
Copenhagen, Denmark

22·29 Posts
Default

Quote:
Originally Posted by Joe O
My email is factrange at yahoo dot com.
Email sent. The attached zip-file is 2.62MB.

--
Cheers,
Jes
JHansen is offline   Reply With Quote
Old 2005-05-18, 16:10   #26
Zeta-Flux
 
Zeta-Flux's Avatar
 
May 2003

7·13·17 Posts
Default

Jes,

Thanks for trying to help. Even when unzipping the 0.77.0 version there were errors. I went to the ggnfs website and registered, and sent an email out for help. Later, I realized that now that I was registered I could click on the "files" link. So I downloaded the latest zip file for a P4 computer. Now all I need to do is know where to unzip the files, and how to run them.

In other words, I need help:
1) knowing where to put the unzipped files.
2) knowing where to put that text file you were talking about.
3) anything else I don't know about, like which program to run, etc...
Zeta-Flux is offline   Reply With Quote
Old 2005-05-18, 17:05   #27
JHansen
 
JHansen's Avatar
 
Apr 2004
Copenhagen, Denmark

11101002 Posts
Default

Quote:
Originally Posted by Zeta-Flux
In other words, I need help:
1) knowing where to put the unzipped files.
2) knowing where to put that text file you were talking about.
3) anything else I don't know about, like which program to run, etc...
1) Anywhere you choose. I use c:\ggnfs

2) Same place. All files must be in the same folder. In my ggnfs directory I have the following files: cat.exe, def-nm-params.txt, def-par.txt, factLat.pl, gnfs-lasieve4I12e.exe, gnfs-lasieve4I13e.exe, gnfs-lasieve4I14e.exe, gzip.exe, makefb.exe, matbuild.exe, matsolve.exe, pol51m0b.exe, pol51opt.exe, polyselect.exe, procrels.exe, sieve.exe and sqrt.exe. Phew!

3) If you want to use the perl script (recomended if you are unsure of what the different programs do) you must install ActivePerl. It's free, just Google for it

--
Cheers, Jes
JHansen is offline   Reply With Quote
Old 2005-05-18, 17:30   #28
Joe O
 
Joe O's Avatar
 
Aug 2002

3·52·7 Posts
Default

Quote:
Originally Posted by Mystwalker
Am I right with the assumption that you try to do a GNFS factorization with a 305 digit (~1016 Bit) number?
If yes, I really doubt this is sensible. After all, the current record factorization is 200 digits - and it took already very long. In the next years, there most likely will be a Kilobit factorization attempt - but using SNFS and a promising number to factor.
Even it is was possible, I'm sure ggnfs is not able to handle it yet.
Trust you to count the digits, and recognize the number.<G>
This is just a learning experience. I don't have a smaller number that I am interested in. If I did, I would certainly use it to learn with. I just want to get to the point that I have everything working. Then I will see if I can compute how long it will take. Right now, I'm just interested in the polynomial selection phase, comparing the various methods.
By the way, this number lends itself to SNFS.
Joe O is offline   Reply With Quote
Old 2005-05-18, 18:00   #29
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

46438 Posts
Default

Even with SNFS there's no hope for you to factor this number now. Try ECM, or wait a couple more years until home PCs are more powerful or possibly a better factoring method is discovered.

Alex
akruppa is offline   Reply With Quote
Old 2005-05-18, 18:15   #30
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

22·5·373 Posts
Thumbs up

Quote:
Originally Posted by akruppa
Even with SNFS there's no hope for you to factor this number now. Try ECM, or wait a couple more years until home PCs are more powerful or possibly a better factoring method is discovered.

Alex
Indeed. It will also require only 64 bit machines because 32 bit machines
do not have enough address space. Nor are there many machines with > 4G
of real memory.


And I don't think current implementations
allow larger than 32 bit primes in the factor base, nor have the extended
128-bit integer routines that would be required.

Doing (say) R311 or M1061 with SNFS would be a massive, massive effort
for the sieving, and I doubt whether the capability exists anywhere for
solving the matrix. I estimate (very roughly) a minimum of 500 million rows
would be in the matrix (for SNFS; GNFS would be much bigger).
RSA-200 had 64 million rows.
R.D. Silverman is offline   Reply With Quote
Old 2005-05-18, 19:01   #31
smh
 
smh's Avatar
 
"Sander"
Oct 2002
52.345322,5.52471

29×41 Posts
Default

I never tried mingw, but compiling GGNFS under CYGWIN is easy.
Bolds are commands in cygwin, the rest can be done under windows.

Goto www.cygwin.com and click install or update now.

Use Unix for the default text type and make sure you install at least gcc, make (under Devel.), perl (under Interperters) and bc, gmp, gnuplot (under math).

Start cygwin for the first time to create the user home directory.

Download GGNFS to your homedirectory and on the cygwin command line type:

tar zxf ggnfs-0.77.1.tar.gz

Followed by:

cd ggnfs

to get into the ggnfs directory.

Under windows you'll have to edit makefile.athlon (in the src folder) and uncomment (remove #) your cpu type.

In cygwin, type:

make

(now i always rename the ggnfs folder to one with the version number in it).

In the test folder there is a file called factlat.pl

Open this file in your favourite text editor and uncomment the following line:

$GGNFS_BIN_PATH="../../src";

put a comment (#) before the other paths.

Create a new folder under test where all the files for the factorization will be in. Lets say, c100
Copy the factlat.pl file into this folder and create a new text file with the .n extension. Lets say, number.n
In this file place the following lines:

n: <number to factor>
type: gnfs

I'm not sure this last line is still needed.

Under cygwin, now change to the directory which you just created.

cd tests
cd c100


and start the perl script:

./factlat.pl number

Thats it for a general number. For special numbers, check the examples in test folder. Once sieving starts, you can intterupt anytime with ctrl-c and resume where you left of with the same command. The script nows where it was before it was interupted.

General numbers upto 110-115 digits work fine with the default parameters, for larger factorizations you might want to get some experience with the program and change some defaults.
smh is offline   Reply With Quote
Old 2005-05-18, 20:26   #32
Mystwalker
 
Mystwalker's Avatar
 
Jul 2004
Potsdam, Germany

11001111112 Posts
Smile

Quote:
Originally Posted by JHansen
1) Anywhere you choose. I use c:\ggnfs

2) Same place. All files must be in the same folder. In my ggnfs directory I have the following files: cat.exe, def-nm-params.txt, def-par.txt, factLat.pl, gnfs-lasieve4I12e.exe, gnfs-lasieve4I13e.exe, gnfs-lasieve4I14e.exe, gzip.exe, makefb.exe, matbuild.exe, matsolve.exe, pol51m0b.exe, pol51opt.exe, polyselect.exe, procrels.exe, sieve.exe and sqrt.exe. Phew!

3) If you want to use the perl script (recomended if you are unsure of what the different programs do) you must install ActivePerl. It's free, just Google for it
One more step:
You have to adjust the bin path in the beginning of factLat.pl:
$GGNFS_BIN_PATH="<path>";

I forgot it two or three times...

Quote:
Originally Posted by Joe O
Trust you to count the digits, and recognize the number.<G>
Actually, I didn't. But I do now, of course.

Well, it's quite hard to find small composites nowadays, thanks to msieve and ggnfs

I think the smallest composites can be found here. There should be composites with ~100 digits, which take maybe a day with ggnfs.
Mystwalker is offline   Reply With Quote
Old 2005-05-18, 20:37   #33
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

The Factorizations of Cyclotomic Numbers page by Hisanori Mishima (http://www.asahi-net.or.jp/%7EKC2H-MSM/cn/index.htm) has lots of SNFS candidates, including easier ones that'd be excellent for learning the ways of SNFS.

Alex
akruppa is offline   Reply With Quote
Reply



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

All times are UTC. The time now is 14:09.


Fri Jul 16 14:09:40 UTC 2021 up 49 days, 11:56, 2 users, load averages: 1.58, 1.85, 1.73

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.