20130121, 17:35  #23  
Banned
"Luigi"
Aug 2002
Team Italia
4766_{10} Posts 
Quote:
Having a working executale that was passing all checks was enough for me, but if you need an answer I still have the old environment and can do some tests... Luigi 

20130121, 18:01  #24 
"Nancy"
Aug 2002
Alexandria
2,467 Posts 
I'm relatively sure that is was a case of using different GMP versions during configure tests and when dynamically linking the resulting binary, as WraithX already suggested. This happens fairly often.
I checked and the __gmpn_add_nc() function still has the same signature as in 5.0.x, and still is not in the public interface, so not much should have changed wrt. our use of that function. 
20130127, 11:16  #25 
May 2005
Brutal Police State, UK
2·59 Posts 
I have just compiled ECM6.4.3 with GMP5.1.0, and it completed properly with no errors, but when I ran 'make check' it stopped with the following error, on both Windows XP and Ubuntu 10.04.4
Code:
GMPECM 6.4.3 [configured with GMP 5.1.0] [P1] Input number is 234^997+997^234 (2363 digits) Using B1=100, B2=492, polynomial x^1, x0=1055220884 Step 1 took 15ms Step 2 took 1719ms All P1 tests are ok. echo "" ./test.ecm ./ecm.exe GMPECM 6.4.3 [configured with GMP 5.1.0] [ECM] Input number is 2050449353925555290706354283 (28 digits) Using B1=30, B2=02443992, polynomial x^1, sigma=7 Step 1 took 0ms Step 2 took 47ms ********** Factor found in step 2: 30210181 Found probable prime factor of 8 digits: 30210181 Probable prime cofactor 67872792749091946543 has 20 digits GMPECM 6.4.3 [configured with GMP 5.1.0] [ECM] Input number is 2050449353925555290706354283 (28 digits) Using B1=30, B2=02443992, polynomial x^1, sigma=7 Step 1 took 0ms Step 2 took 47ms ********** Factor found in step 2: 30210181 Found probable prime factor of 8 digits: 30210181 Probable prime cofactor 67872792749091946543 has 20 digits GMPECM 6.4.3 [configured with GMP 5.1.0] [ECM] Input number is 212252637915375215854013140804296246361 (39 digits) Using B1=63421, B2=18227952011822795212, polynomial x^1, sigma=781683988 Step 1 took 204ms Step 2 took 0ms ############### ERROR ############### Expected return code 8 but got 0 make: *** [check] Error 1 
20130127, 13:13  #26 
"Nancy"
Aug 2002
Alexandria
2,467 Posts 
That looks like a bug. Don't use that binary for factoring work, but perhaps keep it around in case I can't reproduce the bug here.

20130127, 21:29  #27 
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 89<O<88
3·29·83 Posts 
The timings for each step are very bizarre compared to the previous nonerrors.

20130127, 21:51  #28 
Oct 2010
191 Posts 
Building gmpecm 6.4.3 with gmp 5.1.0 fails. Compiling works but 'make check' fails. This issue was fixed by Paul Zimmermann at the end of 2012 in the svn trunk.
Code:
[mpmod.c] fix to deal with change of semantics of the internal GMP functions mpn_redc_1 and mpn_redc_2 Last fiddled with by Ralf Recker on 20130127 at 21:57 
20130209, 14:24  #29  
May 2005
Brutal Police State, UK
76_{16} Posts 
Quote:


20130215, 21:57  #30 
Feb 2005
Colorado
2·257 Posts 
I get the exact same error on 'make check' as the previous poster, at the exact same spot, on 2 different machines. This is with GMP 5.1.1 and ECM 6.4.3.
I don't know if the code is OK but it is only a problem with the check, or if I should go to a previous version of GMP, or if I should go to a previous version of ECM, or both. Code:
Input number is 212252637915375215854013140804296246361 (39 digits) Using B1=63421, B2=18227952011822795212, polynomial x^1, sigma=781683988 Step 1 took 204ms Step 2 took 0ms ############### ERROR ############### Expected return code 8 but got 0 make: *** [check] Error 1 Last fiddled with by PhilF on 20130215 at 21:59 
20130217, 01:16  #31 
Feb 2005
Colorado
514_{10} Posts 
I can confirm that installing and using the older GMP 5.0.1 fixed the 'make check' problem I was having.

20130218, 15:20  #32 
Feb 2005
Colorado
2×257 Posts 
I can also confirm that ECM 6.4.3 / GMP 5.1.1 combo compiles and checks fine on a 64bit Core 2 machine w/64bit Debian linux.
The failures I was having was on 32bit P4 machines (Northwood core). 
20130218, 16:33  #33 
"Nancy"
Aug 2002
Alexandria
2,467 Posts 
The bug is due to GMP 5.1.x using a different semantic for __gmp_redc_{12}() functions than GMP 5.0.x and MPIR did, and GMPECM 6.4.{0123} expects the old kind. A GMPECM 6.4.4 release is currently being prepared, which fixes this incompatibility.
Last fiddled with by akruppa on 20130218 at 16:52 Reason: GMP 5.0.x *did* have the functions, with the old semantics 
Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Error Prone Machines  PageFault  Data  17  20120410 01:40 
Scalability of Glucas on large machines: A future //ed prime 95 ?  T.Rex  Software  29  20061213 21:40 
Start and Stop Prime 95 on Large Groups of Windows XP Machines  MarcGetty  Software  3  20060307 07:54 
Putting prime 95 on a large number of machines  moo  Software  10  20041215 13:25 
Team_Prime_Rib errorprone machines  GP2  Data  10  20031005 18:34 