mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   YAFU (https://www.mersenneforum.org/forumdisplay.php?f=96)
-   -   Yafu not writing to the output file as requested (https://www.mersenneforum.org/showthread.php?t=21007)

BudgieJane 2016-02-18 23:41

Yafu not writing to the output file as requested
 
I have a strange occurrence. The number being factored is a perfect power of 31 digits, although I didn't know that when I sent it to YAFU.

[CODE]
JANELT3 C:\Users\Jane\Documents\APLapps\Numbers > ..\..\Maths\yafu\Versions\yafu-1.34\yafu-x64 factor(2777777833333332499999988888889) -R -logfile io\log33.txt -of io\out33.txt


fac: factoring 2777777833333332499999988888889
fac: using pretesting plan: normal
fac: using tune info for qs/gnfs crossover

Factoring composite base 1666666683333333...
fac: factoring 1666666683333333
fac: using pretesting plan: normal
fac: no tune info: using qs/gnfs crossover of 95 digits
div: primes less than 10000
Total factoring time = 0.0156 seconds


***factors found***

P1 = 3
P1 = 3
P1 = 3
P1 = 3
P2 = 11
P2 = 11
P2 = 19
P2 = 19
P2 = 73
P2 = 73
P3 = 101
P3 = 101
P3 = 137
P3 = 137
P3 = 739
P3 = 739
P4 = 1187
P4 = 1187

ans = 1


JANELT3 C:\Users\Jane\Documents\APLapps\Numbers > dir io\*33*
Volume in drive C is JaneLT3
Volume Serial Number is CCBD-7411

Directory of C:\Users\Jane\Documents\APLapps\Numbers\io

18/02/2016 23:25 4,432 log33.txt
1 File(s) 4,432 bytes
0 Dir(s) 284,672,864,256 bytes free
[/CODE]

I am expecting to see out33.txt in this directory listing, and as you can see it is not there. What is going wrong?

[Note: I am calling YAFU from another program, and rely on io\out??.txt to return the factors to my program.]

bsquared 2016-02-21 15:41

[QUOTE=BudgieJane;426763]


I am expecting to see out33.txt in this directory listing, and as you can see it is not there. What is going wrong?

[Note: I am calling YAFU from another program, and rely on io\out??.txt to return the factors to my program.][/QUOTE]

I haven't had a chance to look closely yet, but likely it is a bug/oversight where perfect power factors aren't being logged into that output file. Can you see them in the normal factor.log file?

BudgieJane 2016-02-22 10:20

Yes

bsquared 2016-02-22 15:14

Thanks.

Fixed in SVN 347.


All times are UTC. The time now is 15:03.

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