[sage-devel] Finite-dimensional algebras in Sage?

2011-09-19 Thread Maarten Derickx
I remember that at least at some point I wanted this functionality. And this would probably also allow us to turn the hecke algebras in sage really into algebras. So a big plus 1 from me. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, sen

[sage-devel] Finite-dimensional algebras in Sage?

2011-09-19 Thread Maarten Derickx
I remember that at least at some point I wanted this functionality. And this would probably also allow us to turn the hecke algebras in sage really into algebras. So a big plus 1 from me. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, sen

Re: [sage-devel] @parallel doesn't clean up temp directories?

2011-09-19 Thread Volker Braun
Yes, its an NFS thing. I'll investigate it tomorrow :-) -- 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/group/sage-devel

Re: [sage-devel] @parallel doesn't clean up temp directories?

2011-09-19 Thread Jonathan Bober
I just looked at a few machines where I run sage and found that one of them has this problem. It is also the one where I've used @parallel the most. I see at most one subdirectory per host in my .sage directory on *.math, so there's not much of a problem there. I have use @parallel a fair amount t

[sage-devel] Re: Wiki page for spkg tracking.

2011-09-19 Thread leif
On 19 Sep., 12:42, Jean-Pierre Flori wrote: > Dear all, > > Would anyone mind if I update parts of the wiki page for spkg > tracking ? No, of course not. I occasionally update (parts of) it, but not on a regular basis. My impression was it isn't used much anyway, maybe just because it's obsolete

[sage-devel] Re: @parallel doesn't clean up temp directories?

2011-09-19 Thread leif
On 19 Sep., 21:26, Volker Braun wrote: > On a big computation with many @parallel decorators I eventually get > > [Errno 31] Too many links: '/home/vbraun/.sage//temp/hostname/26457/' > > This is caused by trying to create >2^15 ~ 32k subdirectories, which is an > ext2/ext3 limitation. Is there an

Re: [sage-devel] @parallel doesn't clean up temp directories?

2011-09-19 Thread William Stein
On Mon, Sep 19, 2011 at 12:26 PM, Volker Braun wrote: > On a big computation with many @parallel decorators I eventually get > [Errno 31] Too many links: '/home/vbraun/.sage//temp/hostname/26457/' > This is caused by trying to create >2^15 ~ 32k subdirectories, which is an > ext2/ext3 limitation.

[sage-devel] Re: cython -a

2011-09-19 Thread john_perry_usm
On Sep 19, 2:10 pm, Robert Bradshaw wrote: > See > > http://hg.sagemath.org/scripts-main/file/26abf552ceaa/sage-cython#l1 > > Specifically, you can do "sage -cython -a -sage /path/to/file.[s]pyx" > and it should do what you want. That's *exactly* what I was looking for. Thanks! john perry -- T

[sage-devel] @parallel doesn't clean up temp directories?

2011-09-19 Thread Volker Braun
On a big computation with many @parallel decorators I eventually get [Errno 31] Too many links: '/home/vbraun/.sage//temp/hostname/26457/' This is caused by trying to create >2^15 ~ 32k subdirectories, which is an ext2/ext3 limitation. Is there any reason why the @parallel forker creates its ow

Re: [sage-devel] Re: cython -a

2011-09-19 Thread Robert Bradshaw
See http://hg.sagemath.org/scripts-main/file/26abf552ceaa/sage-cython#l1 Specifically, you can do "sage -cython -a -sage /path/to/file.[s]pyx" and it should do what you want. - Robert On Mon, Sep 19, 2011 at 11:53 AM, john_perry_usm wrote: > FWIW it looks like this is a trac ticket. > >    htt

[sage-devel] Re: cython -a

2011-09-19 Thread john_perry_usm
FWIW it looks like this is a trac ticket. http://trac.sagemath.org/sage_trac/ticket/2110 john -- 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 a

[sage-devel] Re: cython -a

2011-09-19 Thread john_perry_usm
Robert On Sep 19, 11:39 am, Robert Bradshaw wrote: > Try doing sage -cython /path/to/file.pyx. If your .pyx file is in the > sage library, this sets up all the extra paths for you. It's not in the sage library; it's a separate file I'm working with. john -- To post to this group, send an emai

[sage-devel] Re: cython -a

2011-09-19 Thread john_perry_usm
On Sep 19, 11:39 am, Simon King wrote: > Under the assumption that I remember correctly: Would that be enough > for you? I'd prefer to use the command line, but that would work fine. Where does the link appear? I attached a file in a worksheet, and it compiled without complaint but I don't see an

Re: [sage-devel] Test log of the patchbot

2011-09-19 Thread Robert Bradshaw
The latest release seems to be flakey w.r.t. running lots of doctests, e.g. for a plain vanilla install we have http://patchbot.sagemath.org/ticket/0/ I don't have any idea why, perhaps http://trac.sagemath.org/sage_trac/ticket/11337 will help some, perhaps it'll just fix itself in the next release

Re: [sage-devel] cython -a

2011-09-19 Thread Robert Bradshaw
On Mon, Sep 19, 2011 at 9:05 AM, john_perry_usm wrote: > Hi > > One of the nice aspects of cython is that you can "cython -a" a file > and see what could use optimization. > > If I import a .pyx file into Sage, Sage compiles it into cython. Is > there a way to make it show the same thing? Not aut

[sage-devel] Re: cython -a

2011-09-19 Thread Simon King
Hi John, On 19 Sep., 18:05, john_perry_usm wrote: > If I import a .pyx file into Sage, Sage compiles it into cython. Is > there a way to make it show the same thing? If I am not mistaken, if you attach a .pyx file to the notebook then there is a link to the annotated version of your .pyx file.

[sage-devel] cython -a

2011-09-19 Thread john_perry_usm
Hi One of the nice aspects of cython is that you can "cython -a" a file and see what could use optimization. If I import a .pyx file into Sage, Sage compiles it into cython. Is there a way to make it show the same thing? I tried compiling a Sage file with Cython, but (as one might expect) it cou

[sage-devel] Test log of the patchbot

2011-09-19 Thread Simon King
Hi! Occasionally, the patchbot states that the doctests of some file fail, but the log actually does not show any errors. For example, for #11815, the log currently ends with -- The following tests failed: sage -t -for

Re: [sage-devel] Re: Downtime for *.sagenb.org

2011-09-19 Thread William Stein
On Mon, Sep 19, 2011 at 8:00 AM, Rob Beezer wrote: > Fixed.  And very responsive.  Very impressive service level!  ;-) > > Rob Thanks. We'll see how long it lasts. Let me know if things "go to hell". I'm looking into increasing the number of threads devoted to each server, which should help ev

Re: [sage-devel] Re: feature request: store additional information about symbolic variables

2011-09-19 Thread William Stein
On Mon, Sep 19, 2011 at 4:14 AM, Stan Schymanski wrote: > Dear Simon, Richard, Nils and Maarten, > > Thanks for putting so much thought into it. Unfortunately, most of what you > are discussing is way beyond my horizon, so I can't really contribute. I had > no clue how many things need to be consi

[sage-devel] Re: Downtime for *.sagenb.org

2011-09-19 Thread Rob Beezer
Fixed. And very responsive. Very impressive service level! ;-) Rob On Sep 19, 7:54 am, William Stein wrote: > On Mon, Sep 19, 2011 at 7:52 AM, Rob Beezer wrote: > > On Sep 18, 7:17 am, William Stein wrote: > >>   Please let me know if I've introduced any new problems as a result > >> of the

Re: [sage-devel] Re: Finite-dimensional algebras in Sage?

2011-09-19 Thread William Stein
On Mon, Sep 19, 2011 at 5:53 AM, Simon King wrote: > Hi Jeroen, > > On 19 Sep., 12:23, Jeroen Demeyer wrote: >> I only found sage/categories/finite_dimensional_algebras_with_basis.py >> which is just a category with essentially no code. > > Well, that's for the *category* of such algebras. Hence,

Re: [sage-devel] Re: Downtime for *.sagenb.org

2011-09-19 Thread William Stein
On Mon, Sep 19, 2011 at 7:52 AM, Rob Beezer wrote: > On Sep 18, 7:17 am, William Stein wrote: >>   Please let me know if I've introduced any new problems as a result >> of the move. > > I'm getting slow, or nonexistent, initial connections at sagenb.org > (from two different locations physically

[sage-devel] Re: Downtime for *.sagenb.org

2011-09-19 Thread Rob Beezer
On Sep 18, 7:17 am, William Stein wrote: >   Please let me know if I've introduced any new problems as a result > of the move. I'm getting slow, or nonexistent, initial connections at sagenb.org (from two different locations physically close-by), both last night and this morning. I have reports

[sage-devel] Re: Finite-dimensional algebras in Sage?

2011-09-19 Thread Simon King
Hi Jeroen, On 19 Sep., 12:23, Jeroen Demeyer wrote: > I only found sage/categories/finite_dimensional_algebras_with_basis.py > which is just a category with essentially no code. Well, that's for the *category* of such algebras. Hence, it does of course not contain an implementation of the algebr

Re: [sage-devel] Re: Finite-dimensional algebras in Sage?

2011-09-19 Thread Jeroen Demeyer
On 2011-09-19 13:23, Dima Pasechnik wrote: > There is such functionality in GAP, so potentially one can just provide > an interface. I guess providing an interface would be as much work (maybe even more) as doing it directly in Sage. There is a lot of "basic" functionality in GAP but not many non

[sage-devel] Re: Finite-dimensional algebras in Sage?

2011-09-19 Thread Dima Pasechnik
There is such functionality in GAP, so potentially one can just provide an interface. -- 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://grou

[sage-devel] Re: ? sage/rings/finite_field_givaro.pyx

2011-09-19 Thread Volker Braun
Sorry, the link should have been: http://www.sagemath.org/doc/faq/faq-usage.html#i-want-to-write-some-cython-code-that-uses-finite-field-arithmetic-but-cimport-sage-rings-finite-field-givaro-fails-what-can-i-do -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe

[sage-devel] Re: ? sage/rings/finite_field_givaro.pyx

2011-09-19 Thread Volker Braun
On a related note, the FAQ still references finite_field_givaro, see file:///home/vbraun/Sage/sage/devel/sage/doc/output/html/en/faq/faq-usage.html#i-want-to-write-some-cython-code-that-uses-finite-field-arithmetic-but-cimport-sage-rings-finite-field-givaro-fails-what-can-i-do This should be re

[sage-devel] Re: feature request: store additional information about symbolic variables

2011-09-19 Thread Stan Schymanski
Dear Simon, Richard, Nils and Maarten, Thanks for putting so much thought into it. Unfortunately, most of what you are discussing is way beyond my horizon, so I can't really contribute. I had no clue how many things need to be considered before implementing my request. I just wanted to confi

[sage-devel] Wiki page for spkg tracking.

2011-09-19 Thread Jean-Pierre Flori
Dear all, Would anyone mind if I update parts of the wiki page for spkg tracking ? It's kind of out of date. I would also like to add links to related trac tickets (e.g. pari 2.5.0) or discussions here (for example for the status of FLINT 1.6 and 2.x) I am not aware nor have the time to check ever

[sage-devel] Finite-dimensional algebras in Sage?

2011-09-19 Thread Jeroen Demeyer
Hello all, Have finite-dimensional algebras (over QQ, say) been implemented in Sage? I mean an implementation where you can give any multiplication table and compute with the algebra. Or to give such an algebra as a sub-algebra of a matrix algebra (first computing the sub-algebra generated by gi