[sage-devel] Optional package requiring recent gcc

2013-05-11 Thread Simon King
Hi! Version 2.1.4 of my optional p_group_cohomology spkg got a positive review a few days ago. Now, I found that it will not correctly build with gcc 4.4.5 (which my university's sysadmins have put on the computer in my office), while it *does* work with Sage's gcc spkg (4.7.2) on the same machine

Re: [sage-devel] Re: Cython and Python signal

2013-05-11 Thread William Stein
On Sat, May 11, 2013 at 8:05 PM, leif wrote: > William Stein wrote: >> >> On Sat, May 11, 2013 at 6:19 PM, Nils Bruin wrote: >>> >>> On May 11, 2:15 pm, Thierry wrote: Hi, it was reported inhttp://ask.sagemath.org/question/2567/kill-the-thread-in-a-long-compu... tha

[sage-devel] Re: Cython and Python signal

2013-05-11 Thread leif
William Stein wrote: On Sat, May 11, 2013 at 6:19 PM, Nils Bruin wrote: On May 11, 2:15 pm, Thierry wrote: Hi, it was reported inhttp://ask.sagemath.org/question/2567/kill-the-thread-in-a-long-compu... that cython seems not to handle Python signals correctly. It-it a feature or should-it be

Re: [sage-devel] Re: Cython and Python signal

2013-05-11 Thread William Stein
On Sat, May 11, 2013 at 6:19 PM, Nils Bruin wrote: > On May 11, 2:15 pm, Thierry wrote: >> Hi, >> >> it was reported >> inhttp://ask.sagemath.org/question/2567/kill-the-thread-in-a-long-compu... >> that cython seems not to handle Python signals correctly. It-it a >> feature or should-it be repor

[sage-devel] Re: Use fork when several algorithms are available.

2013-05-11 Thread mmarco
I see what you mean, and you might be right in this case. But anyways i keep my proposal: do you think that having an algorithm=parallel option for the cases where an optimal tuning heuristic is not possible? I can think on several situations where, even with a good tuning, you can find exceptions

[sage-devel] Re: Cython and Python signal

2013-05-11 Thread Nils Bruin
On May 11, 2:15 pm, Thierry wrote: > Hi, > > it was reported > inhttp://ask.sagemath.org/question/2567/kill-the-thread-in-a-long-compu... > that cython seems not to handle Python signals correctly. It-it a > feature or should-it be reported ? I think it's a feature. There's a lot of code that re

[sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-11 Thread Pong
Thank you all for helping along the way. I got SAGE-5.9 installed finally. It was just a long wait at the stripping unneeded symbols from binaries and libraries... On Saturday, May 11, 2013 11:06:30 AM UTC-7, Pong wrote: > > Thanks. I do still have the prebuild and it passes through the build. >

[sage-devel] Cython and Python signal

2013-05-11 Thread Thierry
Hi, it was reported in http://ask.sagemath.org/question/2567/kill-the-thread-in-a-long-computation that cython seems not to handle Python signals correctly. It-it a feature or should-it be reported ? Ciao, Thierry -- You received this message because you are subscribed to the Google Groups "sa

[sage-devel] Re: recompilation with "sage -clone"

2013-05-11 Thread leif
leif wrote: Eric Gourgoulhon wrote: I confirm this behavior on a fresh install of version 5.9 from the sources: sage -clone triggers the recompilation of the Cython sources. In version 5.8, it did not. Don't know the reason for this... FWIW, it did still work in 5.9.beta2. Probably #13031 [1]

[sage-devel] Re: Changes to element wrapper and matrix group element

2013-05-11 Thread Travis Scrimshaw
Hey Volker, I'll make sure there are either no conflicts or set the dependency. Best, Travis On Friday, May 10, 2013 1:54:19 AM UTC-4, Volker Braun wrote: > > I'd be grateful if any changes to matrix groups would be on top of the > libgap-matrix-group patches at #14014 > > > On Friday, May 1

[sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-11 Thread Pong
Thanks. I do still have the prebuild and it passes through the build. But now it hangs at Creating sage-5.9-x86_64-Linux.tar.gz ... Moving final distribution file to /home/pong/sage-mathematics/src/sage-5.9/dist ==> Entering fakeroot environment... ==> Starting package()... ==> Tidying install..

[sage-devel] Re: recompilation with "sage -clone"

2013-05-11 Thread leif
Eric Gourgoulhon wrote: I confirm this behavior on a fresh install of version 5.9 from the sources: sage -clone triggers the recompilation of the Cython sources. In version 5.8, it did not. Don't know the reason for this... FWIW, it did still work in 5.9.beta2. Probably #13031 [1] (merged into

[sage-devel] Re: recompilation with "sage -clone"

2013-05-11 Thread Eric Gourgoulhon
I confirm this behavior on a fresh install of version 5.9 from the sources: sage -clone triggers the recompilation of the Cython sources. In version 5.8, it did not. Don't know the reason for this... Eric. Le vendredi 10 mai 2013 14:53:27 UTC+2, vdelecroix a écrit : > > Hi, > > It seems that th

[sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-11 Thread arojas
Just change the DOT_SAGE line to point to some dir where you have write permissions, eg /tmp. Sorry, I forgot to warn you about that, but if you still have the build dir around makepkg won't need to rebuild everything again -- You received this message because you are subscribed to the Google G

[sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-11 Thread Pong
Another wierd thing is that, it produces a pkg/ directory with a strange premission setting. d- 2 pong users 4096 May 11 09:05 pkg/ I tried to set it to 755 and it is set to that again when I issue makepkg -i On Saturday, May 11, 2013 2:16:03 AM UTC-7, arojas wrote: > > > > On Sat

[sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-11 Thread Pong
Alright, I see. Thanks. I only didn't know that. I thought PKGBUILDs are available only to those in AUR, since they ask you explicitly whether you want to edit them during installation. We are getting somewhere since I compiles through Singular. However, it then failed at the conway_polynomial

Re: [sage-devel] Re: Solaris [SPARC] Sage 5.9 / ecl issue

2013-05-11 Thread Jean-Pierre Flori
I've build a sage 5.9 binary thing on a Solaris 10/sparc (SUNW,T5140, so ultrasparc t2 i guess) by exporting SAGE_FAT_BINARIES=yes and ./sage --bdist 5.9 (is it the right procedure?) and the result can be found at: http://boxen.math.washington.edu/home/jpflori/sage-5.9-sun4v-SunOS.tar.gz If someo

[sage-devel] Negative Number cannot be raised to fractional power

2013-05-11 Thread manday
I repeatedly run into problems where Sage claims it's not able to evaluate a function. Often, this happens due to a ValueError: negative number cannot be raised to a fractional power which bubbles up from somewhere deep in the call stack. Here is one of those cases summand = summand*( m*( y_i-(

[sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-11 Thread arojas
On Saturday, May 11, 2013 10:33:01 AM UTC+2, Pong wrote: > > The one in community is 5.8 (not 5.9) and isn't it a binary package? > I'm looking at the one from AUR which is 5.10 beta. > > Binary packages also have PKGBUILDs. You can download them, modify them as you need and recompile. Check th

[sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-11 Thread Pong
The one in community is 5.8 (not 5.9) and isn't it a binary package? I'm looking at the one from AUR which is 5.10 beta. On Saturday, May 11, 2013 1:24:26 AM UTC-7, arojas wrote: > > > > On Saturday, May 11, 2013 10:17:52 AM UTC+2, Pong wrote: >> >> Hi arojas, >> >> Which PKGBUILD did you use

[sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-11 Thread arojas
On Saturday, May 11, 2013 10:17:52 AM UTC+2, Pong wrote: > > Hi arojas, > > Which PKGBUILD did you use? Where I search on the arch repo, I only > see SAGE-5.8 (in community) and SAGE-5.10-devel in AUR. > Where I downloaded the source (SAGE-5.9) and fellowed your suggestion by > setting CPP

[sage-devel] Re: Singular fails to build in Sage 5.9

2013-05-11 Thread Pong
Hi arojas, Which PKGBUILD did you use? Where I search on the arch repo, I only see SAGE-5.8 (in community) and SAGE-5.10-devel in AUR. Where I downloaded the source (SAGE-5.9) and fellowed your suggestion by setting CPP to /usr/bin/cpp, I got the exact same error: "bits/c++config.h: No such