mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2018-07-14, 17:48   #452
swellman
 
swellman's Avatar
 
Jun 2012

25·3·31 Posts
Default

I'm getting a repeatable crash in Win 10 with an older version of Yafu, immediately after Yafu finishes the x^2+1 step. Apologies if this issue has been put to bed. If so I will upgrade Yafu, but if not at least the issue has been identified.

Can someone with the latest Yafu try running this factor command?
Code:
yafu "factor(3314514401115331138050274482333751539515878179862796262008408412975806037560749219681220581227413060207370252117371524847562070565242284821231627393410026284359777649866800126829859329720807915332429357543540159617375384722721915579212589246884325216900112116212203418982984198221046623379680617016015699725380875449909211299841)" -v
The number itself is the C328 cofactor of M17^85-1, a subproject in the Cunningham numbers area. The C328 seems to run fine with the ECM command. Crash output is displayed below.

Thanks you in advance.

Code:
C:\Temp>yafu "factor(3314514401115331138050274482333751539515878179862796262008408412975806037560749219681220581227413060207370252117371524847562070565242284821231627393410026284359777649866800126829859329720807915332429357543540159617375384722721915579212589246884325216900112116212203418982984198221046623379680617016015699725380875449909211299841)" -v


07/14/18 13:04:15 v1.34.5 @ NATINBNDE94677, System/Build Info:
Using GMP-ECM 6.3, Powered by GMP 5.1.1
detected Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
detected L1 = 32768 bytes, L2 = 4194304 bytes, CL = 64 bytes
measured cpu frequency ~= 3050.105090
using 100 random witnesses for Rabin-Miller PRP checks

===============================================================
======= Welcome to YAFU (Yet Another Factoring Utility) =======
=======             bbuhrow@gmail.com                   =======
=======     Type help at any time, or quit to quit      =======
===============================================================
cached 78498 primes. pmax = 999983


>> fac: factoring 3314514401115331138050274482333751539515878179862796262008408412975806037560749219681220581227413060207370252117371524847562070565242284821231627393410026284359777649866800126829859329720807915332429357543540159617375384722721915579212589246884325216900112116212203418982984198221046623379680617016015699725380875449909211299841
fac: using pretesting plan: normal
fac: using tune info for qs/gnfs crossover
div: primes less than 10000
fmt: 1000000 iterations
rho: x^2 + 3, starting 100000 iterations on C328
rho: x^2 + 2, starting 100000 iterations on C328
rho: x^2 + 1, starting 100000 iterations on C328
pm1: starting B1 = 150K, B2 = gmp-ecm default on C328
Assertion failed: (__builtin_constant_p (1UL) && (1UL) == 0 ? ((F[deg])->_mp_size < 0 ? -1 : (F[deg])->_mp_size > 0) : __gmpz_cmp_ui (F[deg],1UL)) == 0, file pm1fs2.c, line 1843

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
swellman is online now   Reply With Quote
Old 2018-07-15, 06:55   #453
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

1,741 Posts
Default

Can confirm it works fine on a more recent version of YAFU. Can't give you the exact revision, but it's recent.
wombatman is offline   Reply With Quote
Old 2018-07-15, 11:13   #454
swellman
 
swellman's Avatar
 
Jun 2012

BA016 Posts
Default

Thanks Wombatman. The solution is obvious: I need a faster computer.
swellman is online now   Reply With Quote
Old 2018-07-15, 13:50   #455
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

22·7·132 Posts
Default

Quote:
Originally Posted by swellman View Post
Thanks Wombatman. The solution is obvious: I need a faster computer.
https://www.ebay.com/i/392082009095?chn=ps

VBCurtis is offline   Reply With Quote
Old 2018-07-16, 01:32   #456
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

32·19·47 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
How many watts does one of those use running flat out?

Xyzzy is offline   Reply With Quote
Old 2018-07-16, 01:45   #457
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

22·7·132 Posts
Default

I have a kill-a-watt, so I'll let you know in about ten days once it arrives.
VBCurtis is offline   Reply With Quote
Old 2018-07-16, 02:11   #458
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

32×19×47 Posts
Default

Thanks!

We don’t know much about enterprise-level equipment like that but we are very tempted to get one. Especially if we could get one to run Linux. (Do they have weird proprietary bits of hardware that aren’t supported under Linux?)

Have you bought from this seller before?
Xyzzy is offline   Reply With Quote
Old 2018-07-18, 18:32   #459
MisterBitcoin
 
MisterBitcoin's Avatar
 
"Nuri, the dragon :P"
Jul 2016
Good old Germany

5·7·23 Posts
Default

Quote:
Originally Posted by swellman View Post
Thanks Wombatman. The solution is obvious: I need a faster computer.

Used yafu 1.34 and got the same result as you got.



Code:
07/18/18 20:27:19 v1.34.5 @ SYDEKUM-PC, System/Build Info: 
Using GMP-ECM 6.3, Powered by GMP 5.1.1
cached 78498 primes. pmax = 999983
detected Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz
detected L1 = 32768 bytes, L2 = 8388608 bytes, CL = 64 bytes
measured cpu frequency ~= 3396.280260
using 20 random witnesses for Rabin-Miller PRP checks

Updating yafu *might* help, but upgrading your computer might not help.
MisterBitcoin is offline   Reply With Quote
Old 2018-07-18, 20:48   #460
VictordeHolland
 
VictordeHolland's Avatar
 
"Victor de Hollander"
Aug 2011
the Netherlands

22308 Posts
Default

The C328 works fine in the r373 (WIP branch)

Code:
C:\YAFU-r373-wip-win64-core2>yafu-r373-win64-core2.exe "factor(33145144011153311
38050274482333751539515878179862796262008408412975806037560749219681220581227413
06020737025211737152484756207056524228482123162739341002628435977764986680012682
98593297208079153324293575435401596173753847227219155792125892468843252169001121
16212203418982984198221046623379680617016015699725380875449909211299841)" -v

07/18/18 22:40:43 v1.35-beta @ PCVICTOR, System/Build Info:
Using GMP-ECM 7.0.4, Powered by GMP 6.1.2
detected        Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
detected L1 = 32768 bytes, L2 = 6291456 bytes, CL = 64 bytes
measured cpu frequency ~= 3556.133860
using 1 random witnesses for Rabin-Miller PRP checks

===============================================================
======= Welcome to YAFU (Yet Another Factoring Utility) =======
=======             bbuhrow@gmail.com                   =======
=======     Type help at any time, or quit to quit      =======
===============================================================
cached 78498 primes. pmax = 999983


>> fac: factoring 33145144011153311380502744823337515395158781798627962620084084
12975806037560749219681220581227413060207370252117371524847562070565242284821231
62739341002628435977764986680012682985932972080791533242935754354015961737538472
27219155792125892468843252169001121162122034189829841982210466233796806170160156
99725380875449909211299841
fac: using pretesting plan: normal
fac: no tune info: using qs/gnfs crossover of 95 digits
div: primes less than 10000
fmt: 1000000 iterations
rho: x^2 + 3, starting 1000 iterations on C328
rho: x^2 + 2, starting 1000 iterations on C328
rho: x^2 + 1, starting 1000 iterations on C328
nfs: searching for brent special forms...
nfs: searching for homogeneous cunningham special forms...
nfs: searching for XYYXF special forms...
nfs: couldn't find special form
pm1: starting B1 = 150K, B2 = gmp-ecm default on C328
fac: setting target pretesting digits to 100.92
fac: estimated sum of completed work is t0.00
fac: work done at B1=2000: 0 curves, max work = 30 curves
fac: 30 more curves at B1=2000 needed to get to t100.92
ecm: 30/30 curves on C328, B1=2K, B2=gmp-ecm default
fac: setting target pretesting digits to 100.92
        t15: 1.00
        t20: 0.04
fac: estimated sum of completed work is t15.18
fac: work done at B1=11000: 0 curves, max work = 74 curves
fac: 74 more curves at B1=11000 needed to get to t100.92
ecm: 74/74 curves on C328, B1=11K, B2=gmp-ecm default
fac: setting target pretesting digits to 100.92
        t15: 7.17
        t20: 1.04
        t25: 0.05
fac: estimated sum of completed work is t20.24
fac: work done at B1=50000: 0 curves, max work = 214 curves
fac: 214 more curves at B1=50000 needed to get to t100.92
ecm: 214/214 curves on C328, B1=50K, B2=gmp-ecm default, ETA: 0 sec
pm1: starting B1 = 3750K, B2 = gmp-ecm default on C328
fac: setting target pretesting digits to 100.92
        t15: 37.74
        t20: 11.23
        t25: 1.05
        t30: 0.07
fac: estimated sum of completed work is t25.33
fac: work done at B1=250000: 0 curves, max work = 430 curves
 fac: 430 more curves at B1=250000 needed to get to t100.92
ecm: 68/430 curves on C328, B1=250K, B2=gmp-ecm default, ETA: 4.4 min
and r375 (WIP branch)
Code:
C:\YAFU-r375-wip-win64-core2>yafu-r375-wip-win64-core2.exe "factor(3314514401115
33113805027448233375153951587817986279626200840841297580603756074921968122058122
74130602073702521173715248475620705652422848212316273934100262843597776498668001
26829859329720807915332429357543540159617375384722721915579212589246884325216900
112116212203418982984198221046623379680617016015699725380875449909211299841)" -v

07/18/18 22:45:25 v1.35-beta @ PCVICTOR, System/Build Info:
Using GMP-ECM 7.0.4, Powered by GMP 6.1.2
detected        Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
detected L1 = 32768 bytes, L2 = 6291456 bytes, CL = 64 bytes
measured cpu frequency ~= 3146.783720
using 1 random witnesses for Rabin-Miller PRP checks

===============================================================
======= Welcome to YAFU (Yet Another Factoring Utility) =======
=======             bbuhrow@gmail.com                   =======
=======     Type help at any time, or quit to quit      =======
===============================================================
cached 78498 primes. pmax = 999983


>> fac: factoring 33145144011153311380502744823337515395158781798627962620084084
12975806037560749219681220581227413060207370252117371524847562070565242284821231
62739341002628435977764986680012682985932972080791533242935754354015961737538472
27219155792125892468843252169001121162122034189829841982210466233796806170160156
99725380875449909211299841
fac: using pretesting plan: normal
fac: no tune info: using qs/gnfs crossover of 95 digits
div: primes less than 10000
fmt: 1000000 iterations
rho: x^2 + 3, starting 1000 iterations on C328
rho: x^2 + 2, starting 1000 iterations on C328
rho: x^2 + 1, starting 1000 iterations on C328
nfs: searching for brent special forms...
nfs: searching for homogeneous cunningham special forms...
nfs: searching for XYYXF special forms...
nfs: couldn't find special form
pm1: starting B1 = 150K, B2 = gmp-ecm default on C328
fac: setting target pretesting digits to 100.92
fac: estimated sum of completed work is t0.00
fac: work done at B1=2000: 0 curves, max work = 30 curves
fac: 30 more curves at B1=2000 needed to get to t100.92
ecm: 30/30 curves on C328, B1=2K, B2=gmp-ecm default
fac: setting target pretesting digits to 100.92
        t15: 1.00
        t20: 0.04
fac: estimated sum of completed work is t15.18
fac: work done at B1=11000: 0 curves, max work = 74 curves
fac: 74 more curves at B1=11000 needed to get to t100.92
ecm: 74/74 curves on C328, B1=11K, B2=gmp-ecm default
fac: setting target pretesting digits to 100.92
        t15: 7.17
        t20: 1.04
        t25: 0.05
fac: estimated sum of completed work is t20.24
fac: work done at B1=50000: 0 curves, max work = 214 curves
fac: 214 more curves at B1=50000 needed to get to t100.92
ecm: 214/214 curves on C328, B1=50K, B2=gmp-ecm default, ETA: 0 sec
pm1: starting B1 = 3750K, B2 = gmp-ecm default on C328
fac: setting target pretesting digits to 100.92
        t15: 37.74
        t20: 11.23
        t25: 1.05
        t30: 0.07
fac: estimated sum of completed work is t25.33
fac: work done at B1=250000: 0 curves, max work = 430 curves
fac: 430 more curves at B1=250000 needed to get to t100.92
ecm: 56/430 curves on C328, B1=250K, B2=gmp-ecm default, ETA: 4.2 min
VictordeHolland is offline   Reply With Quote
Old 2018-07-18, 21:50   #461
swellman
 
swellman's Avatar
 
Jun 2012

BA016 Posts
Default

Thanks to all for confirming the bug is gone in later versions of Yafu.

Anybody got an executable of the latest Yafu (Win) on a non-bleeding edge cpu? The steps laid out by B^2 scare me a bit, though I will attempt it if necessary.

My new computer comment was purely tongue in cheek w/r/t SWMBO, who unfortunately does not read this forum nor does she care about recreational mathematics. I must resort to plan B - a full court charm offensive. Wish me luck!
swellman is online now   Reply With Quote
Old 2018-07-18, 22:08   #462
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

22×23×37 Posts
Default

Just thought I'd mention that the exception you saw was generated by the gmp-ecm library.

What that means is that something in the pre-packaged gmp-ecm inside the yafu executable is failing on that cpu. Would be interested to see if similar-era standalone gmp-ecm programs fail in the same way with that number (Using GMP-ECM 6.3, Powered by GMP 5.1.1).

Newer yafu's will have newer gmp-ecm's, so that is the fix for now.
bsquared is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running YAFU via Aliqueit doesn't find yafu.ini EdH YAFU 8 2018-03-14 17:22
Where to report bugs Matt Software 1 2007-02-20 19:13
Possible Prime95 bugs JuanTutors Software 9 2006-09-24 21:22
RMA 1.7 beta bugs TTn 15k Search 2 2004-11-24 22:11
RMA 1.6 fixes LLR bugs! TTn 15k Search 16 2004-06-16 01:22

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

Thu Apr 15 15:11:19 UTC 2021 up 7 days, 9:52, 0 users, load averages: 2.18, 2.25, 2.24

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