[sage-devel] Re: MPIR failure in Sage on OpenSolaris

2009-07-15 Thread Bill Hart
Yes it is certainly possible the old autotools we use does not know about the new OpenSolaris on x86. It is as you say, an autotools issue. However we can probably hack our configure script. The problem we have with autotools is recent versions just break the build on almost anything but linux. S

[sage-devel] update on the vtk package

2009-07-15 Thread Ondrej Certik
Hi, the updated vtk package that works with python2.6 is here: http://femhub.googlecode.com/files/vtk-cvs-20090316-minimal.p4.spkg the package skips installation on Mac by: # disable the package on darwin for now, as it doesn't build there if [ `uname -s` = Darwin ] ; then echo "This packa

[sage-devel] Re: PIL interface questions

2009-07-15 Thread Ondrej Certik
On Wed, Jul 15, 2009 at 6:54 PM, J Elaych wrote: > > >> >> > I'd like to hear what other people think:  is that factor of 1.5 or >> > 2.0 in speed >> > enough to motivate switching to vips for the default sage imaging >> > library? >> >> Is PIL really the default? I did not know that. >> >> I don'

[sage-devel] Re: PIL interface questions

2009-07-15 Thread J Elaych
> > > I'd like to hear what other people think:  is that factor of 1.5 or > > 2.0 in speed > > enough to motivate switching to vips for the default sage imaging > > library? > > Is PIL really the default? I did not know that. > > I don't mean for my comments to be interpreted for or against PIL.

[sage-devel] how to statically link with python

2009-07-15 Thread Ondrej Certik
Hi, since Sage doesn't ship the python2.6.so, only python2.6.a, I did some studying how to statically link with Python, and since it's not entirely trivial (unless you already know the tricks), am posting here for future reference. It works on linux (the bsd.math seems to be down at the moment, s

[sage-devel] Edge thickness/width in a graph theory graphic

2009-07-15 Thread Rob Beezer
I cannot determine if it is possible to control the thickness/width of an edge of a graph using plot/show. For a graph with approximately 50 vertices, I scale the vertices to be large enough to contain the labels, which are about 4 characters long. Then I scale the whole graphic's size to make t

[sage-devel] Re: MPIR failure in Sage on OpenSolaris

2009-07-15 Thread Dr. David Kirkby
Dr. David Kirkby wrote: > Bill Hart wrote: >> Here is the entire sparc configuration from MPIR: >> >> *sparc*-*-*) >> # sizeof(long)==4 or 8 is tested, to ensure we get the right ABI. >> We've > > > Hi Bill, > > The processor in Thommy's computer is is not SPARC - see the output I > post

[sage-devel] Re: FYI: Sage in a License Debate

2009-07-15 Thread rjf
On Jul 15, 10:14 am, William Stein wrote: > On Wed, Jul 15, 2009 at 9:53 AM, rjf wrote: > > > That blog said "the symbolic math software community has been burned > > in the past by people profiting from proprietary extensions of BSD > > code without attribution or contribution." > > > (the blo

[sage-devel] Re: MPIR failure in Sage on OpenSolaris

2009-07-15 Thread Dr. David Kirkby
Dr. David Kirkby wrote: > Bill Hart wrote: > The error message is clearly generated by the Sun linker too. Although I > don't have my Solaris x86 laptop on, the error message from the linker > is clearly the GNU one. Oops, I mean the error message is NOT from the GNU linker. Dave --~--~--

[sage-devel] Re: MPIR failure in Sage on OpenSolaris

2009-07-15 Thread Dr. David Kirkby
Bill Hart wrote: > Here is the entire sparc configuration from MPIR: > > *sparc*-*-*) > # sizeof(long)==4 or 8 is tested, to ensure we get the right ABI. > We've Hi Bill, The processor in Thommy's computer is is not SPARC - see the output I posted: Host system uname -a: SunOS bigblue 5

[sage-devel] Re: Sage and Singular Talk

2009-07-15 Thread David Joyner
On Wed, Jul 15, 2009 at 7:31 PM, Kiran Kedlaya wrote: > > One pet complaint that you might bring up with the Singular team: I Speaking of pet complaints, can you ask if they will at some point fix the bugs in the Riemann-Roch computations in the Brill-Noether routines? To be honest, I have not c

[sage-devel] Review Requests

2009-07-15 Thread Tom Boothby
I'm about to send out some review requests. I don't know who to assign the following tickets to: Does anybody know/use FreeBSD? bsd #5873 [with patch, needs review] Fix matplotlib build on FreeBSD The following are Debian specific -- any takers? Most of these are very old, and have proba

[sage-devel] Re: Sage and Singular Talk

2009-07-15 Thread Kiran Kedlaya
One pet complaint that you might bring up with the Singular team: I have had trouble using Singular for Groebner basis computations over the rational function field Q(t). Certain computations that Magma handles easily cause Singular to choke up. I posted an example upstream: http://www.singular.u

[sage-devel] sage: There was an error installing modified sage library code.

2009-07-15 Thread Dr. David Kirkby
Anyone got any idea what this error is? I get the same error on 't2' (Sun T5240 16 core machine) as I do on my own Sun Blade 2000. It's also strange it can't find my user name: 'No username found, using 'drkir...@kestrel.drkirkby.co.uk' instead Anyway, has anytong got any thoughts on this? B

[sage-devel] Re: PolyBoRi - can the status be resolved ?

2009-07-15 Thread Dr. David Kirkby
Minh Nguyen wrote: > Hi David, > > On Wed, Jul 15, 2009 at 9:06 PM, Dr. David > Kirkby wrote: > > > > polybori-0.5rc.p9.spkg at > http://sagetrac.org/sage_trac/ticket/6437 > > I'm still reviewing this ticket. I've started rebuilding a fresh copy > of Sage 4.1 from scratch on t2 with t

[sage-devel] Re: MPIR failure in Sage on OpenSolaris

2009-07-15 Thread Bill Hart
Here is the entire sparc configuration from MPIR: *sparc*-*-*) # sizeof(long)==4 or 8 is tested, to ensure we get the right ABI. We've # had various bug reports where users have set CFLAGS for their desired # mode, but not set our ABI. For some reason it's sparc where this # ke

[sage-devel] Re: PIL interface questions

2009-07-15 Thread David Joyner
On Mon, Jul 13, 2009 at 7:09 PM, J Elaych wrote: > > Interesting, but I'm especially impressed by how well PIL stands up > to VIPS.  It looks like vips was primarily designed to have a small > memory > imprint, especially for image files that are larger than physical > memory.  PIL > takes only ab

[sage-devel] Re: Sage and Singular Talk

2009-07-15 Thread gsw
Hi Martin, On 15 Jul., 13:25, Martin Albrecht wrote: > Hi there, > > next week I'll visit the Singular group in Kaiserslautern. As a part of my > visit I will give a talk on Sage. The talk will be focused on topics I assume > to be relevant to the Singular team. > > I have uploaded a draft of my

[sage-devel] Re: Configure error trying to install fricas

2009-07-15 Thread Rob
Hi again. Unfortunately it failed again, but this time with a different error message. Here's what it does now: ... checking for gtar... no checking for tar... tar checking for gpatch... no checking for patch... no configure: error: FriCAS needs a patch program

[sage-devel] Re: [MPFR] MPIR failure in Sage on OpenSolaris

2009-07-15 Thread Dr. David Kirkby
Sorry, the failure is in MPIR not MPFR, so it was dumb of me to send it to the MPFR list, though I suspect some of the developers work on both projects. Dave --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe fr

[sage-devel] Re: [MPFR] MPIR failure in Sage on OpenSolaris

2009-07-15 Thread Dr. David Kirkby
Dr. David Kirkby wrote: > I've noticed this problem with packages output GNU-specific options > directly to the linker on SPARC, but MPIR was not one of the guilty > parties on SPARC. The MPIR build is either broken on OpenSolaris with > the GNU linker, or Sage does something to break it. I s

[sage-devel] Re: PolyBoRi - can the status be resolved ?

2009-07-15 Thread Dr. David Kirkby
Alexander Dreyer wrote: > Hello again, >> I did receive your email, and replied asking what use name you wanted. I >> don't see to have a response to that. > Unfortunately, I did not receive your reply. (Maybe our global > spamfilter > skipped the mails coming via googlemail.) Here's a direct E-M

[sage-devel] Re: PolyBoRi - can the status be resolved ?

2009-07-15 Thread Alexander Dreyer
Hello again, > I did receive your email, and replied asking what use name you wanted. I > don't see to have a response to that. Unfortunately, I did not receive your reply. (Maybe our global spamfilter skipped the mails coming via googlemail.) Here's a direct E-Mail from my account here. > You m

[sage-devel] Re: PolyBoRi - can the status be resolved ?

2009-07-15 Thread Minh Nguyen
Hi David, On Wed, Jul 15, 2009 at 9:06 PM, Dr. David Kirkby wrote: polybori-0.5rc.p9.spkg at http://sagetrac.org/sage_trac/ticket/6437 I'm still reviewing this ticket. I've started rebuilding a fresh copy of Sage 4.1 from scratch on t2 with these updated spkg's: [1] pari-2.3.3.p1.s

[sage-devel] Re: Sage and Singular Talk

2009-07-15 Thread Michael Brickenstein
Hi Martin! This is an example for open culture, to discuss talks in advance in public mailing lists :-). It would become more emotionally, if you use the heart of mathematics for plotting. f=(2*x^2+y^2+z^2-1)^3-(1/10)*x^2*z^3-y^2*z^3 == 0 Regarding the benchmarks with polybori multiplication: w

[sage-devel] Re: Good news about unladen-swallow Python branch

2009-07-15 Thread William Stein
On Tue, Jul 14, 2009 at 5:45 PM, Tim Lahey wrote: > > It looks like the unladen-swallow Python branch > has been making good progress. They now can > pass their test suite of third party packages > (including NumPy and SymPy). > > http://code.google.com/p/unladen-swallow/wiki/Release2009Q2 > > For

[sage-devel] Re: Error compiling Sage on OpenSolaris 2008.11

2009-07-15 Thread Dr. David Kirkby
Thommy M. Malmström wrote: > > Hi David, here's my output from when trying to build Sage on OpenSolaris > 2008.11. Didn't work OOTB... > I'll try some more and get back with results... > > > thom...@bigblue:/pictures/src/sage-4.1$ make > cd spkg && ./install all 2>&1 | tee -a ../install.log >

[sage-devel] small (899 byte) Integer leak

2009-07-15 Thread Robert Miller
When running sage-4.1 doctests under valgrind, I notice that there is a baseline of "definitely lost" blocks for every test run. Something is holding onto/not dereferencing Integers somewhere that gets run every time. The full logs (of running "2+2") are posted here: http://sage.math.washington.

[sage-devel] Re: FYI: Sage in a License Debate

2009-07-15 Thread William Stein
On Wed, Jul 15, 2009 at 10:19 AM, Ondrej Certik wrote: > > On Tue, Jul 14, 2009 at 6:30 PM, William Stein wrote: >> >> On Tue, Jul 14, 2009 at 2:38 PM, Ondrej Certik wrote: >>> >>> On Tue, Jul 14, 2009 at 3:27 PM, Pablo De Napoli wrote: I have left the following comment on the blog... >>

[sage-devel] Redirecting the output of a function in Cython

2009-07-15 Thread Nathann Cohen
Hello !!! I am writing an interface to a C library and I am having trouble with one of its functions... It is writing a lot of text to stdout or stderr ( I do not even know that ! ) and I would like to mute that. I tried this trick I found on a website : #stdout.py import sys,os saveout = sys.s

[sage-devel] Re: FYI: Sage in a License Debate

2009-07-15 Thread John Cremona
I used Macsyma in the early 80s when it was still free (I think the condition was that you had to promise to report a bug if/when you found one, and I did in fact find one in the matrix inversion code!). I then moved to a university with no money or suitable computers at the time Macsyma went comm

[sage-devel] Re: FYI: Sage in a License Debate

2009-07-15 Thread Ondrej Certik
On Tue, Jul 14, 2009 at 6:30 PM, William Stein wrote: > > On Tue, Jul 14, 2009 at 2:38 PM, Ondrej Certik wrote: >> >> On Tue, Jul 14, 2009 at 3:27 PM, Pablo De Napoli wrote: >>> >>> I have left the following comment on the blog... >>> >>> "However, the GPL means that people cannot realistically us

[sage-devel] Re: FYI: Sage in a License Debate

2009-07-15 Thread William Stein
On Wed, Jul 15, 2009 at 9:53 AM, rjf wrote: > > That blog said "the symbolic math software community has been burned > in the past by people profiting from proprietary extensions of BSD > code without attribution or contribution." > > > (the blogger said the Sage people say this). > >  I  don't kn

[sage-devel] Re: FYI: Sage in a License Debate

2009-07-15 Thread rjf
That blog said "the symbolic math software community has been burned in the past by people profiting from proprietary extensions of BSD code without attribution or contribution." (the blogger said the Sage people say this). I don't know if this claim originated at Sage, or if Sage people beli

[sage-devel] Re: Sage and Singular Talk

2009-07-15 Thread Marshall Hampton
On page 28, "imature" should be "immature". On page 46, "montsh" should be "months". On page 47, "test" should be "tests". On page 48, "plattforms" should be "platforms". Cheers, Marshall On Jul 15, 5:25 am, Martin Albrecht wrote: > Hi there, > > next week I'll visit the Singular group in Ka

[sage-devel] Re: PolyBoRi - can the status be resolved ?

2009-07-15 Thread Dr. David Kirkby
Alexander Dreyer wrote: > Hello Dave, > >> The difference is I don't have CC and friends in the path. > I see. It seems, that scons select different compilers for compiling > object files for the use within shared and non-shared libraries. This > effect is new to me, maybe it depends on the versi

[sage-devel] Re: PolyBoRi - can the status be resolved ?

2009-07-15 Thread Minh Nguyen
Hi Alexander, On Wed, Jul 15, 2009 at 11:37 PM, Alexander Dreyer wrote: > For the time being: could you or Minh Nguyen post the output of the > following command line: > > echo "print Environment().Dump()" > dummy.txt ; scons -f dummy.txt; > rm dummy.txt > > (If possible: with and without the

[sage-devel] Re: Sage and Singular Talk

2009-07-15 Thread Jason Grout
Martin Albrecht wrote: > On Wednesday 15 July 2009, Simon King wrote: >> Hi Martin, >> >> On 15 Jul., 13:25, Martin Albrecht >> >> wrote: >>> I have uploaded a draft of my slides to: >>> >>> http://sage.math.washington.edu/home/malb/talks/sage-singular.pdf >> Page 8: Is there really a script "sa

[sage-devel] Re: Sage and Singular Talk

2009-07-15 Thread Martin Albrecht
On Wednesday 15 July 2009, Simon King wrote: > Hi Martin, > > On 15 Jul., 13:25, Martin Albrecht > > wrote: > > I have uploaded a draft of my slides to: > > > > http://sage.math.washington.edu/home/malb/talks/sage-singular.pdf > > Page 8: Is there really a script "sage -spkg"? What is it used fo

[sage-devel] Re: Sage and Singular Talk

2009-07-15 Thread Simon King
Hi Martin, On 15 Jul., 13:25, Martin Albrecht wrote: > I have uploaded a draft of my slides to: > >  http://sage.math.washington.edu/home/malb/talks/sage-singular.pdf Page 8: Is there really a script "sage -spkg"? What is it used for? I only know "sage -pkg". It is good that you also talk abou

[sage-devel] Re: PolyBoRi - can the status be resolved ?

2009-07-15 Thread Alexander Dreyer
Hello Dave, > The difference is I don't have CC and friends in the path. I see. It seems, that scons select different compilers for compiling object files for the use within shared and non-shared libraries. This effect is new to me, maybe it depends on the version of scons. I'll have a look at it

[sage-devel] Re: PolyBoRi - can the status be resolved ?

2009-07-15 Thread Dr. David Kirkby
Minh Nguyen wrote: > Hi David, > > On Wed, Jul 15, 2009 at 9:06 PM, Dr. David > Kirkby wrote: >> Minh Nguyen wrote: >>> Hi David, >>> >>> On Tue, Jul 14, 2009 at 8:16 PM, Dr. David >>> Kirkby wrote: >>> >>> >>> > I'm building Sage 4.1 on t2 at the moment; it has been going on for > hours

[sage-devel] Re: PolyBoRi - can the status be resolved ?

2009-07-15 Thread Dr. David Kirkby
Dr. David Kirkby wrote: > Here's is a summary of what can be seen happening in > > http://sage.math.washington.edu/home/kirkby/Solaris-fixes/logs/solaris-install-log-from-mvngu.log > > 1) Link 655 and 666 show > > "Checking for the operating system and linker, to find appropriate flags > for

[sage-devel] Re: PolyBoRi - can the status be resolved ?

2009-07-15 Thread Minh Nguyen
Hi David, On Wed, Jul 15, 2009 at 9:06 PM, Dr. David Kirkby wrote: > > Minh Nguyen wrote: >> Hi David, >> >> On Tue, Jul 14, 2009 at 8:16 PM, Dr. David >> Kirkby wrote: >> >> >> I'm building Sage 4.1 on t2 at the moment; it has been going on for hours now. This build uses David Kirkby'

[sage-devel] Re: Interactions between Atlas and Numpy

2009-07-15 Thread Dr. David Kirkby
Peter Jeremy wrote: > Whilst attempting to get Sage to work on FreeBSD, I've bumped into an > apparent anomoly between atlas-3.8.3.p5 and numpy-1.3.0.p0. Atlas is > specifically built with threading disabled ('-t 0' passed to configure > in spkg-install-script) but numpy appears to be built with

[sage-devel] Re: PolyBoRi - can the status be resolved ?

2009-07-15 Thread Dr. David Kirkby
Alexander Dreyer wrote: > Hello everybody, >> At the moment, we don't know, why Suns compiler is used for C++, while >> gcc is used for C. > I was just wondering: once somebody said, that Sage uses a patched > version of scons, which gives gcc priority over CC. Maybe that patch > was incomplete (

[sage-devel] Re: PolyBoRi - can the status be resolved ?

2009-07-15 Thread Dr. David Kirkby
Michael Brickenstein wrote: > Hello! > Thanks for your efforts. > The problem is, that for CXX then SUN-compiler was used. > > You can pass the CXX > scons CXX='g++' > > custom.py > CXX='g++' > > At the moment, we don't know, why Suns compiler is used for C++, while > gcc is used for C. > Micha

[sage-devel] Sun studio links / polybori

2009-07-15 Thread Dr. David Kirkby
The Sun Studio compiler on one of the machine (t2) has been installed with links created between the binaries and /usr/bin. This is the default installation method, but those links can be avoided when SunStudio is installed, by deselecting them. Their absence on my home machine, has allowed po

[sage-devel] Re: Sage and Singular Talk

2009-07-15 Thread David Joyner
Looks great as usual. I noticed a mis-spelling on page 46 (search for "April" in your latex file and you'll find it). On Wed, Jul 15, 2009 at 7:25 AM, Martin Albrecht wrote: > > Hi there, > > next week I'll visit the Singular group in Kaiserslautern. As a part of my > visit I will give a talk on

[sage-devel] Sage and Singular Talk

2009-07-15 Thread Martin Albrecht
Hi there, next week I'll visit the Singular group in Kaiserslautern. As a part of my visit I will give a talk on Sage. The talk will be focused on topics I assume to be relevant to the Singular team. I have uploaded a draft of my slides to: http://sage.math.washington.edu/home/malb/talks/s

[sage-devel] Re: PolyBoRi - can the status be resolved ?

2009-07-15 Thread Dr. David Kirkby
Minh Nguyen wrote: > Hi David, > > On Tue, Jul 14, 2009 at 8:16 PM, Dr. David > Kirkby wrote: > > > >>> I'm building Sage 4.1 on t2 at the moment; it has been going on for >>> hours now. This build uses David Kirkby's updated spkgs: >>> >>> polybori-0.5rc.p9.spkg at >>> http://sagetrac.org/sag

[sage-devel] Re: Configure error trying to install fricas

2009-07-15 Thread Rob
> OK, so I'm answering my own question: Ticket #6517 at > > http://trac.sagemath.org/sage_trac/ticket/6517 > > has an updated FriCAS spkg that uses ecl. But the ticket is still > under review. Anyway, you can try downloading that spkg and then > install it. Thank you very much! I've been having

[sage-devel] Re: PolyBoRi - can the status be resolved ?

2009-07-15 Thread Alexander Dreyer
Hello everybody, > At the moment, we don't know, why Suns compiler is used for C++, while > gcc is used for C. I was just wondering: once somebody said, that Sage uses a patched version of scons, which gives gcc priority over CC. Maybe that patch was incomplete (lacks g++?) and that causes the in

[sage-devel] Re: PolyBoRi - can the status be resolved ?

2009-07-15 Thread Michael Brickenstein
Hello! Thanks for your efforts. The problem is, that for CXX then SUN-compiler was used. You can pass the CXX scons CXX='g++' custom.py CXX='g++' At the moment, we don't know, why Suns compiler is used for C++, while gcc is used for C. Michael On 15 Jul., 08:22, Minh Nguyen wrote: > Hi David,