mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2011-02-18, 14:49   #573
Mr. Odd
 
Mar 2010

3·19 Posts
Default

Thanks! I noticed a couple of entries in the latest included INI file, what are they for?

ecm_qs_ratio=0.25
ecm_gnfs_ratio=0.25
Mr. Odd is offline   Reply With Quote
Old 2011-02-18, 14:52   #574
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

7·503 Posts
Default

Quote:
Originally Posted by Mr. Odd View Post
Thanks! I noticed a couple of entries in the latest included INI file, what are they for?

ecm_qs_ratio=0.25
ecm_gnfs_ratio=0.25
They set the target ratio of time spent doing ECM prior to either SIQS or NFS. If you like to do more or less ecm pretesting on general numbers, you could set them higher or lower, respectively.
bsquared is offline   Reply With Quote
Old 2011-02-22, 14:58   #575
wblipp
 
wblipp's Avatar
 
"William"
May 2003
New Haven

1001001111102 Posts
Default

When using modexp() in Win-32 Version 1.24, the output includes a line

found expression ....

which shows the modulus - the third parameter. This appears to be a debug comment left in the final release. Not a problem, but not really tidy.
wblipp is offline   Reply With Quote
Old 2011-03-11, 07:34   #576
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2×5×283 Posts
Default

Well Ben, I ran yafu through night using the batchfile command. When starting the second integer on the batchfile I lost all cores except one running sieve. We really need to understand why this behave.
em99010pepe is offline   Reply With Quote
Old 2011-03-14, 13:31   #577
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

7×503 Posts
Default

Quote:
Originally Posted by em99010pepe View Post
Well Ben, I ran yafu through night using the batchfile command. When starting the second integer on the batchfile I lost all cores except one running sieve. We really need to understand why this behave.
I wish I knew. For the next release, I can try to implement something (some sort of affinity mask in the .ini file) that will allow you to lock threads to specific cores, which I think is possible in windows. This is non-ideal because then yafu won't play nicely with other programs, but it is a potential workaround for this problem.
bsquared is offline   Reply With Quote
Old 2011-03-28, 11:24   #578
Mr. Odd
 
Mar 2010

3×19 Posts
Default

Trying to factor 10^118+39 using NFS, Yafu goes into a loop and spits out "error -11 reading". What happened?
Mr. Odd is offline   Reply With Quote
Old 2011-03-28, 12:34   #579
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default

Quote:
Originally Posted by Mr. Odd View Post
Trying to factor 10^118+39 using NFS, Yafu goes into a loop and spits out "error -11 reading". What happened?
Maybe you have accidently left an old relations file (from another factorization) in your folder?

(As far as I know, Yafu uses Msieve and GGNFS for NFS factorizations. I once experienced a similar problem (the "error -.. reading relation xy" errors are spit out by Msieve), and it turned out that the errors were caused by an old relations file - and these relations obviously don't fit into the current factorization)
Andi47 is offline   Reply With Quote
Old 2011-03-28, 13:26   #580
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

7·503 Posts
Default

As Andi47 has said, somehow an extraneous batch of relations has gotten into the savefile - maybe a different job was run in the same directory during the course of the first job, or maybe some original savefile wasn't deleted before running this job (Yafu should do this... but maybe the operation failed somehow).

Also, note that your input is much more easily factored by SNFS than GNFS, which YAFU doesn't yet automatically support.
bsquared is offline   Reply With Quote
Old 2011-03-28, 13:38   #581
Mr. Odd
 
Mar 2010

3×19 Posts
Default

Quote:
Originally Posted by bsquared View Post
Also, note that your input is much more easily factored by SNFS than GNFS, which YAFU doesn't yet automatically support.
Ah yes. Any plans to implement SNFS in Yafu?
Mr. Odd is offline   Reply With Quote
Old 2011-03-28, 13:41   #582
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

7×503 Posts
Default

Quote:
Originally Posted by Mr. Odd View Post
Ah yes. Any plans to implement SNFS in Yafu?
In an automated way? Yes. But I've had a severely limited amount of free time lately, and that's likely to continue... so not sure when.

You can currently run SNFS jobs in YAFU, you are just on your own to provide the polynomial (e.g., create a ggnfs.job file, then run nfs("your number here")).

Last fiddled with by bsquared on 2011-03-28 at 13:47
bsquared is offline   Reply With Quote
Old 2011-04-02, 14:52   #583
mnh001
 
Apr 2011

26 Posts
Default

Hi. I just discovered YAFU the other day. I've factored quite a few numbers in short order with it and I think it's a great program. But it's now crashing on this one number. I'm running WinXP, 2.4 GHz, Core2. The exe I'm using is yafu-64k-Win32.exe.
I don't know how to put the fancy scroll box in here so I'll just paste the factor log:

04/02/11 08:36:18 v1.24 @ HOME, Starting factorization of 1018979337456225035714934025075344288205054863323166920696334625238968374307490538496140762051312209
04/02/11 08:36:18 v1.24 @ HOME, ****************************
04/02/11 08:36:18 v1.24 @ HOME, rho: x^2 + 1, starting 1000 iterations on C100
04/02/11 08:36:18 v1.24 @ HOME, rho: x^2 + 3, starting 1000 iterations on C100
04/02/11 08:36:19 v1.24 @ HOME, rho: x^2 + 2, starting 1000 iterations on C100
04/02/11 08:36:19 v1.24 @ HOME, pp1: starting B1 = 20K, B2 = gmp-ecm default on C100
04/02/11 08:36:19 v1.24 @ HOME, pp1: starting B1 = 20K, B2 = gmp-ecm default on C100
04/02/11 08:36:19 v1.24 @ HOME, pp1: starting B1 = 20K, B2 = gmp-ecm default on C100
04/02/11 08:36:19 v1.24 @ HOME, pm1: starting B1 = 100K, B2 = gmp-ecm default on C100
04/02/11 08:36:20 v1.24 @ HOME, Finished 25 curves using Lenstra ECM method on C100 input, B1 = 2K, B2 = gmp-ecm default
04/02/11 08:36:37 v1.24 @ HOME, Finished 90 curves using Lenstra ECM method on C100 input, B1 = 11K, B2 = gmp-ecm default
04/02/11 08:38:58 v1.24 @ HOME, Finished 200 curves using Lenstra ECM method on C100 input, B1 = 50K, B2 = gmp-ecm default
04/02/11 08:38:58 v1.24 @ HOME, pp1: starting B1 = 200K, B2 = gmp-ecm default on C100
04/02/11 08:38:59 v1.24 @ HOME, pp1: starting B1 = 200K, B2 = gmp-ecm default on C100
04/02/11 08:38:59 v1.24 @ HOME, pp1: starting B1 = 200K, B2 = gmp-ecm default on C100
04/02/11 08:39:00 v1.24 @ HOME, pm1: starting B1 = 1M, B2 = gmp-ecm default on C100
04/02/11 08:59:14 v1.24 @ HOME, Finished 400 curves using Lenstra ECM method on C100 input, B1 = 250K, B2 = gmp-ecm default
04/02/11 08:59:14 v1.24 @ HOME, pp1: starting B1 = 2M, B2 = gmp-ecm default on C100
04/02/11 08:59:18 v1.24 @ HOME, pp1: starting B1 = 2M, B2 = gmp-ecm default on C100
04/02/11 08:59:23 v1.24 @ HOME, pp1: starting B1 = 2M, B2 = gmp-ecm default on C100
04/02/11 08:59:28 v1.24 @ HOME, pm1: starting B1 = 10M, B2 = gmp-ecm default on C100
04/02/11 10:06:21 v1.24 @ HOME, Finished 328 curves using Lenstra ECM method on C100 input, B1 = 1M, B2 = gmp-ecm default
04/02/11 10:08:10 v1.24 @ HOME, Finished 1 curves using Lenstra ECM method on C100 input, B1 = 10M, B2 = gmp-ecm default
04/02/11 10:08:10 v1.24 @ HOME, nfs: commencing gnfs on c100: 1018979337456225035714934025075344288205054863323166920696334625238968374307490538496140762051312209
04/02/11 10:08:10 v1.24 @ HOME, could not find ../ggnfs executables/gnfs-lasieve4I12e.exe, bailing

The file it's looking for, ../ggnfs executables/gnfs-lasieve4I12e.exe, IS in the folder where it's looking but somehow the program doesn't see it. Is there something I'm doing wrong or is this a bug of some sort? I've run this number three times and always the same result.

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-1.34 bsquared YAFU 119 2015-11-05 16:24
Yafu bug. storflyt32 YAFU 2 2015-06-29 05:19
yafu-1.33 bsquared YAFU 12 2012-11-08 04:12
yafu-1.32.1 bsquared YAFU 21 2012-09-04 19:44

All times are UTC. The time now is 05:34.


Fri Aug 6 05:34:38 UTC 2021 up 14 days, 3 mins, 1 user, load averages: 3.56, 3.05, 2.75

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.