[sage-combinat-devel] Set, sequence and multiset of combinatorial object

2013-05-11 Thread Jean-Baptiste Priez
Hello, I would like to know if there exists a factory or something to build automatically set, sequence or multi set of combinatorial classes. If I am not clear, we have *rooted trees* then it seems natural to have *forest of rooted trees* (may be there exists and I am interested)... so we

[sage-combinat-devel] Re: Set, sequence and multiset of combinatorial object

2013-05-11 Thread Jean-Baptiste Priez
ps: I know Florent has made a *SetFactory* but it is not what I ask. (I think to something like *sage: Seq(Permutations())*.) Le samedi 11 mai 2013 09:04:55 UTC+2, Jean-Baptiste Priez a écrit : Hello, I would like to know if there exists a factory or something to build automatically set,

Re: [sage-combinat-devel] Set, sequence and multiset of combinatorial object

2013-05-11 Thread Nicolas M. Thiery
Hi Jean-Baptiste, On Sat, May 11, 2013 at 12:04:55AM -0700, Jean-Baptiste Priez wrote: More generally, there exists a factory which creates a combinatorial classe from a grammar? That's precisely what species are about. I am not sure whether the current implementation supports

[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

[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 to

[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? Where 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 the

[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-(

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

[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

[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

[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

[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 the

[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

[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: 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 10,

[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

[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

[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] Re: Cython and Python signal

2013-05-11 Thread Nils Bruin
On May 11, 2:15 pm, Thierry sage-googlesu...@lma.metelu.net 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.

[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

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 nbr...@sfu.ca wrote: On May 11, 2:15 pm, Thierry sage-googlesu...@lma.metelu.net 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

[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 nbr...@sfu.ca wrote: On May 11, 2:15 pm, Thierry sage-googlesu...@lma.metelu.net 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

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

2013-05-11 Thread William Stein
On Sat, May 11, 2013 at 8:05 PM, leif not.rea...@online.de wrote: William Stein wrote: On Sat, May 11, 2013 at 6:19 PM, Nils Bruin nbr...@sfu.ca wrote: On May 11, 2:15 pm, Thierry sage-googlesu...@lma.metelu.net wrote: Hi, it was reported