View Single Post
Old 2010-10-30, 04:26   #6
WraithX
 
WraithX's Avatar
 
Mar 2006

1D816 Posts
Default

Okay, another piece to the puzzle... This problem seems to be related to the size of the input. If the input is about 596 decimal digits or larger, this binary will silently crash. Here are several examples with the Ecm 6.3 Win64 Core2 MPIR 2.1.1 binary from Jeff's site. You will see those numbers with less than 596 digits always completing. Those over 596 digits always fail. There is one with 596 that finishes and one with 596 that fails. I hope this can help us track down this issue.

Code:
D:\dir>ecm 220000 97000000 < number.txt
GMP-ECM 6.3 [configured with GMP 5.0.1 and --enable-asm-redc] [ECM]
Input number is (5^853-1)/(4*1489354539671) (584 digits)
Using B1=220000, B2=119750412, polynomial Dickson(3), sigma=2228289258
Step 1 took 12922ms
Step 2 took 3984ms

D:\dir>ecm 220000 97000000 < number.txt
GMP-ECM 6.3 [configured with GMP 5.0.1 and --enable-asm-redc] [ECM]
Input number is (5^859-1)/(4*395839975049) (589 digits)
Using B1=220000, B2=119750412, polynomial Dickson(3), sigma=1131407194
Step 1 took 12969ms
Step 2 took 3937ms

D:\dir>ecm 220000 97000000 < number.txt
GMP-ECM 6.3 [configured with GMP 5.0.1 and --enable-asm-redc] [ECM]
Input number is (5^863-1)/(4*5179) (599 digits)
Using B1=220000, B2=119750412, polynomial Dickson(3), sigma=3725603066
Step 1 took 13953ms

D:\dir>ecm 220000 97000000 < number.txt
GMP-ECM 6.3 [configured with GMP 5.0.1 and --enable-asm-redc] [ECM]
Input number is (7^781-1)/(6*1123*293459*990643452963163*16900214506446855676567
6975247413756542145739) (592 digits)
Using B1=220000, B2=119750412, polynomial Dickson(3), sigma=896342154
Step 1 took 12938ms
Step 2 took 3922ms

D:\dir>ecm 220000 97000000 < number.txt
GMP-ECM 6.3 [configured with GMP 5.0.1 and --enable-asm-redc] [ECM]
Input number is (7^799-1)/(6*14009*2767631689*14985914192863*52705064796673*1372
2816749522711*63681511996418550459487) (596 digits)
Using B1=220000, B2=119750412, polynomial Dickson(3), sigma=2035771531
Step 1 took 12969ms
Step 2 took 4000ms

D:\dir>ecm 220000 97000000 < number.txt
GMP-ECM 6.3 [configured with GMP 5.0.1 and --enable-asm-redc] [ECM]
Input number is (14^523-1)/(13) (599 digits)
Using B1=220000, B2=119750412, polynomial Dickson(3), sigma=3878875125
Step 1 took 13985ms

D:\dir>ecm 220000 97000000 < number.txt
GMP-ECM 6.3 [configured with GMP 5.0.1 and --enable-asm-redc] [ECM]
Input number is (14^521-1)/(13) (597 digits)
Using B1=220000, B2=119750412, polynomial Dickson(3), sigma=3694101610
Step 1 took 12906ms

D:\dir>ecm 220000 97000000 < number.txt
GMP-ECM 6.3 [configured with GMP 5.0.1 and --enable-asm-redc] [ECM]
Input number is (31^431-1)/(2*3*5*863*124991*21285367*3105044681*4559973967*1552
37701543) (596 digits)
Using B1=220000, B2=119750412, polynomial Dickson(3), sigma=896239599
Step 1 took 12938ms
WraithX is offline   Reply With Quote