mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2015-01-16, 00:18   #1
mnh001
 
Apr 2011

4016 Posts
Default YAFU crashing after rroot finding. Why?

I'm running YAFU v.1.34.5.
Why does YAFU crash after finding rroots? As you can see from the example below everything is progressing
just fine until it finishes the rroot finding. Then with no warning YAFU crashes and shuts down.
Many hours have been wasted trying to factor numbers only to have this happen.
Code:
01/15/15 11:36:33 v1.34.5 @ TSH0013514, 
01/15/15 11:36:33 v1.34.5 @ TSH0013514, ****************************
01/15/15 11:36:33 v1.34.5 @ TSH0013514, Starting factorization of 3731957003453168760965976133865610406934014621030869599818519323129284225578489492837151529686636095351345612655371
01/15/15 11:36:33 v1.34.5 @ TSH0013514, using pretesting plan: normal
01/15/15 11:36:33 v1.34.5 @ TSH0013514, no tune info: using qs/gnfs crossover of 95 digits
01/15/15 11:36:33 v1.34.5 @ TSH0013514, ****************************
01/15/15 11:36:33 v1.34.5 @ TSH0013514, rho: x^2 + 3, starting 1000 iterations on C115
01/15/15 11:36:33 v1.34.5 @ TSH0013514, rho: x^2 + 2, starting 1000 iterations on C115
01/15/15 11:36:33 v1.34.5 @ TSH0013514, rho: x^2 + 1, starting 1000 iterations on C115
01/15/15 11:36:33 v1.34.5 @ TSH0013514, pm1: starting B1 = 150K, B2 = gmp-ecm default on C115
01/15/15 11:36:33 v1.34.5 @ TSH0013514, current ECM pretesting depth: 0.00
01/15/15 11:36:33 v1.34.5 @ TSH0013514, scheduled 30 curves at B1=2000 toward target pretesting depth of 35.38
01/15/15 11:36:33 v1.34.5 @ TSH0013514, prp13 = 1772579951411 (curve 4 stg2 B1=2000 sigma=413122032 thread=0)
01/15/15 11:36:33 v1.34.5 @ TSH0013514, Finished 4 curves using Lenstra ECM method on C115 input, B1=2K, B2=gmp-ecm default
01/15/15 11:36:33 v1.34.5 @ TSH0013514, current ECM pretesting depth: 0.00
01/15/15 11:36:33 v1.34.5 @ TSH0013514, scheduled 26 curves at B1=2000 toward target pretesting depth of 31.69
01/15/15 11:36:34 v1.34.5 @ TSH0013514, Finished 26 curves using Lenstra ECM method on C103 input, B1=2K, B2=gmp-ecm default
01/15/15 11:36:34 v1.34.5 @ TSH0013514, current ECM pretesting depth: 15.18
01/15/15 11:36:34 v1.34.5 @ TSH0013514, scheduled 74 curves at B1=11000 toward target pretesting depth of 31.69
01/15/15 11:36:43 v1.34.5 @ TSH0013514, Finished 74 curves using Lenstra ECM method on C103 input, B1=11K, B2=gmp-ecm default
01/15/15 11:36:43 v1.34.5 @ TSH0013514, current ECM pretesting depth: 20.24
01/15/15 11:36:43 v1.34.5 @ TSH0013514, scheduled 214 curves at B1=50000 toward target pretesting depth of 31.69
01/15/15 11:38:26 v1.34.5 @ TSH0013514, Finished 214 curves using Lenstra ECM method on C103 input, B1=50K, B2=gmp-ecm default
01/15/15 11:38:26 v1.34.5 @ TSH0013514, pm1: starting B1 = 3750K, B2 = gmp-ecm default on C103
01/15/15 11:38:30 v1.34.5 @ TSH0013514, current ECM pretesting depth: 25.33
01/15/15 11:38:30 v1.34.5 @ TSH0013514, scheduled 430 curves at B1=250000 toward target pretesting depth of 31.69
01/15/15 11:54:09 v1.34.5 @ TSH0013514, Finished 430 curves using Lenstra ECM method on C103 input, B1=250K, B2=gmp-ecm default
01/15/15 11:54:09 v1.34.5 @ TSH0013514, pm1: starting B1 = 15M, B2 = gmp-ecm default on C103
01/15/15 11:54:24 v1.34.5 @ TSH0013514, current ECM pretesting depth: 30.45
01/15/15 11:54:24 v1.34.5 @ TSH0013514, scheduled 225 curves at B1=1000000 toward target pretesting depth of 31.69
01/15/15 12:27:46 v1.34.5 @ TSH0013514, Finished 225 curves using Lenstra ECM method on C103 input, B1=1M, B2=gmp-ecm default
01/15/15 12:27:46 v1.34.5 @ TSH0013514, final ECM pretested depth: 31.70
01/15/15 12:27:46 v1.34.5 @ TSH0013514, scheduler: switching to sieve method
01/15/15 12:27:46 v1.34.5 @ TSH0013514, nfs: commencing nfs on c103: 2105381481090585217974038570900140207156194443434542537916205022024264090035686605727881401910585436361
01/15/15 12:27:47 v1.34.5 @ TSH0013514, nfs: commencing poly selection with 2 threads
01/15/15 12:27:47 v1.34.5 @ TSH0013514, nfs: setting deadline of 771 seconds
01/15/15 12:58:29 v1.34.5 @ TSH0013514, nfs: completed 2 ranges of size 250 in 1842.7031 seconds
01/15/15 12:58:29 v1.34.5 @ TSH0013514, nfs: best poly = # norm 4.686974e-014 alpha -4.908732 e 7.922e-009 rroots 2
01/15/15 12:58:29 v1.34.5 @ TSH0013514, nfs: commencing lattice sieving with 2 threads
This is what the file nfs.job had:

Code:
n: 2105381481090585217974038570900140207156194443434542537916205022024264090035686605727881401910585436361
skew: 5194316.97
c0: 55515216155866739386413461856
c1: 23040724899216711803652
c2: -21635660256563459
c3: 3007150928
c4: 408
Y0: -8475472436065327742133449
Y1: 39645530675737
rlim: 2220000
alim: 2220000
lpbr: 26
lpba: 26
mfbr: 52
mfba: 52
rlambda: 2.5
alambda: 2.5
The NFS.job file also has a red 'X' on it in the folder. I don't know if this has anything to do with it.
mnh001 is offline   Reply With Quote
Old 2015-01-16, 06:36   #2
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

4,789 Posts
Default

Does yafu find the sievers? I mean, do you have the nfs sieve applications in the right spot, with the path correctly pointed at them? The part that worked is msieve's job, while the lattice sieving is done by lasieve4I[11-16]e.

If yafu keeps crashing at exactly that point, I think either the sievers aren't being found (usually a path problem), or you downloaded sievers that aren't compatible with your OS/architecture (linux vs win, win64 vs win32, etc).
VBCurtis is online now   Reply With Quote
Old 2015-01-16, 13:17   #3
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2·32·191 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
Does yafu find the sievers? I mean, do you have the nfs sieve applications in the right spot, with the path correctly pointed at them? The part that worked is msieve's job, while the lattice sieving is done by lasieve4I[11-16]e.

If yafu keeps crashing at exactly that point, I think either the sievers aren't being found (usually a path problem), or you downloaded sievers that aren't compatible with your OS/architecture (linux vs win, win64 vs win32, etc).
If it couldn't find the sievers there would be a message to that effect somewhere. But it only checks that there is a file with the correct name in the directory, so I wouldn't be surprised if it was an incompatible binary.

OP - assuming you haven't deleted anything, if you find binaries that work then nothing is lost. Just restart with a -R flag and it should pick up with the nfs.job file and start sieving.
bsquared is offline   Reply With Quote
Old 2015-01-16, 23:30   #4
mnh001
 
Apr 2011

26 Posts
Default

I don't see the files you mention. I d'led yafu-1.34.zip from sourceforge and there were
only 7 files in the zip:

CHANGES
docfile.txt
README
yafu
yafu-Win32.exe
yafu-x64.exe
yafu.ini

Where are these other files (lsieve)? I didn't see them on the sourceforge page. Unless I missed something somewhere :(

Last fiddled with by mnh001 on 2015-01-16 at 23:32
mnh001 is offline   Reply With Quote
Old 2015-01-17, 16:25   #5
Andi_HB
 
Andi_HB's Avatar
 
Mar 2007
Germany

23·3·11 Posts
Default

You can try this lasieve files.
http://www.mersenneforum.org/showpos...2&postcount=17

Regards Andi_HB
Andi_HB is offline   Reply With Quote
Old 2015-01-17, 19:47   #6
mnh001
 
Apr 2011

26 Posts
Default

Thanks Andi_HB.

Ok I dl'ed ggnfs-svn413-win64-core2.zip and extracted it to C:\YAFU-1.34\ggnfs-svn413-win64-core2\

Then I changed the yafu.ini file to this

Code:
B1pm1=100000
B1pp1=20000
B1ecm=11000
rhomax=1000
threads=3
pretest_ratio=0.25
%ggnfs_dir=..\ggnfs-svn413-win64-core2\
ggnfs_dir=../ggnfs-svn413-win64-core2/
%ecm_path=..\gmp-ecm\bin\x64\Release\ecm.exe
%ecm_path=../ecm/current/ecm
tune_info=       Intel(R) Xeon(R) CPU E5-4650 0 @ 2.70GHz,LINUX64,1.73786e-05,0.200412,0.400046,0.0987873,98.8355,2699.98
and gave it a try. It still crashes at the same point.

Last fiddled with by mnh001 on 2015-01-17 at 20:00
mnh001 is offline   Reply With Quote
Old 2015-01-17, 21:31   #7
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

Try making ggnfs_dir the absolute path, i.e.
Code:
ggnfs_dir=C:\YAFU-1.34\ggnfs-svn413-win64-core2\
The "../" in your current variable means "the parent directory", so if your yafu is running from "C:\YAFU-1.34\", then that current relative path would evaluate to "C:\ggnfs-svn413-win64-core2\", i.e. still the incorrect location. Either making the variable the absolute path, as above, or removing the "../" may work. (The absolute path will work whether or not my guess is correct, so it's more likely to work.)

Last fiddled with by Dubslow on 2015-01-17 at 21:32
Dubslow is offline   Reply With Quote
Old 2015-01-17, 22:37   #8
mnh001
 
Apr 2011

10000002 Posts
Default

Ok, so far that seems to work. I've got it running on a previous number. It picked up where it left off before crashing. Since it hasn't
crashed yet I'll assume that fixed it. Thanks for the help.
mnh001 is offline   Reply With Quote
Old 2015-01-22, 23:50   #9
mnh001
 
Apr 2011

26 Posts
Default 32-bit?

Is there lasieve routines for 32-bit? I actually have access to more of those than 64-bit.

Last fiddled with by mnh001 on 2015-01-22 at 23:51
mnh001 is offline   Reply With Quote
Old 2015-01-23, 05:18   #10
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

4,789 Posts
Default

Yes. Check Jeff Gilchrist's factoring site: gilchrist.ca/jeff/factoring/
I think they're there.
VBCurtis is online now   Reply With Quote
Old 2015-01-23, 17:55   #11
mnh001
 
Apr 2011

4016 Posts
Default

Ok, I'll check that out. Thanks.
mnh001 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running YAFU via Aliqueit doesn't find yafu.ini EdH YAFU 8 2018-03-14 17:22
Yafu instantly crashing after first instruction luisda2994 YAFU 1 2016-12-09 00:30
LLR Crashing mdettweiler Riesel Prime Search 14 2007-09-30 18:29
V24.12 Release 1 Crashing on P4 M njcroquet1 Software 8 2005-06-24 14:40
Prime crashing russ Software 3 2002-08-29 00:08

All times are UTC. The time now is 18:39.

Mon May 17 18:39:11 UTC 2021 up 39 days, 13:20, 0 users, load averages: 2.48, 2.69, 2.65

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.