Hello folks, I finally fixed the libSingular vs. OSX 64 bit issue and also created a binary
http://sage.math.washington.edu/home/mabshoff/release-cycles-3.0.2/sage-3.0.2.alpha0-64bit-05-16-i386-Darwin.dmg Caution: 0.5GB due to copious amounts of self build spkgs that I didn't clean out. We have 24 doctest failures currently which can be put into the following categories: a) quaddouble partially broken [some files do not contain symbols, likely a makefile issue] b) notebook broken due to one broken extension c) scipy related import issues [also one extension only it seems] d) libSingular crap fallout with factory [easily fixable] e) numerical noise [only one or two doctests] f) other - which is the worrying and/or interesting kind. I assume with about five, six somewhat non-hard fixes I can get the number of failures down to medium to low single digits. Please do not open tickets yet for any of the issue below - we should do that past 3.0.2[.alphaX] when it becomes clear which issues are open. I had a long day and will catch some zzszs soon, so expect integration work to continue tomorrow. William is fixing Cygwin issues from my list as well as the stuff he is running into, so 3.0.2. should be a giant step toward a revived Cygwin port as well as much better 64 bit OSX support. Cheers, Michael ############################################## The gory details: Notebook broken: sage -t devel/sage/sage/server/simple/twist.py sage -t devel/sage/sage/dsage/tests/testdoc.py sage -t devel/sage/sage/dsage/web/web_server.py gp got very slow once it ate 2.8GB, so I killed it. But it should work: sage -t devel/sage/sage/libs/pari/gen.pyx The fixable ones: sage -t devel/sage/sage/calculus/calculus.py sage -t devel/sage/sage/calculus/wester.py sage -t devel/sage/sage/combinat/partition.py sage -t devel/sage/sage/combinat/partitions.pyx sage -t devel/sage/sage/combinat/sloane_functions.py sage -t devel/sage/sage/functions/constants.py sage -t devel/sage/sage/functions/special.py sage -t devel/sage/sage/functions/transcendental.py sage -t devel/sage/sage/misc/inline_fortran.py sage -t devel/sage/sage/modular/abvar/abvar.py sage -t devel/sage/sage/modular/congroup.py sage -t devel/sage/sage/modular/modsym/ambient.py sage -t devel/sage/sage/numerical/test.py sage -t devel/sage/sage/plot/plot3d/list_plot3d.py sage -t devel/sage/sage/rings/arith.py sage -t devel/sage/sage/rings/integer.pyx sage -t devel/sage/sage/rings/polynomial/ laurent_polynomial.pyx sage -t devel/sage/sage/rings/polynomial/ multi_polynomial_element.py sage -t devel/sage/sage/rings/polynomial/ multi_polynomial_libsingular.pyx bsd:sage-3.0.2.alpha0-64bit mabshoff$ ./sage -t devel/sage/sage/ modular/abvar/abvar.py sage -t devel/sage/sage/modular/abvar/abvar.py ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/abvar.py", line 3069: sage: D = (J0(11)*J1(11)).decomposition(); D Expected: [ Simple abelian subvariety 11a(1,11) of dimension 1 of J0(11) x J1(11), Simple abelian subvariety 11aG1(1,11) of dimension 1 of J0(11) x J1(11) ] Got: [ Simple abelian subvariety 11aG1(1,11) of dimension 1 of J0(11) x J1(11), Simple abelian subvariety 11a(1,11) of dimension 1 of J0(11) x J1(11) ] ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/abvar.py", line 3076: sage: D[0].newform_label() Expected: '11a' Got: '11aG1' ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/abvar.py", line 3078: sage: D[1].newform_label() Expected: '11aG1' Got: '11a' [01:33] <mabshoff> devel/sage/sage/combinat/partition.py is more or less completely broken in 64 bit OSX. [01:33] <mabshoff> "ERROR (dd_real::to_digits): can't compute exponent." [01:34] <wstein> wow. [01:34] <mabshoff> Oops: [01:34] <mabshoff> -rw-r--r-- 1 mabshoff mabshoff 1280 May 16 17:18 f_dd.o [01:34] <mabshoff> -rw-r--r-- 1 mabshoff mabshoff 1280 May 16 17:18 f_qd.o [01:34] <mabshoff> -rw-r--r-- 1 mabshoff mabshoff 3016 May 16 17:18 fpu.o [01:34] <mabshoff> None of the three object files contains *any* symbols. [01:34] <mabshoff> Probably some crap in the makefile. [01:35] <mabshoff> *that* is why I *hate* the stupid OSX linker. [01:35] <mabshoff> Any other linker would have complained at compile time. This also causes trouble with "sage -t devel/sage/sage/rings/ real_rqdf.pyx" sage -t devel/sage/sage/functions/constants.py ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/constants.py", line 1724: sage: RQDF(merten) Expected: 0.261497212847642783755426838608695859051566648261199206192064212 Got: 0.261497212847642783755426838608695859051566648261199206192064213 ********************************************************************** Factor related issues, easy to fix due to some libSingular fixes: sage -t devel/sage/sage/calculus/wester.py sage -t devel/sage/sage/rings/polynomial/multi_polynomial_element.py sage -t devel/sage/sage/rings/polynomial/ multi_polynomial_libsingular.pyx various [i.e. numerical] are relatd to scipy: Symbol not found: _d1mach_ Referenced from: /Users/mabshoff/sage-3.0.2.alpha0-64bit/local/ lib/python/site-packages/scipy/special/_cephes.so Expected in: dynamic lookup bsd:sage-3.0.2.alpha0-64bit mabshoff$ file local/lib/libsingular.dylib local/lib/libsingular.dylib: Mach-O 64-bit dynamically linked shared library x86_64 bsd:sage-3.0.2.alpha0-64bit mabshoff$ file /Users/mabshoff/ sage-3.0.2.alpha0-64bit/local/lib/python2.5/site-packages/scipy/ special/_cephes.so /Users/mabshoff/sage-3.0.2.alpha0-64bit/local/lib/python2.5/site- packages/scipy/special/_cephes.so: Mach-O 64-bit bundle x86_64 bsd:sage-3.0.2.alpha0-64bit mabshoff$ Also: sage -t devel/sage/sage/plot/plot3d/list_plot3d.py Some more trouble: bsd:sage-3.0.2.alpha0-64bit mabshoff$ ./sage -t devel/sage/sage/ modular/congroup.py sage -t devel/sage/sage/modular/congroup.py ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/congroup.py", line 570: sage: list(Gamma0(5).coset_reps()) Expected: [[1, 0, 0, 1], [0, -1, 1, 0], [1, 0, 1, 1], [1, 1, 1, 2], [1, 2, 1, 3], [1, 3, 1, 4]] Got: [[1, 0, 0, 1], [0, -1, 1, 0], [0, -1, 1, 1], [0, -1, 1, 2], [0, -1, 1, 3], [0, -1, 1, 4]] ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/congroup.py", line 577: sage: list(Gamma0(4).coset_reps()) Expected: [[1, 0, 0, 1], [0, -1, 1, 0], [1, 0, 1, 1], [1, 1, 1, 2], [1, 2, 1, 3], [-1, -1, 2, 1]] Got: [[1, 0, 0, 1], [0, -1, 1, 0], [0, -1, 1, 1], [0, -1, 1, 2], [0, -1, 1, 3], [1, 0, 2, 1]] ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/congroup.py", line 598: sage: for g in Gamma0(3).generators(): print g print '---' Expected: [1 1] [0 1] --- [-1 0] [ 0 -1] --- ... --- [-2 1] [-3 1] --- Got: [1 1] [0 1] --- [-1 0] [ 0 -1] --- [-2 -1] [ 3 1] --- [-1 -1] [ 3 2] --- [ 1 0] [-3 1] --- ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/congroup.py", line 832: sage: for g in Gamma1(3).generators(): print g print '---' Expected: [1 1] [0 1] --- [ 31 -14] [ 51 -23] --- [-5 4] [-9 7] --- ... --- [4 3] [9 7] --- [ -5 -2] [-12 -5] --- Got: [1 1] [0 1] --- [-20 9] [ 51 -23] --- [ 4 1] [-9 -2] --- [-5 -2] [ 3 1] --- [-2 -1] [ 3 1] --- [-5 2] [12 -5] --- [ 1 0] [-3 1] --- [ 4 -1] [ 9 -2] --- [ -5 3] [-12 7] --- [1 0] [3 1] --- [ 7 -3] [12 -5] --- [ 4 -1] [ 9 -2] --- [ -5 3] [-12 7] --- ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/congroup.py", line 152: sage: Gamma0(3).gens() Expected: ([1 1] [0 1], [-1 0] [ 0 -1], [ 1 -1] [ 0 1], [ 1 -1] [ 3 -2], [ 2 -1] [ 3 -1], [-2 1] [-3 1]) Got: ([1 1] [0 1], [-1 0] [ 0 -1], [-2 -1] [ 3 1], [-1 -1] [ 3 2], [ 1 0] [-3 1]) ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/congroup.py", line 165: sage: Gamma1(2).gens() Expected: ([1 1] [0 1], [-1 0] [ 0 -1], [ 1 -1] [ 0 1], [ 1 -1] [ 2 -1], [-1 1] [-2 1]) Got: ([1 1] [0 1], [-1 0] [ 0 -1], [-1 -1] [ 2 1], [ 1 0] [-2 1]) ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/congroup.py", line 176: sage: GammaH(3, [2]).gens() Expected: ([1 1] [0 1], [-1 0] [ 0 -1], [ 1 -1] [ 0 1], [ 1 -1] [ 3 -2], [ 2 -1] [ 3 -1], [-2 1] [-3 1]) Got: ([1 1] [0 1], [-1 0] [ 0 -1], [-2 -1] [ 3 1], [-1 -1] [ 3 2], [ 1 0] [-3 1]) ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/congroup.py", line 1083: sage: for g in GammaH(3, [2]).generators(): print g print '---' Expected: [1 1] [0 1] --- [-1 0] [ 0 -1] --- [ 1 -1] [ 0 1] --- [ 1 -1] [ 3 -2] --- [ 2 -1] [ 3 -1] --- [-2 1] [-3 1] --- Got: [1 1] [0 1] --- [-1 0] [ 0 -1] --- [-2 -1] [ 3 1] --- [-1 -1] [ 3 2] --- [ 1 0] [-3 1] --- ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/congroup.py", line 201: sage: Gamma0(20).gen(7) Expected: [17 11] [20 13] Got: [-3 1] [20 -7] ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/congroup.py", line 204: sage: Gamma1(16).gen(5) Expected: [ 1329 -758] [ 3056 -1743] Got: [1329 571] [3056 1313] ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/congroup.py", line 207: sage: GammaH(13, [8]).gen(3) Expected: [ 885 -218] [1157 -285] Got: [-272 67] [1157 -285] ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/congroup.py", line 220: sage: Gamma0(22).ngens() Expected: 42 Got: 40 ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/congroup.py", line 222: sage: Gamma1(14).ngens() Expected: 250 Got: 217 ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/congroup.py", line 224: sage: GammaH(11, [3]).ngens() Expected: 31 Got: 29 ********************************************************************** 7 items had failures: 2 of 4 in __main__.example_22 1 of 2 in __main__.example_23 1 of 2 in __main__.example_35 3 of 5 in __main__.example_4 1 of 2 in __main__.example_44 3 of 5 in __main__.example_5 3 of 5 in __main__.example_6 ***Test Failed*** 14 failures. For whitespace errors, see the file /Users/mabshoff/ sage-3.0.2.alpha0-64bit/tmp/.doctest_congroup.pypython(30183) malloc: *** error for object 0x10702d030: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug python(30183) malloc: *** error for object 0x10702d038: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug python(30183) malloc: *** error for object 0x10702c048: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug python(30183) malloc: *** error for object 0x10702c030: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug [3.9 s] exit code: 1024 ---------------------------------------------------------------------- The following tests failed: sage -t devel/sage/sage/modular/congroup.py Total time for all tests: 3.9 seconds bsd:sage-3.0.2.alpha0-64bit mabshoff$ ./sage -t devel/sage/sage/ modular/modsym/ambient.py sage -t devel/sage/sage/modular/modsym/ambient.py ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/ambient.py", line 449: sage: M.modular_symbol([2/11, oo]) Expected: -{8/9,1} Got: -{-1/9,0} ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/ambient.py", line 451: sage: M.1 Expected: {7/8,1} Got: {-1/8,0} ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/ambient.py", line 453: sage: M.modular_symbol([-1/8, 0]) Expected: {7/8,1} Got: {-1/8,0} ********************************************************************** File "/Users/mabshoff/sage-3.0.2.alpha0-64bit/tmp/ambient.py", line 455: sage: M.modular_symbol([0, -1/8, 0]) Expected: {7/8,1} Got: {-1/8,0} ********************************************************************** 1 items had failures: 4 of 14 in __main__.example_8 ***Test Failed*** 4 failures. For whitespace errors, see the file /Users/mabshoff/ sage-3.0.2.alpha0-64bit/tmp/.doctest_ambient.pypython(30246) malloc: *** error for object 0x107000030: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug python(30246) malloc: *** error for object 0x107000038: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug python(30246) malloc: *** error for object 0x106fff048: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to debug python(30246) malloc: *** error for object 0x106fff030: Non-aligned pointer being freed (2) *** set a breakpoint in malloc_error_break to debug [5.3 s] exit code: 1024 ---------------------------------------------------------------------- The following tests failed: sage -t devel/sage/sage/modular/modsym/ambient.py Total time for all tests: 5.3 seconds bsd:sage-3.0.2.alpha0-64bit mabshoff$ ./sage -t devel/sage/sage/ modular/modsym/ambient.py --~--~---------~--~----~------------~-------~--~----~ 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-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
