mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   YAFU (https://www.mersenneforum.org/forumdisplay.php?f=96)
-   -   Yafu (https://www.mersenneforum.org/showthread.php?t=10871)

Mr. Odd 2011-02-18 14:49

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

bsquared 2011-02-18 14:52

[QUOTE=Mr. Odd;252922]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[/QUOTE]

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.

wblipp 2011-02-22 14:58

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.

em99010pepe 2011-03-11 07:34

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.

bsquared 2011-03-14 13:31

[QUOTE=em99010pepe;254880]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.[/QUOTE]

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.

Mr. Odd 2011-03-28 11:24

Trying to factor 10^118+39 using NFS, Yafu goes into a loop and spits out "error -11 reading". What happened?

Andi47 2011-03-28 12:34

[QUOTE=Mr. Odd;256815]Trying to factor 10^118+39 using NFS, Yafu goes into a loop and spits out "error -11 reading". What happened?[/QUOTE]

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)

bsquared 2011-03-28 13:26

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.

Mr. Odd 2011-03-28 13:38

[QUOTE=bsquared;256824]Also, note that your input is much more easily factored by SNFS than GNFS, which YAFU doesn't yet automatically support.[/QUOTE]

Ah yes. Any plans to implement SNFS in Yafu?

bsquared 2011-03-28 13:41

[QUOTE=Mr. Odd;256826]Ah yes. Any plans to implement SNFS in Yafu?[/QUOTE]

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 [I]can[/I] 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")).

mnh001 2011-04-02 14:52

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.


All times are UTC. The time now is 23:04.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.