[sage-devel] Re: [sage-forum] sage-2.8.8
We recently became aware of the build-problems on OSX. The fixes are included in the next release of CVXOPT (0.9). Joachim On Oct 22, 4:16 pm, William Stein [EMAIL PROTECTED] wrote: On 10/22/07, Hamptonio [EMAIL PROTECTED] wrote: I had the following failure from make test, from devel/sage-main/ sage/numerical/test.py. I'm guessing its from the convoluted history of my fortran installs on that machine (a powerpc apple powerbook): You're right. We added some doctests in test.py to specifically test that all the convex optimization code really got built. Evidently it didn't for you. If you aren't doing convex optimization (viacvxopt) this won't affect you. By the way, I am able to replicate exactly this problem on my powerpc mac test machine. I've opened http://trac.sagemath.org/sage_trac/ticket/969 about this. sage -t devel/sage-main/sage/numerical/test.py ** File test.py, line 4: : fromcvxopt.base import * Exception raised: Traceback (most recent call last): File /Users/mh/sage-2.8.4.1/local/lib/python2.5/doctest.py, line 1212, in __run compileflags, 1) in test.globs File doctest __main__.example_0[0], line 1, in module fromcvxopt.base import *###line 4: : fromcvxopt.base import * ImportError: dlopen(/Users/mh/sage-2.8.4.1/local/lib/python/site- packages/cvxopt/base.so, 2): Symbol not found: __g95_ioparm Referenced from: /Users/mh/sage-2.8.4.1/local/lib/python/site- packages/cvxopt/base.so Expected in: dynamic lookup ** File test.py, line 5: : fromcvxoptimport umfpack Exception raised: Traceback (most recent call last): File /Users/mh/sage-2.8.4.1/local/lib/python2.5/doctest.py, line 1212, in __run compileflags, 1) in test.globs File doctest __main__.example_0[1], line 1, in module fromcvxoptimport umfpack###line 5: : fromcvxoptimport umfpack ImportError: dlopen(/Users/mh/sage-2.8.4.1/local/lib/python/site- packages/cvxopt/umfpack.so, 2): Symbol not found: __g95_st_write_done Referenced from: /Users/mh/sage-2.8.4.1/local/lib/python/site- packages/cvxopt/umfpack.so Expected in: dynamic lookup ** 1 items had failures: 2 of 8 in __main__.example_0 ***Test Failed*** 2 failures. On Oct 21, 3:03 pm, John Cremona [EMAIL PROTECTED] wrote: Successfully upgraded to 2.8.8.1 on linux (Kubuntu 7.04): sage --testall (...) All tests passed! Total time for all tests: 1978.6 seconds John Cremona -- William Stein Associate Professor of Mathematics University of Washingtonhttp://wstein.org --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~--~~~~--~~--~--~---
[sage-devel] Re: [sage-forum] sage-2.8.8
I had the following failure from make test, from devel/sage-main/ sage/numerical/test.py. I'm guessing its from the convoluted history of my fortran installs on that machine (a powerpc apple powerbook): sage -t devel/sage-main/sage/numerical/test.py ** File test.py, line 4: : from cvxopt.base import * Exception raised: Traceback (most recent call last): File /Users/mh/sage-2.8.4.1/local/lib/python2.5/doctest.py, line 1212, in __run compileflags, 1) in test.globs File doctest __main__.example_0[0], line 1, in module from cvxopt.base import *###line 4: : from cvxopt.base import * ImportError: dlopen(/Users/mh/sage-2.8.4.1/local/lib/python/site- packages/cvxopt/base.so, 2): Symbol not found: __g95_ioparm Referenced from: /Users/mh/sage-2.8.4.1/local/lib/python/site- packages/cvxopt/base.so Expected in: dynamic lookup ** File test.py, line 5: : from cvxopt import umfpack Exception raised: Traceback (most recent call last): File /Users/mh/sage-2.8.4.1/local/lib/python2.5/doctest.py, line 1212, in __run compileflags, 1) in test.globs File doctest __main__.example_0[1], line 1, in module from cvxopt import umfpack###line 5: : from cvxopt import umfpack ImportError: dlopen(/Users/mh/sage-2.8.4.1/local/lib/python/site- packages/cvxopt/umfpack.so, 2): Symbol not found: __g95_st_write_done Referenced from: /Users/mh/sage-2.8.4.1/local/lib/python/site- packages/cvxopt/umfpack.so Expected in: dynamic lookup ** 1 items had failures: 2 of 8 in __main__.example_0 ***Test Failed*** 2 failures. On Oct 21, 3:03 pm, John Cremona [EMAIL PROTECTED] wrote: Successfully upgraded to 2.8.8.1 on linux (Kubuntu 7.04): sage --testall (...) All tests passed! Total time for all tests: 1978.6 seconds John Cremona --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~--~~~~--~~--~--~---
[sage-devel] Re: [sage-forum] sage-2.8.8
On 10/22/07, Hamptonio [EMAIL PROTECTED] wrote: I had the following failure from make test, from devel/sage-main/ sage/numerical/test.py. I'm guessing its from the convoluted history of my fortran installs on that machine (a powerpc apple powerbook): You're right. We added some doctests in test.py to specifically test that all the convex optimization code really got built. Evidently it didn't for you. If you aren't doing convex optimization (via cvxopt) this won't affect you. By the way, I am able to replicate exactly this problem on my powerpc mac test machine. I've opened http://trac.sagemath.org/sage_trac/ticket/969 about this. sage -t devel/sage-main/sage/numerical/test.py ** File test.py, line 4: : from cvxopt.base import * Exception raised: Traceback (most recent call last): File /Users/mh/sage-2.8.4.1/local/lib/python2.5/doctest.py, line 1212, in __run compileflags, 1) in test.globs File doctest __main__.example_0[0], line 1, in module from cvxopt.base import *###line 4: : from cvxopt.base import * ImportError: dlopen(/Users/mh/sage-2.8.4.1/local/lib/python/site- packages/cvxopt/base.so, 2): Symbol not found: __g95_ioparm Referenced from: /Users/mh/sage-2.8.4.1/local/lib/python/site- packages/cvxopt/base.so Expected in: dynamic lookup ** File test.py, line 5: : from cvxopt import umfpack Exception raised: Traceback (most recent call last): File /Users/mh/sage-2.8.4.1/local/lib/python2.5/doctest.py, line 1212, in __run compileflags, 1) in test.globs File doctest __main__.example_0[1], line 1, in module from cvxopt import umfpack###line 5: : from cvxopt import umfpack ImportError: dlopen(/Users/mh/sage-2.8.4.1/local/lib/python/site- packages/cvxopt/umfpack.so, 2): Symbol not found: __g95_st_write_done Referenced from: /Users/mh/sage-2.8.4.1/local/lib/python/site- packages/cvxopt/umfpack.so Expected in: dynamic lookup ** 1 items had failures: 2 of 8 in __main__.example_0 ***Test Failed*** 2 failures. On Oct 21, 3:03 pm, John Cremona [EMAIL PROTECTED] wrote: Successfully upgraded to 2.8.8.1 on linux (Kubuntu 7.04): sage --testall (...) All tests passed! Total time for all tests: 1978.6 seconds John Cremona -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~--~~~~--~~--~--~---
[sage-devel] Re: [sage-forum] sage-2.8.8
On 10/21/07, William Stein [EMAIL PROTECTED] wrote: I think I know what's going on. If you install the Gap optional packages, then reset the workspace you get the behavior I see. If you don't install the optional packages you don't. Thus one of the packages changes the print behavior of Gap. Indeed, here it is: gap LoadPackage(hap); Loading HAP 1.7.5gamma ... true gap PolynomialRing(Rationals,2); PolynomialRing(..., [ x, x_2 ]) My solution will be to slightly change gap.py, so it does *not* autoload hap into the workspace, then change the doctests back.Note: In the old gap.py, hap wasn't loaded into the workspace automatically -- I thought this was a mistake, but evidently the reason is because hap slightly modifies how certain things work with gap polynomial rings. Annoying. I believe this is *illegal* (ie, does not conform to GAP package requirements) and have reported it. I'll let you know when I hear more. If needed, I'll create a new gap_packages*.spkg. Sorry about the hassle. OK, I've pushed this out, so hg_sage.pull() will get you the fixed version of gap.py. William On 10/21/07, Jaap Spies [EMAIL PROTECTED] wrote: William Stein wrote: On 10/21/07, Jaap Spies [EMAIL PROTECTED] wrote: There seems to be some typos in the test of gap.py These are not typos. The behavior of gap-4.4.10 changed from that of gap-4.4.9, and the doctests reflect that change. Evidently for some reason your gap didn't get upgraded. Try sage: !gap This is on a fresh install (but dito with the upgrade): GAP4, Version: 4.4.10 of 02-Oct-2007, i686-pc-linux-gnu-gcc gap to see what version of gap you now have. Also, you may need to do sage: gap_reset_workspace() That does not help. Same test failures. Jaap [EMAIL PROTECTED] sage-2.8.8]$ ./sage -t devel/sage-main/sage/interfaces/gap.py sage -t devel/sage-main/sage/interfaces/gap.py ** File gap.py, line 69: sage: R = gap.PolynomialRing('Rationals', 2); R Expected: PolynomialRing(..., [ x, x_2 ]) Got: PolynomialRing(..., [ x_1, x_2 ]) ** File gap.py, line 71: sage: I = R.IndeterminatesOfPolynomialRing(); I Expected: [ x, x_2 ] Got: [ x_1, x_2 ] ** File gap.py, line 86: sage: f = gap(str(g)); f Expected: -x^5+x_2^2 Got: -x_1^5+x_2^2 ** 1 items had failures: 3 of 22 in __main__.example_0 ***Test Failed*** 3 failures. For whitespace errors, see the file .doctest_gap.py [2.4 s] exit code: 256 -- The following tests failed: sage -t devel/sage-main/sage/interfaces/gap.py Total time for all tests: 2.4 seconds [EMAIL PROTECTED] sage-2.8.8]$ -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~--~~~~--~~--~--~---
[sage-devel] Re: [sage-forum] sage-2.8.8
William Stein wrote: Hello, I've released sage-2.8.8. Get it at http://sagemath.org, as usual, or just do sage -upgrade. There seems to be some typos in the test of gap.py Jaap [EMAIL PROTECTED] sage-2.8.8]$ ./sage -t devel/sage-main/sage/interfaces/gap.py sage -t devel/sage-main/sage/interfaces/gap.py ** File gap.py, line 69: sage: R = gap.PolynomialRing('Rationals', 2); R Expected: PolynomialRing(..., [ x, x_2 ]) Got: PolynomialRing(..., [ x_1, x_2 ]) ** File gap.py, line 71: sage: I = R.IndeterminatesOfPolynomialRing(); I Expected: [ x, x_2 ] Got: [ x_1, x_2 ] ** File gap.py, line 86: sage: f = gap(str(g)); f Expected: -x^5+x_2^2 Got: -x_1^5+x_2^2 ** 1 items had failures: 3 of 22 in __main__.example_0 ***Test Failed*** 3 failures. For whitespace errors, see the file .doctest_gap.py [2.4 s] exit code: 256 -- The following tests failed: sage -t devel/sage-main/sage/interfaces/gap.py Total time for all tests: 2.4 seconds [EMAIL PROTECTED] sage-2.8.8]$ --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~--~~~~--~~--~--~---
[sage-devel] Re: [sage-forum] sage-2.8.8
On 10/21/07, Jaap Spies [EMAIL PROTECTED] wrote: William Stein wrote: Hello, I've released sage-2.8.8. Get it at http://sagemath.org, as usual, or just do sage -upgrade. There seems to be some typos in the test of gap.py These are not typos. The behavior of gap-4.4.10 changed from that of gap-4.4.9, and the doctests reflect that change. Evidently for some reason your gap didn't get upgraded. Try sage: !gap to see what version of gap you now have. Also, you may need to do sage: gap_reset_workspace() Jaap [EMAIL PROTECTED] sage-2.8.8]$ ./sage -t devel/sage-main/sage/interfaces/gap.py sage -t devel/sage-main/sage/interfaces/gap.py ** File gap.py, line 69: sage: R = gap.PolynomialRing('Rationals', 2); R Expected: PolynomialRing(..., [ x, x_2 ]) Got: PolynomialRing(..., [ x_1, x_2 ]) ** File gap.py, line 71: sage: I = R.IndeterminatesOfPolynomialRing(); I Expected: [ x, x_2 ] Got: [ x_1, x_2 ] ** File gap.py, line 86: sage: f = gap(str(g)); f Expected: -x^5+x_2^2 Got: -x_1^5+x_2^2 ** 1 items had failures: 3 of 22 in __main__.example_0 ***Test Failed*** 3 failures. For whitespace errors, see the file .doctest_gap.py [2.4 s] exit code: 256 -- The following tests failed: sage -t devel/sage-main/sage/interfaces/gap.py Total time for all tests: 2.4 seconds [EMAIL PROTECTED] sage-2.8.8]$ -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~--~~~~--~~--~--~---
[sage-devel] Re: [sage-forum] sage-2.8.8
On Oct 21, 9:34 am, William Stein [EMAIL PROTECTED] wrote: On 10/21/07, Jaap Spies [EMAIL PROTECTED] wrote: There seems to be some typos in the test of gap.py These are not typos. The behavior of gap-4.4.10 changed from that of gap-4.4.9, and the doctests reflect that change. Evidently for some reason your gap didn't get upgraded. Try sage: !gap to see what version of gap you now have. Actually, I'm seeing the same problems as Jaap. Here are some logs from a sage -gap session. First, from an old install I haven't touched for a couple of weeks: GAP4, Version: 4.4.9 of 6-Nov-2006, x86_64-unknown-linux-gnu-gcc gap PolynomialRing(Rationals, 2); PolynomialRing(..., [ x_1, x_2 ]) Next, from a clean 2.8.8 install: GAP4, Version: 4.4.10 of 02-Oct-2007, i686-pc-linux-gnu-gcc gap PolynomialRing(Rationals, 2); PolynomialRing(..., [ x_1, x_2 ]) As far as I can tell, the behavior of GAP hasn't changed here. (I think we had a miscommunication last night... I was trying to report that the gap.py doctest was failing with the latest code, after you changed the doctest; but I didn't say that clearly.) Carl --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~--~~~~--~~--~--~---
[sage-devel] Re: [sage-forum] sage-2.8.8
William Stein wrote: On 10/21/07, Jaap Spies [EMAIL PROTECTED] wrote: There seems to be some typos in the test of gap.py These are not typos. The behavior of gap-4.4.10 changed from that of gap-4.4.9, and the doctests reflect that change. Evidently for some reason your gap didn't get upgraded. Try sage: !gap This is on a fresh install (but dito with the upgrade): GAP4, Version: 4.4.10 of 02-Oct-2007, i686-pc-linux-gnu-gcc gap to see what version of gap you now have. Also, you may need to do sage: gap_reset_workspace() That does not help. Same test failures. Jaap [EMAIL PROTECTED] sage-2.8.8]$ ./sage -t devel/sage-main/sage/interfaces/gap.py sage -t devel/sage-main/sage/interfaces/gap.py ** File gap.py, line 69: sage: R = gap.PolynomialRing('Rationals', 2); R Expected: PolynomialRing(..., [ x, x_2 ]) Got: PolynomialRing(..., [ x_1, x_2 ]) ** File gap.py, line 71: sage: I = R.IndeterminatesOfPolynomialRing(); I Expected: [ x, x_2 ] Got: [ x_1, x_2 ] ** File gap.py, line 86: sage: f = gap(str(g)); f Expected: -x^5+x_2^2 Got: -x_1^5+x_2^2 ** 1 items had failures: 3 of 22 in __main__.example_0 ***Test Failed*** 3 failures. For whitespace errors, see the file .doctest_gap.py [2.4 s] exit code: 256 -- The following tests failed: sage -t devel/sage-main/sage/interfaces/gap.py Total time for all tests: 2.4 seconds [EMAIL PROTECTED] sage-2.8.8]$ --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~--~~~~--~~--~--~---
[sage-devel] Re: [sage-forum] sage-2.8.8
On Oct 21, 2007, at 10:04 AM, William Stein wrote: I think I know what's going on. If you install the Gap optional packages, then reset the workspace you get the behavior I see. If you don't install the optional packages you don't. Thus one of the packages changes the print behavior of Gap. Indeed, here it is: gap LoadPackage(hap); Loading HAP 1.7.5gamma ... true gap PolynomialRing(Rationals,2); PolynomialRing(..., [ x, x_2 ]) I see the same problem as others have reported, but I have no optional packages installed. If I run 'gap_console()', and then 'LoadPackage(hap);', I get 'failed' as output. 'gap_console()' tells me it's version '4.4.10'. 'gap_reset_workspace ()' seems to have no effect on the results. This is a fresh install (not upgrade) of 2.8.8 on Mac OS X, 10.4.10, Core 2 Duo. Justin -- Justin C. Walker, Curmudgeon-At-Large Institute for the Enhancement of the Director's Income Experience is what you get when you don't get what you want. --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~--~~~~--~~--~--~---
[sage-devel] Re: [sage-forum] sage-2.8.8
On 10/21/07, Justin C. Walker [EMAIL PROTECTED] wrote: gap LoadPackage(hap); Loading HAP 1.7.5gamma ... true gap PolynomialRing(Rationals,2); PolynomialRing(..., [ x, x_2 ]) I see the same problem as others have reported, but I have no optional packages installed. If I run 'gap_console()', and then 'LoadPackage(hap);', I get 'failed' as output. That's because hap is an optional package, and you don't have it installed. 'gap_console()' tells me it's version '4.4.10'. 'gap_reset_workspace ()' seems to have no effect on the results. This is a fresh install (not upgrade) of 2.8.8 on Mac OS X, 10.4.10, Core 2 Duo. Do a sage -upgrade, and all your problems will be solved. William --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~--~~~~--~~--~--~---
[sage-devel] Re: [sage-forum] sage-2.8.8
On Oct 21, 10:36 am, Justin C. Walker [EMAIL PROTECTED] wrote: I see the same problem as others have reported, but I have no optional packages installed. If I run 'gap_console()', and then 'LoadPackage(hap);', I get 'failed' as output. Yes, that's as expected. For 2.8.8, William (accidentally) made it so that the interface/gap.py doctests require the GAP optional packages. So they worked for him (because he had the optional packages), but not for most other people. This has been fixed in 2.8.8.1 (just released a few minutes ago). So you can do sage -upgrade to get the fixed version. Or you can just do: sage: hg_sage.pull() followed by sage -b, and that should be a slightly faster way to get the same fix. Carl --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~--~~~~--~~--~--~---
[sage-devel] Re: [sage-forum] sage-2.8.8
Successfully upgraded to 2.8.8.1 on linux (Kubuntu 7.04): sage --testall (...) All tests passed! Total time for all tests: 1978.6 seconds John Cremona --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~--~~~~--~~--~--~---