20210817, 13:17  #166  
"Ben"
Feb 2007
3·1,193 Posts 
Quote:
I have never tried building with that compiler so not very surprising. The inline assembly doesn't port easily... 

20210818, 12:06  #167 
"Ben"
Feb 2007
DFB_{16} Posts 
v2.06
Just checked in version 2.06. I updated the function where Gimeral's error was occurring. For me it is now faster on AVX2 systems, especially with the windows .exe, and hopefully also works for everyone.

20210818, 15:53  #168 
"Ben"
Feb 2007
6773_{8} Posts 
Looking back over some historical benchmarks (time in seconds for sequence of inputs), 2.06 is a pretty big speedup for AVX2 systems, for either MSVC windows or linux builds. Still hoping it is also more stable across compilers/cpus.
AVX2 linux, icc (Xeon E52697 v3): Code:
version c60 c65 c70 c75 c80 c85 c90 c95 v1.34.5 2.35 6.9 14.8 52.4 104.8 294 3132 v1.35.0 2.2 6.4 12.9 43.6 89.8 262 1037 2912 v2.05 1.83 5.66 11 37 76.6 229 v2.06 1.69 5.48 11.2 35.7 69.5 208 794 2210 Code:
version c60 c65 c70 c75 c80 c85 v1.34.5 2.54 7.42 15.1 53.8 111.4 311 v2.05 1.93 6.98 14.3 51.7 100.6 314.2 v2.06 1.89 6.11 12.2 41.5 82.1 240.5 Code:
version c60 c65 c70 c75 c80 c85 c90 c95 v2.06 1.16 3.44 6.64 21.9 44.5 135.1 516 1516 Last fiddled with by bsquared on 20210818 at 16:01 Reason: last comparison 
20210818, 18:59  #169 
"Jane Sullivan"
Jan 2011
Beckenham, UK
3^{2}×31 Posts 
I've just run the C108 cofactor of 73+34.59 through yafu 2.06, although I'm sure any of the previous versions would show the same behaviour.
Code:
08/18/21 19:43:23, 08/18/21 19:43:23, **************************** 08/18/21 19:43:23, Starting factorization of 806612539887522076624435765094947314651498682479207276130902929847315087082262158953156473845821936013965643 08/18/21 19:43:23, using pretesting plan: normal 08/18/21 19:43:23, using tune info for qs/gnfs crossover 08/18/21 19:43:23, **************************** 08/18/21 19:43:23, rho: x^2 + 3, starting 1000 iterations on C108 08/18/21 19:43:23, prp11 = 40061753549 08/18/21 19:43:23, rho: x^2 + 3, starting 1000 iterations on C98 08/18/21 19:43:23, rho: x^2 + 2, starting 1000 iterations on C98 08/18/21 19:43:23, rho: x^2 + 1, starting 1000 iterations on C98 08/18/21 19:43:24, pm1: starting B1 = 150K, B2 = gmpecm default on C98 08/18/21 19:43:24, current ECM pretesting depth: 0.00 08/18/21 19:43:24, scheduled 30 curves at B1=2000 toward target pretesting depth of 30.15 08/18/21 19:43:24, Finished 30 curves using GMPECM method on C98 input, B1=2k, B2=gmpecm default 08/18/21 19:43:24, current ECM pretesting depth: 15.18 08/18/21 19:43:24, scheduled 74 curves at B1=11000 toward target pretesting depth of 30.15 08/18/21 19:43:25, Finished 74 curves using GMPECM method on C98 input, B1=11k, B2=gmpecm default 08/18/21 19:43:25, current ECM pretesting depth: 20.24 08/18/21 19:43:25, scheduled 214 curves at B1=50000 toward target pretesting depth of 30.15 08/18/21 19:43:29, Finished 214 curves using GMPECM method on C98 input, B1=50k, B2=gmpecm default 08/18/21 19:43:29, pm1: starting B1 = 3750K, B2 = gmpecm default on C98 08/18/21 19:43:30, current ECM pretesting depth: 25.33 08/18/21 19:43:30, scheduled 402 curves at B1=250000 toward target pretesting depth of 30.15 08/18/21 19:43:52, prp28 = 2606325622300954201341849509 (curve 284 stg2 B1=250000 sigma=3962908428 thread=11) 08/18/21 19:43:53, Finished 294 curves using GMPECM method on C98 input, B1=250k, B2=gmpecm default 08/18/21 19:43:53, final ECM pretested depth: 28.75 08/18/21 19:43:53, scheduler: switching to sieve method 08/18/21 19:43:53, starting SIQS on c70: 7725139683897973308307472537355787653622803183466786522414544405964523 08/18/21 19:43:53, random seed: 2108661816 08/18/21 19:43:53, prp70 = 7725139683897973308307472537355787653622803183466786522414544405964523 08/18/21 19:43:53, Total factoring time = 30.2247 seconds 
20210818, 19:21  #170  
"Ben"
Feb 2007
6773_{8} Posts 
Quote:
Code:
siqs(ecm(pm1(rho(trial(n,10000))), 100)) 

20210818, 20:28  #171 
Apr 2020
5·109 Posts 
While trying to do a 2.05 vs 2.06 benchmark, I discovered that the batchfile option seems to be broken. When I run "yafu "siqs(@)" batchfile in.bat", yafu quits with
Code:
>> fopen error: No such file or directory couldn't open R for reading PS. Thanks for all the excellent work over the last couple of months! Last fiddled with by charybdis on 20210818 at 20:29 
20210818, 20:32  #172  
"Ben"
Feb 2007
3×1,193 Posts 
Quote:
Also, fyi, yafu has a builtin siqs benchmark function: ./yafu "siqsbench" Output is written to a bench.log file instead of factor.log. This is what I run over and over again during testing. Last fiddled with by bsquared on 20210818 at 20:35 

20210819, 00:10  #173 
Apr 2020
5·109 Posts 

20210822, 10:46  #174 
"Jane Sullivan"
Jan 2011
Beckenham, UK
3^{2}·31 Posts 
I'm having problems with version 2.06. It works OK on my new computer, running Windows 10 Pro, but it will not run on my old ones running Windows 7 Pro. It puts up the welcome message, waits something like half a minute, then quietly returns me to the command prompt:
Code:
JANELT3 C:\Users\Jane\Documents\Maths\yafu\Versions\yafu2.06 > yafux64 YAFU Version 2.06 Built with Microsoft Visual Studio 1922 Using GMPECM 7.0.4, Powered by MPIR 3.0.0 Detected Intel(R) Core(TM) i74710MQ CPU @ 2.50GHz Detected L1 = 32768 bytes, L2 = 6291456 bytes, CL = 64 bytes Using 1 random witness for RabinMiller PRP checks Cached 664579 primes; max prime is 9999991 =============================================================== ======= Welcome to YAFU (Yet Another Factoring Utility) ======= ======= bbuhrow@gmail.com ======= ======= Type help at any time, or quit to quit ======= =============================================================== >> JANELT3 C:\Users\Jane\Documents\Maths\yafu\Versions\yafu2.06 > 
20210822, 14:19  #175  
Mar 2006
486_{10} Posts 
Quote:
Code:
C:\yafu\yafu_2.06>yafux64.exe YAFU Version 2.06 Built with Microsoft Visual Studio 1922 Using GMPECM 7.0.4, Powered by MPIR 3.0.0 Detected Intel(R) Xeon(R) CPU E52687W v4 @ 3.00GHz Detected L1 = 32768 bytes, L2 = 31457280 bytes, CL = 64 bytes Using 1 random witness for RabinMiller PRP checks Cached 664579 primes; max prime is 9999991 =============================================================== ======= Welcome to YAFU (Yet Another Factoring Utility) ======= ======= bbuhrow@gmail.com ======= ======= Type help at any time, or quit to quit ======= =============================================================== >> factor(10^19+49) fac: factoring 10000000000000000049 fac: using pretesting plan: normal fac: no tune info: using qs/gnfs crossover of 100 digits fac: no tune info: using qs/snfs crossover of 75 digits div: primes less than 10000 fmt: 1000000 iterations rho: x^2 + 3, starting 1000 iterations on C20 Total factoring time = 0.0400 seconds ***factors found*** PRP10 = 8532383917 PRP10 = 1172005397 ans = 1 >> These are included with the Microsoft Visual C++ Redistributable packages from Microsoft. You can find links to the latest here (I'd recommend both the 32bit and 64bit): https://support.microsoft.com/enus/...f95f26a218cc0 

20210824, 10:42  #176  
"Jane Sullivan"
Jan 2011
Beckenham, UK
3^{2}×31 Posts 
Quote:
Code:
APIMSWINCOREWINRTERRORL110.DLL APIMSWINCOREWINRTL110.DLL APIMSWINCOREWINRTROBUFFERL110.DLL APIMSWINCOREWINRTSTRINGL110.DLL DCOMP.DLL IESHIMS.DLL 

Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
yafu ignoring yafu.ini  chris2be8  YAFU  6  20191017 16:22 
Running YAFU via Aliqueit doesn't find yafu.ini  EdH  YAFU  8  20180314 17:22 
YAFU1.34  bsquared  YAFU  119  20151105 16:24 
Yafu bug.  storflyt32  YAFU  2  20150629 05:19 
yafu 1.32  bsquared  YAFU  28  20120720 16:17 