View Single Post
Old 2016-02-18, 23:41   #1
BudgieJane
 
BudgieJane's Avatar
 
"Jane Sullivan"
Jan 2011
Beckenham, UK

251 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