Re: [sage-devel] Spkg and optional arguments when installing them

2010-01-30 Thread William Stein
On Sat, Jan 30, 2010 at 11:10 PM, Nathann Cohen wrote: > Hello everybody !!! > > I have a working version of the Coin package which enables me to use > the CPLEX through Sage (this package contains code that makes > interfacing Sage and Cplex much easier). This is great for me, and I > would now l

[sage-devel] Spkg and optional arguments when installing them

2010-01-30 Thread Nathann Cohen
Hello everybody !!! I have a working version of the Coin package which enables me to use the CPLEX through Sage (this package contains code that makes interfacing Sage and Cplex much easier). This is great for me, and I would now like to send the corresponding patch, but this work by adding option

[sage-devel] http://linux.slashdot.org/story/10/01/30/2355206/7-of-the-Best-Free-Linux-Calculators?art_pos=4

2010-01-30 Thread William Stein
Hi, I just checked slashdot, and Sage is getting mentioned a few times in the discussion about this thing that just popped up: http://linux.slashdot.org/story/10/01/30/2355206/7-of-the-Best-Free-Linux-Calculators?art_pos=4 William -- William Stein Associate Professor of Mathematics Universi

Re: [sage-devel] Re: Question about set() in Python on different platforms

2010-01-30 Thread William Stein
On Sat, Jan 30, 2010 at 10:23 PM, Dima Pasechnik wrote: > On Jan 30, 1:35 pm, John H Palmieri wrote: >> On Jan 29, 8:46 pm, Dima Pasechnik wrote: >> >> > it shows, by the way, that idea to use set() (or Set()) to remedy >> > differences in docstrings with >> > the output of randomised procedures

Re: [sage-devel] Should SSL support be checked in 'prereq' ?

2010-01-30 Thread William Stein
On Sat, Jan 30, 2010 at 10:16 PM, Dr. David Kirkby wrote: > Starting to build Sage, then finding the python builds, but finds to find > the hashlib module is a bit irritating. There is is a specific test for this > in spkg-install. > > > - > # Make sure sufficient crypto su

Re: [sage-devel] Re: #8044: Categories for finite/permutation/symmetric groups

2010-01-30 Thread David Joyner
On Sat, Jan 30, 2010 at 7:22 PM, Nicolas M. Thiery wrote: > On Sat, Jan 30, 2010 at 12:59:02AM +0100, Nicolas M. Thiery wrote: >> Pushed by an example of Sébastien, I just worked a bit further to make >> matrix groups use categories. In particular: >> >>       sage: G = GL(2,GF(3)) >>       sage:

Re: [sage-devel] Sage Web Service / UI

2010-01-30 Thread David Joyner
On Sat, Jan 30, 2010 at 6:10 PM, Ivan Andrus wrote: > On Jan 30, 2010, at 2:17 PM, David Joyner wrote: ... >>> http://math.byu.edu/~gvol/files/fluidium_app-0.1.spkg >>> >> >> This doesn't work either (imac, 10.6.2). > > Hmm.  It worked for me. > > It wasn't the same problem was it?  Perhaps ther

Re: [sage-devel] Re: #8044: Categories for finite/permutation/symmetric groups

2010-01-30 Thread Nicolas M. Thiery
On Sat, Jan 30, 2010 at 12:59:02AM +0100, Nicolas M. Thiery wrote: > Pushed by an example of Sébastien, I just worked a bit further to make > matrix groups use categories. In particular: > > sage: G = GL(2,GF(3)) > sage: G.category() > Category of finite groups > sage: G.ca

Re: [sage-devel] Sage Web Service / UI

2010-01-30 Thread Ivan Andrus
On Jan 30, 2010, at 2:17 PM, David Joyner wrote: > On Sat, Jan 30, 2010 at 4:58 AM, Ivan Andrus wrote: >> On Jan 30, 2010, at 2:38 AM, William Stein wrote: > >>> The person making the spkg made it incorrectly. >>> Put the relevant sources in a directory of the form >>> >>> package_n

[sage-devel] GNU coreutils installed on 't2'

2010-01-30 Thread Dr. David Kirkby
I've installed the GNU coreutils on 't2' at: /usr/local/coreutils-8.4/ mainly so we can get the GNU version of the 'cp' command, as that should allow './sage -bdist to work.'. /usr/local/coreutils-8.4/bin/cp A longer term solution would be to sort out bdist so it is more portable, but for

Re: [sage-devel] Does gcc 4.4.3 present problems building Sage ?

2010-01-30 Thread Dr. David Kirkby
Dr. David Kirkby wrote: Alex Ghitza wrote: On Sat, 30 Jan 2010 12:16:18 -0800 (PST), Dr David Kirkby wrote: A new gcc was released a couple of weeks ago. There are two reports on sage-support of people who have built sage before, but find after upgrading gcc to the latest version, the build fa

Re: [sage-devel] Does gcc 4.4.3 present problems building Sage ?

2010-01-30 Thread Dr. David Kirkby
Alex Ghitza wrote: On Sat, 30 Jan 2010 12:16:18 -0800 (PST), Dr David Kirkby wrote: A new gcc was released a couple of weeks ago. There are two reports on sage-support of people who have built sage before, but find after upgrading gcc to the latest version, the build fails. I am confused. C

[sage-devel] tickets needing review: 144

2010-01-30 Thread William Stein
Hello, There are currently 144 tickets that need review: http://trac.sagemath.org/sage_trac/report/10 I think this might be nearly the most behind we have ever been.So if you want to review a ticket to help out the Sage project today, please do. William -- William Stein Associate

Re: [sage-devel] Does gcc 4.4.3 present problems building Sage ?

2010-01-30 Thread Alex Ghitza
On Sat, 30 Jan 2010 12:16:18 -0800 (PST), Dr David Kirkby wrote: > A new gcc was released a couple of weeks ago. There are two reports on > sage-support of people who have built sage before, but find after > upgrading gcc to the latest version, the build fails. I am confused. Can you point to t

[sage-devel] Does gcc 4.4.3 present problems building Sage ?

2010-01-30 Thread Dr David Kirkby
A new gcc was released a couple of weeks ago. There are two reports on sage-support of people who have built sage before, but find after upgrading gcc to the latest version, the build fails. Has anyone else had this problem? Does Sage build at all with the latest gcc? Dave -- To post to this

Re: [sage-devel] Re: Sage 4.3.0.1.alpha0 released for SPARC Solaris 10 (t2.math with GCC)

2010-01-30 Thread Minh Nguyen
Hi David, On Sun, Jan 31, 2010 at 7:06 AM, Dr David Kirkby wrote: > Given you have already created a 4.3.0.1 release, > which works, should this not have been called 4.3.0.2.alpha0 ? The > fact this is an alpha implies it is going backwards. To borrow a phrase by Homer Simpson [1]: D'oh! Sorr

[sage-devel] Re: Sage 4.3.0.1.alpha0 released for SPARC Solaris 10 (t2.math with GCC)

2010-01-30 Thread Dr David Kirkby
On Jan 30, 7:43 pm, Minh Nguyen wrote: > Hi folks, > > I happy to announce that Sage 4.3.0.1.alpha0 successfully builds on > t2.math. This alpha release is based on Sage 4.3 and merged tickets in > the following order: > > #6425, #6772, #7799, #7775, #7772, #6595 > > Unfortunately, I wasn't able

[sage-devel] c++ question related to porting sage to Open Solaris

2010-01-30 Thread Jaap Spies
Hi c++ experts, My C++ is a little bit rusty, so I'll ask here. Building matplotlib, pynac, scipy and scipysandbox fail in the end with /usr/local/gcc-4.4.2/lib/gcc/i386-pc-solaris2.11/4.4.2/../../../../include/c++/4.4.2/bits/char_traits.h: In static member function ‘static int std::char_trai

[sage-devel] Sage 4.3.0.1.alpha0 released for SPARC Solaris 10 (t2.math with GCC)

2010-01-30 Thread Minh Nguyen
Hi folks, I happy to announce that Sage 4.3.0.1.alpha0 successfully builds on t2.math. This alpha release is based on Sage 4.3 and merged tickets in the following order: #6425, #6772, #7799, #7775, #7772, #6595 Unfortunately, I wasn't able to produce a binary distribution using the command "sage

[sage-devel] Llvm compilation of sage

2010-01-30 Thread Joshua Herman
Has anyone tried to compile all that is compileable for sage on llv, -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/grou

Re: [mpir-devel] Re: [sage-devel] Re: MPIR 1.3.0 released (at last)

2010-01-30 Thread William Stein
On Sat, Jan 30, 2010 at 10:49 AM, Nick Alexander wrote: >> Building Sage on HP-UX is just going to cause an immense amount of >> grief for a whole load of Sage developers. Why force hundreds of >> people to work to support a substandard compiler on a system no one is >> ever going to use Sage on,

Re: [sage-devel] better way of distributing sagemath for debian/ubuntu

2010-01-30 Thread Robert Bradshaw
On Jan 30, 2010, at 7:50 AM, akasaka...@googlemail.com wrote: I'm using sagemath now for about 6 month at ubuntu linux and i would like to make a suggestion. Because sagemath has so many dependencies to all the other math-packages I think it is not practicable to create debian packages. I just c

[sage-devel] Re: Upgrading networkx - unpickling issue

2010-01-30 Thread Greg McWhirter
I posted a solution to the Trac ticket (7608) that is somewhat different. The solution I posted probably isn't ideal, but it works. I'd love to figure out a cleaner one. The real trouble wasn't in determining between Graphs and DiGraphs, but rather it was around multiedges or not. For instance, ne

Re: [mpir-devel] Re: [sage-devel] Re: MPIR 1.3.0 released (at last)

2010-01-30 Thread Nick Alexander
Building Sage on HP-UX is just going to cause an immense amount of grief for a whole load of Sage developers. Why force hundreds of people to work to support a substandard compiler on a system no one is ever going to use Sage on, just so you can catch a few hidden bugs, when we have hundreds of re

[sage-devel] better way of distributing sagemath for debian/ubuntu

2010-01-30 Thread akasaka...@googlemail.com
I'm using sagemath now for about 6 month at ubuntu linux and i would like to make a suggestion. Because sagemath has so many dependencies to all the other math-packages I think it is not practicable to create debian packages. I just compiled everything into /usr/loca/sage-x.y.z folder as everybody

[sage-devel] Re: MPIR 1.3.0 released (at last)

2010-01-30 Thread Bill Hart
I found another Ultrasparc2 which is set up correctly (same linux), and the MPIR C++ tests pass no problems. So this confirms my belief that gcc54 was just set up wrongly. I'm going to close the longstanding ticket we have open for that, and I'll just build on the other machine I have found, in fu

[sage-devel] revolution_plot3d

2010-01-30 Thread Oscar Gerardo Lazo Arjona
I've just added a patch for this one! Perhaps you could review? http://trac.sagemath.org/sage_trac/ticket/7889 thanks! Oscar -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more

Re: [sage-devel] Re: MPIR 1.3.0 released (at last)

2010-01-30 Thread Bill Hart
On Jan 30, 12:24 pm, Bill Hart wrote: > If you don't believe me, find me even a single library which has a > make check that uses libtool wrappers for the test programs that > passes make check on Solaris 64 bit on t2. Wait, that should have said: If you don't believe me, find me even a single

Re: [sage-devel] sage-mode and indentation

2010-01-30 Thread Nicolas M. Thiery
On Sat, Jan 23, 2010 at 11:09:24AM -0800, Nick Alexander wrote: > Hmm. I am uneasy about having a mode force settings that are really > user configurable, but there is an argument to be made for ensuring > the sage conventions are default. Yup; since anyway we do enforce this convention, it's jus

Re: [sage-devel] Re: Upgrading networkx - unpickling issue

2010-01-30 Thread Nicolas M. Thiery
Dear Greg, dear Franco, Short summary for the Sage-Combinat devs: Greg is upgrading networkx to 1.0 in Sage, and this is causing some unpickling issues for dynkin diagrams, crystals, posets, ... Short of any good solution, I think we do not have (yet) any important pickle of crystals or

Re: [sage-devel] Sage Web Service / UI

2010-01-30 Thread David Joyner
On Sat, Jan 30, 2010 at 4:58 AM, Ivan Andrus wrote: > On Jan 30, 2010, at 2:38 AM, William Stein wrote: ... >> >> The person making the spkg made it incorrectly. >> Put the relevant sources in a directory of the form >> >>              package_name-version_number >> >> then type >> >>    sage -p

Re: [sage-devel] Sage 4.3.0.1 released for SPARC Solaris 10 with GCC

2010-01-30 Thread Minh Nguyen
Hi David, On Sat, Jan 30, 2010 at 7:35 PM, Dr. David Kirkby wrote: > Minh, that link is now broken. See this link: http://sage.math.washington.edu/home/mvngu/sage-src/sage-4.3.0.1/sage-4.3.0.1.tar > Can we detail the fact Sage now builds on Solaris (SPARC) at > > http://www.sagemath.org/ >

Re: [mpir-devel] Re: [sage-devel] Re: MPIR 1.3.0 released (at last)

2010-01-30 Thread Bill Hart
2010/1/30 Dr. David Kirkby : > BTW, a 64-bit build of mpir 1.3.0 on an HP-C3600, running HP-UX 11.11B, > results in the results shown below. This is with a PA-RISC processor - I do > not have access to any of the newer Itanium machines. > > This is really good news, as an HP-UX port of Sage seems

Re: [mpir-devel] Re: [sage-devel] Re: MPIR 1.3.0 released (at last)

2010-01-30 Thread Bill Hart
If you don't want to change LD_LIBRARY_PATH, change LD_LIBRARY_PATH_64 as I explained. It's this simple: 1) GCC NEEDS** complicated binaries to link against libgcc (read the supplied references online or google it yourself) 2) Thus the linker NEEDS*** the path to the 64 bit libgc

Re: [mpir-devel] Re: [sage-devel] Re: MPIR 1.3.0 released (at last)

2010-01-30 Thread Bill Hart
Sorry, I pressed send before sanitising. I didn't intend to post the expletives. Apologies for any offence. I am just a bit frustrated at the moment, probably for reasons that have nothing to do with this conversation, sorry. Bill. 2010/1/30 Bill Hart : > 2010/1/30 Dr. David Kirkby : >> Bill Har

Re: [mpir-devel] Re: [sage-devel] Re: MPIR 1.3.0 released (at last)

2010-01-30 Thread Bill Hart
2010/1/30 Dr. David Kirkby : > Bill Hart wrote: >> >> Cause of what David? MPIR 1.3.0 works absolutely fine on t2 if you set >> the library paths correctly. > > I'm not convinced it should be necessary to set LD_LIBRARY_PATH like that. > It is not with other 64-bit applications. But I may be mistak

Re: [sage-devel] Re: MPIR 1.3.0 released (at last)

2010-01-30 Thread Dr. David Kirkby
Bill Hart wrote: Cause of what David? MPIR 1.3.0 works absolutely fine on t2 if you set the library paths correctly. I'm not convinced it should be necessary to set LD_LIBRARY_PATH like that. It is not with other 64-bit applications. But I may be mistaken BTW, a 64-bit build of mpir 1.3.0 on

[sage-devel] Re: MPIR 1.3.0 released (at last)

2010-01-30 Thread Bill Hart
Cause of what David? MPIR 1.3.0 works absolutely fine on t2 if you set the library paths correctly. On Jan 30, 3:28 am, David Kirkby wrote: > On 30 January 2010 01:03, François Bissey wrote: > > > > > > > Hi Bill, > > It is a bit more subtle than that, it should work most of the time. The main >

Re: [sage-devel] Re: MPIR 1.3.0 released (at last)

2010-01-30 Thread Dr. David Kirkby
François Bissey wrote: On Sat, 30 Jan 2010 16:28:04 David Kirkby wrote: I will however test this out later today (within the next 12 hours) on the Sun Blade 2000 I own. That will at least enable us to determine if it is the hardening in Solaris on SPARC which is causing this. The fact this has b

Re: [sage-devel] Re: Should sage-env exit if CFLAGS is set ?

2010-01-30 Thread Dag Sverre Seljebotn
Robert Bradshaw wrote: On Jan 29, 2010, at 2:59 PM, Jaap Spies wrote: Robert Bradshaw wrote: On Jan 29, 2010, at 1:52 PM, Jaap Spies wrote: Quite a few spkg-install are a simply: python setup.py install. They fail on Open Solaris x64 if CFLAGS does not include -m64. There's nothing special

Re: [sage-devel] Sage Web Service / UI

2010-01-30 Thread Ivan Andrus
On Jan 30, 2010, at 2:38 AM, William Stein wrote: > On Fri, Jan 29, 2010 at 5:22 PM, David Joyner wrote: >> sage -i /Users/wdj/sagefiles/fluidium-app.spkg >> >> gave >> >> (lots of lines deleted) >> >> x fluidium-spkg/.hg/store/data/spkg-install.i > > The person making the spkg made it incorrec

[sage-devel] Notes on building Sage on 't2'

2010-01-30 Thread Dr. David Kirkby
I wrote some notes about building Sage on 't2'. The details are here http://wiki.sagemath.org/devel/Building-Sage-on-the-T5240-t2 The only thing I am lacking is a URL for you to download the 4.3.0.1 source code, as that is the only version which will build now. I've got a copy here, but I can'

Re: [sage-devel] Sage 4.3.0.1 released for SPARC Solaris 10 with GCC

2010-01-30 Thread Dr. David Kirkby
Minh Nguyen wrote: Hi David, On Thu, Jan 28, 2010 at 10:05 PM, Dr. David Kirkby wrote: That will not work. I tried to build Sage 4.3.1.alpha1 and it failed on my home machine. I think sage 4.3 with http://trac.sagemath.org/sage_trac/ticket/8088 Do you mean ticket #6595? http://trac.sage