#7284: create an optional gmp spkg
---------------------------+------------------------------------------------
   Reporter:  was          |       Owner:  mabshoff    
       Type:  enhancement  |      Status:  needs_review
   Priority:  major        |   Milestone:  sage-4.3    
  Component:  packages     |    Keywords:              
Work_issues:               |      Author:              
   Reviewer:               |      Merged:              
---------------------------+------------------------------------------------

Comment(by myurko):

 Replying to [comment:4 was]:
 > NEW VERSION with proper SAGE_FAT_BINARY support:
 >
 >    http://sage.math.washington.edu/home/wstein/patches/mpir-
 gmp-4.3.1.p1.spkg

 I finished the doctests on sage.math and I got hte following failiures:

 sage -t  devel/sage-main/sage/tests/book_stein_modform.py
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-
 main/sage/tests/book_stein_modform.py", line 70:
     sage: M.basis()
 Expected:
     ({Infinity, 0}, {-1/8, 0}, {-1/9, 0})
 Got:
     ({Infinity, 0}, {7/8, 1}, {8/9, 1})
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-
 main/sage/tests/book_stein_modform.py", line 73:
     sage: S.integral_basis()     # basis over ZZ.
 Expected:
     ({-1/8, 0}, {-1/9, 0})
 Got:
     ({7/8, 1}, {8/9, 1})
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-
 main/sage/tests/book_stein_modform.py", line 94:
     sage: [x.lift_to_sl2z(2) for x in M.manin_generators()]
 Expected:
     [[1, 0, 0, 1], [0, -1, 1, 0], [0, -1, 1, 1]]
 Got:
     [[1, 0, 0, 1], [0, -1, 1, 0], [1, 0, 1, 1]]
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-
 main/sage/tests/book_stein_modform.py", line 114:
     sage: [x.modular_symbol_rep() for x in M.basis()]
 Expected:
     [{Infinity, 0}, {0, 1/3}, {-1/2, -1/3}]
 Got:
     [{Infinity, 0}, {-1, -2/3}, {-1/2, -1/3}]
 **********************************************************************
 1 items had failures:
    4 of 241 in __main__.example_1
 ***Test Failed*** 4 failures.

 sage -t  devel/sage-main/sage/tests/book_stein_ent.py
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-main/sage/tests/book_stein_ent.py",
 line 82:
     sage: CRT(2,3, 3, 5)
 Expected:
     8
 Got:
     -7
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-main/sage/tests/book_stein_ent.py",
 line 86:
     sage: xgcd(5,7)
 Expected:
     (1, 3, -2)
 Got:
     (1, -4, 3)
 **********************************************************************
 1 items had failures:
    2 of 263 in __main__.example_1
 ***Test Failed*** 2 failures.

 sage -t  devel/sage-main/sage/rings/integer.pyx
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-main/sage/rings/integer.pyx", line
 4429:
     sage: Integer(5)._xgcd(7)
 Expected:
     (1, 3, -2)
 Got:
     (1, -4, 3)
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-main/sage/rings/integer.pyx", line
 4441:
     sage: Integer(3)._xgcd(21)
 Expected:
     (3, 1, 0)
 Got:
     (3, -20, 3)
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-main/sage/rings/integer.pyx", line
 4443:
     sage: Integer(3)._xgcd(24)
 Expected:
     (3, 1, 0)
 Got:
     (3, -15, 2)
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-main/sage/rings/integer.pyx", line
 4445:
     sage: Integer(3)._xgcd(48)
 Expected:
     (3, 1, 0)
 Got:
     (3, -15, 1)
 **********************************************************************
 1 items had failures:
    4 of  20 in __main__.example_110
 ***Test Failed*** 4 failures.

 sage -t  devel/sage-main/sage/rings/arith.py
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-main/sage/rings/arith.py", line 1450:
     sage: g, a, b = xgcd(5/1, 7/1); g, a, b
 Expected:
     (1, 3, -2)
 Got:
     (1, -4, 3)
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-main/sage/rings/arith.py", line 2423:
     sage: crt(2, 1, 3, 5)
 Expected:
     -4
 Got:
     11
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-main/sage/rings/arith.py", line 2430:
     sage: c = CRT(2,3, 3, 5); c
 Expected:
     8
 Got:
     -7
 **********************************************************************
 2 items had failures:
    1 of  13 in __main__.example_29
    2 of   7 in __main__.example_53
 ***Test Failed*** 3 failures.

 sage -t  devel/sage-main/sage/rings/polynomial/multi_polynomial_ideal.py
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-
 main/sage/rings/polynomial/multi_polynomial_ideal.py", line 170:
     sage: I.groebner_basis()
 Expected:
     [-x - y - z, -y^2 - 3*y + z^2 + 3, -y*z + 14329*y + 6653454247350,
      2*y - 1199*z^3 + 74229*z^2 + 31017*z + 106019, -23*z^3 +
 953554642851*z + 2034,
      19*z^2 + 5357048579, 2*z - 1339262138, 164878]
 Got:
     [-x - y - z, -y^2 - 3*y + z^2 + 3, -y*z - 53843*y + 241331785122306,
 2*y - 10951*z^3 + 8073353678595417*z - 1769770, 23*z^3 + 2623*z^2 + 1109*z
 + 3717, 19*z^2 - 51715800877, 2*z + 12928950226, 164878]
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-
 main/sage/rings/polynomial/multi_polynomial_ideal.py", line 2493:
     sage: I.groebner_basis()
 Expected:
     [-b^3 + 23*b*c^2 - 3*b^2 - 5*b*c,
      2*b*c^2 - 6*c^3 - b^2 - b*c + 2*c^2,
      42*c^3 + 5*b^2 + 4*b*c - 14*c^2,
      2*b^2 + 6*b*c + 6*c^2 - b - 2*c,
      -10*b*c - 12*c^2 + b + 4*c,
      a + 2*b + 2*c - 1]
 Got:
     [-b^3 + 251*b*c^2 + 282*c^3 - 21*b*c - 88*c^2 - b - 2*c, -2*b*c^2 -
 36*c^3 - b*c + 12*c^2 - b, 42*c^3 + 5*b^2 + 4*b*c - 14*c^2, 2*b^2 + 6*b*c
 + 6*c^2 - b - 2*c, -10*b*c - 12*c^2 + b + 4*c, a + 2*b + 2*c - 1]
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-
 main/sage/rings/polynomial/multi_polynomial_ideal.py", line 2514:
     sage: I.groebner_basis()
 Expected:
     [b*c^2 + 992*b*c + 712*c^2 + 332*b + 96*c,
      2*c^3 + 589*b*c + 862*c^2 + 762*b + 268*c,
      b^2 + 438*b*c + 281*b,
      5*b*c + 156*c^2 + 112*b + 948*c,
      50*c^2 + 600*b + 650*c, a + 2*b + 2*c + 999, 125*b]
 Got:
     [b*c^2 + 492*b*c + 312*c^2 + 32*b + 896*c, 2*c^3 + 339*b*c + 762*c^2 +
 312*b + 968*c, b^2 + 438*b*c + 281*b, 5*b*c + 306*c^2 + 912*b + 898*c,
 50*c^2 + 600*b + 650*c, a + 2*b + 2*c + 999, 125*b]
 **********************************************************************
 2 items had failures:
    1 of  59 in __main__.example_0
    2 of  43 in __main__.example_48
 ***Test Failed*** 3 failures.

 sage -t  devel/sage-main/sage/rings/polynomial/toy_d_basis.py
 **********************************************************************
 File "/home/myurko/sage-c/devel/sage-
 main/sage/rings/polynomial/toy_d_basis.py", line 175:
     sage: gpol(f,g)
 Expected:
     x^2*y - y
 Got:
     x^2*y - x*z + y
 **********************************************************************
 1 items had failures:
    1 of   7 in __main__.example_2
 ***Test Failed*** 1 failures.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7284#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to