mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2016-02-18, 23:41   #1
BudgieJane
 
BudgieJane's Avatar
 
"Jane Sullivan"
Jan 2011
Beckenham, UK

3458 Posts
Default 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
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.]
BudgieJane is offline   Reply With Quote
Old 2016-02-21, 15:41   #2
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

CAE16 Posts
Default

Quote:
Originally Posted by BudgieJane View Post


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.]
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?
bsquared is offline   Reply With Quote
Old 2016-02-22, 10:20   #3
BudgieJane
 
BudgieJane's Avatar
 
"Jane Sullivan"
Jan 2011
Beckenham, UK

229 Posts
Default

Yes
BudgieJane is offline   Reply With Quote
Old 2016-02-22, 15:14   #4
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2×3×541 Posts
Default

Thanks.

Fixed in SVN 347.
bsquared is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
console output to txt file pepi37 Linux 23 2015-09-28 18:23
Error Writing Intermediate File jinydu Lounge 6 2010-09-10 05:47
Error writing intermediate file Unregistered Information & Answers 6 2009-07-27 23:58
prp output file jasong Sierpinski/Riesel Base 5 1 2005-03-13 05:41
Error writing intermediate file: rX250423 millette Software 7 2004-01-08 05:56

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

Thu Jun 4 18:43:39 UTC 2020 up 71 days, 16:16, 2 users, load averages: 1.32, 1.68, 1.79

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.