mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2009-09-29, 19:59   #309
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

3×17×23 Posts
Default

It seems some kind of memory access violation. It has been a while since I have compiled the binaries so I think I should get the latest SVN code and recompile with MPIR. Then we can try those binaries to see if there are still any issues as the bug might have been fixed along the way.

At the same time I will see if I can get an 11e siever going for Windows as well.
Jeff Gilchrist is offline   Reply With Quote
Old 2009-09-29, 20:09   #310
ltd
 
ltd's Avatar
 
Apr 2003

22·193 Posts
Default

I will run the one that crashes for you also. My compile uses the latest SVN.
ltd is offline   Reply With Quote
Old 2009-09-29, 20:28   #311
ltd
 
ltd's Avatar
 
Apr 2003

30416 Posts
Default

Again no problem:

Code:
N=2442895043335315532241384991110259348565485108389595693855451132244907689766065727669961
  ( 88 digits)
Divisors found:
 r1=13791603738437003037101462071133331419775323 (pp44)
 r2=177129149710631684323603017913556944491924907 (pp45)
So it is either the latest SVN of ggnfs or the SVN version of MPIR that solves the problem.
ltd is offline   Reply With Quote
Old 2009-10-07, 09:52   #312
siew
 
Oct 2009

778 Posts
Default

please, advice me

i made patch for factMsieve.pl for computing the pol51m0b.exe and opt in 4 threads.

i receiving 4 file groups, different for each thread.

How can i combine results into one file for msieve? Please, can anyone help.
Do i need to remove some duplicates?

tanx!
siew is offline   Reply With Quote
Old 2009-10-07, 12:26   #313
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

354310 Posts
Default

Msieve cannot currently turn the output of pol51m0b into usable GNFS polynomials; it currently has to do the work equivalent to pol51m0b by itself.

You need to combine the files with 'cat' or 'type', then run pol51opt on the result to get a polynomial to use for the run.
jasonp is offline   Reply With Quote
Old 2009-10-07, 13:57   #314
siew
 
Oct 2009

6310 Posts
Default

Yes, i understand, tanx, i

it works like this:
Code:
-> Searching leading coefficients from 29844001 to 29845000.
=>  "pol51m0b.exe" -b example.polsel.thread01 -v -v -p 7 -n 4.86E+023 -a 29844 -A 29845 > example.polsel.thread01.log
=>  "pol51opt.exe" -b example.polsel.thread01 -v -v -n 6.13E+021 -N 1.48E+019 -e 2.59E-012 > example.polsel.thread01.log

-> Searching leading coefficients from 29845001 to 29846000.
=>  "pol51m0b.exe" -b example.polsel.thread02 -v -v -p 7 -n 4.86E+023 -a 29845 -A 29846 > example.polsel.thread02.log
=>  "pol51opt.exe" -b example.polsel.thread02 -v -v -n 6.13E+021 -N 1.48E+019 -e 2.59E-012 > example.polsel.thread02.log

-> Searching leading coefficients from 29846001 to 29847000.
=>  "pol51m0b.exe" -b example.polsel.thread03 -v -v -p 7 -n 4.86E+023 -a 29846 -A 29847 > example.polsel.thread03.log
=>  "pol51opt.exe" -b example.polsel.thread03 -v -v -n 6.13E+021 -N 1.48E+019 -e 2.59E-012 > example.polsel.thread03.log

....
at the end i have 4 files which i can append to each other and use as datasource for msieve.exe, am i right?
siew is offline   Reply With Quote
Old 2009-10-07, 23:33   #315
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3×1,181 Posts
Default

The sieving requires you to choose one polynomial (manually) out of the total collection of polynomials you have. You want the polynomial with the largest Murphy E value; the script finds it for you, but I don't know how it does so, or whether you can resume the factorization and have the script start by finishing the poly selection and proceeding to the sieving.

Msieve will not do that by itself, and you really want to use the GGNFS lattice sieve anyway.

Last fiddled with by jasonp on 2009-10-07 at 23:34
jasonp is offline   Reply With Quote
Old 2009-10-08, 07:58   #316
siew
 
Oct 2009

6310 Posts
Default

tanx for the help, seems all ok:

now processing the following:

Code:
Selected default factorization parameters for 140 digit level.
Selected lattice siever: gnfs-lasieve4I14e.exe
Creating param file to detect parameter changes...
Q0=9000000, QSTEP=100000.
makeJobFile(): q0=9000000, q1=9100000.
makeJobFile(): Adjusted to q0=9000000, q1=9100000.
Lattice sieving algebraic q-values from q=9000000 to 9100000.
FBsize 603523+0 (deg 5), 1151366+0 (deg 1)
speed is around 0.42 sec/rel

please, how to estimate time for finish this stage?

tanx
siew is offline   Reply With Quote
Old 2009-10-08, 10:06   #317
siew
 
Oct 2009

1111112 Posts
Default

For my PC it taked 55 minutes for find 40 000 relations, so for

Code:
Found 41659 relations, need at least 5532435 to proceed
5 532 432 / 40 000 * 50 min ~ 138 ~ 5.6 days to finnd necessary amount of relations.

Am i right?
siew is offline   Reply With Quote
Old 2009-10-08, 11:58   #318
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

426710 Posts
Default

Quote:
Originally Posted by siew View Post
For my PC it taked 55 minutes for find 40 000 relations, so for

Code:
Found 41659 relations, need at least 5532435 to proceed
5 532 432 / 40 000 * 50 min ~ 138 ~ 5.6 days to finnd necessary amount of relations.

Am i right?
Well, not quite.
I'm pretty sure the number of relations found per range will peak a little after the beginning q and slowly drop off, so the average will likely be lower than 40,000.
But let's just say that it does stay at 40,000. So you'll need to have 5,532,432/40,000=138.3108 runs, but since you'll need to finish the 139th run, the total is 139. 139 runs * 50 min per run = 6950 minutes, or about 4.8 days.
However, that's how many relations you'll need to find before the script attempts the first filtering run. If there isn't enough relations, it will return to sieving, then try again when you finish the next set of sieving. I see that it selected default parameters for the 140 digit level. A recent factorization of a 141-digit number of general form took almost 25 million relations. Factorizations this large take quite a while, especially if it's on a single computer, and especially if it's only using one core. With collaboration from several volunteers, that number took 5 days to factor. I wouldn't be surprised if this takes you a month or more. (don't forget that you'll need a machine with plenty of RAM to finish the factorization)

Have you done sufficient ECM and poly selection first so that you aren't just wasting your time by doing an unneeded or inefficient GNFS?
Mini-Geek is offline   Reply With Quote
Old 2009-10-08, 12:23   #319
siew
 
Oct 2009

32×7 Posts
Default

Code:
skew: 412107.50
# norm 3.64e+020
c5: 8991060
c4: -12127640856442
c3: -4571538298609334349
c2: 1921334488915333355742087
c1: 354841807933800473017446092705
c0: 15303903753718196025579486085196571
# alpha -4.79
Y1: 718317004608979589
Y0: -239659686492979025097250976612

# Murphy_E 2.72e-012, needed was 2.19e-012
type: gnfs
rlim: 18000000
alim: 18000000
lpbr: 28
lpba: 28
mfbr: 52
mfba: 52
rlambda: 2.6
alambda: 2.6
now i'm using 4 cores at 3.5 GHz
Original N is 154 digits

selection of Poly was done at 24 hours in 4 threads too.

i have 16 Gbytes of RAM and 4 TB HDD, so think will enough for this task, also i want to divide task to 3 other Q6600 PC for sieving.

Last fiddled with by siew on 2009-10-08 at 12:37
siew is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation of GGNFS LegionMammal978 Msieve 17 2017-01-20 19:49
Running other programs while running Prime95. Neimanator PrimeNet 14 2013-08-10 20:15
Error running GGNFS+msieve+factmsieve.py D. B. Staple Factoring 6 2011-06-12 22:23
GGNFS or something better? Zeta-Flux Factoring 1 2007-08-07 22:40
ggnfs ATH Factoring 3 2006-08-12 22:50

All times are UTC. The time now is 08:16.


Tue Jul 27 08:16:02 UTC 2021 up 4 days, 2:45, 0 users, load averages: 2.39, 2.00, 1.83

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.