Re: [sage-combinat-devel] comments/questions on poset code

2012-02-14 Thread Anne Schilling
Thanks for the clarification. Let me restate it to check I am having it right. You have a poset, say: sage: P = Poset((divisors(30), attrcall(divides))) and then you want to manipulate a bunch of linear extensions of that poset like:: sage: l1 = [1, 5, 3, 2, 10, 6, 15, 30]

Re: [sage-combinat-devel] comments/questions on poset code

2012-02-14 Thread Anne Schilling
Hi! class LinearExtensionOfPoset(CombinatorialObject, Element): ... We want to deprecate CombinatorialObject as soon as possible. If at all possible, please use ClonableArray (if not ClonableIntArray). See: sage: sage.structure.list_clone? Here, the ``def check(self)``

Re: [sage-combinat-devel] comments/questions on poset code

2012-02-14 Thread Nicolas M. Thiery
On Tue, Feb 14, 2012 at 02:05:21PM -0800, Anne Schilling wrote: No. It is really a different poset, see: ... which returns the original poset. But to_poset gives Q from the above computation. Ok; out of curiosity, why do you need the relabelled poset for? The elements of L would simply be

[sage-combinat-devel] Re: coxeter groups in python

2012-02-14 Thread Andrew Mathas
I tried to do some computations with the existing Iwahori-Hecke algebra module inside sage earlier this year. I needed to work over the rational function field C(x), for an indeterminate x. In the end I gave up and went back to using some gap3 code that I have, which builds on chevie, because it

Re: [sage-devel] Re: GSOC 2012

2012-02-14 Thread Harald Schilly
On Tue, Feb 14, 2012 at 07:05, Volker Braun vbraun.n...@gmail.com wrote: The most common home computer is a game console. in 2012, i think it's the posix-world of smartphones and tablets, namely android and iOS. porting to or supporting a growing ecosystem (i.e. tablets) has more long term

Re: [sage-devel] Re: GSOC 2012

2012-02-14 Thread David Kirkby
On 14 February 2012 06:05, Volker Braun vbraun.n...@gmail.com wrote: The most common home computer is a game console. While techincally an XBox is a windows PC, very few normal Windows programs run on it. Some of my code has been run on a Sony Playstation 3, as well as a Cray supercomputer.

[sage-devel] jmol error on sagenb.org, aleph.sagemath.org

2012-02-14 Thread Jason Grout
When I look at a 3d plot on sagenb.org or on aleph.sagemath.org, my javascript console gives an error like: For example: http://aleph.sagemath.org/?q=531a6d49-3003-4513-b702-f7e457d27435 gives GET http://aleph.sagemath.org/JmolApplet 404 (NOT FOUND) and http://sagenb.org/home/pub/4316/

[sage-devel] Re: GSOC 2012

2012-02-14 Thread Dima Pasechnik
In gmane.comp.mathematics.sage.devel, you wrote: On Tue, Feb 14, 2012 at 13:34, rjf fate...@gmail.com wrote: On Feb 13, 6:10 pm, Dima Pasechnik dimp...@gmail.com wrote: (RJF) This is not a problem if you drop the requirement that every recipient of Sage must be able to COMPILE stuff

[sage-devel] Re: GSOC 2012

2012-02-14 Thread Keshav Kini
Dima Pasechnik dimp...@gmail.com writes: In gmane.comp.mathematics.sage.devel, you wrote: This is a bit strange, isn't it? Shouldn't it say something like Keshav Kini keshav.k...@gmail.com wrote: or similar? -Keshav P.S. Testing sending this mail via Gnus, hopefully this works :) (shut up

[sage-devel] Re: GSOC 2012

2012-02-14 Thread Keshav Kini
Oops. Reply-To header got me there... Sorry for the noise, still trying to wrap my head around Hardcore Email (tm) and Hardcore Editor (tm) :) -Keshav On Tue, Feb 14, 2012 at 22:14, Keshav Kini keshav.k...@gmail.com wrote: Dima Pasechnik dimp...@gmail.com writes: In

[sage-devel] Re: GSOC 2012

2012-02-14 Thread Jason Grout
On 2/14/12 8:14 AM, Keshav Kini wrote: P.S. Testing sending this mail via Gnus, hopefully this works :) (shut up about mismatched parentheses, emacs...) Thunderbird: +1. Jason -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an

[sage-devel] Re: Sage works on OS X 10.7!

2012-02-14 Thread entropy
Here is a link to the gcc build file: http://dl.dropbox.com/u/546764/gcc-4.6.2_sagebuild.zip and the log file http://dl.dropbox.com/u/546764/gcc-4.6.2.log. These are from a serial build. Note that I had initially attempted a parallel build, which failed with the same error. I've attempted a

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-14 Thread Jeroen Demeyer
On sage1.cs.washington.ede (where compiling works), gcc --version gives: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) With entropy's log of a failed build: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658)

Re: [sage-devel] New flask notebook; please test

2012-02-14 Thread Paulo César Pereira de Andrade
Em 19 de outubro de 2011 23:33, Dan Drake dr...@kaist.edu escreveu: On Tue, 18 Oct 2011 at 03:17AM -0500, Jason Grout wrote: I think we've fixed the last remaining bugs in the flask notebook. Can people please test the new flask notebook, either at test.sagenb.org, or by following the

Re: [sage-devel] Re: GSOC 2012

2012-02-14 Thread David Kirkby
On 13 February 2012 17:22, rjf fate...@gmail.com wrote: On Feb 13, 12:51 am, Dr. David Kirkby david.kir...@onetel.net wrote: On 02/12/12 03:06 PM, rjf wrote: Microsoft and Google/Motorola are suing each other. Do you get money from Microsoft? Just a thought. You could

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-14 Thread John H Palmieri
On Monday, February 13, 2012 11:51:50 PM UTC-8, Jeroen Demeyer wrote: On 2012-02-13 19:05, John H Palmieri wrote: I posted the same failure two days ago to the relevant trac ticket, http://trac.sagemath.org/sage_trac/ticket/12369. Not the same failure, your failure on #12369 was an

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-14 Thread Jeroen Demeyer
John, entropy, Could you try the following: $ rm spkg/logs/gcc-4.6.2.log $ MAKE=make -j1 SAGE_CHECK=yes CFLAGS=-O0 ./sage -f spkg/standard/gcc-4.6.2.spkg If it fails, send me spkg/logs/gcc-4.6.2.log -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from

Re: [sage-devel] Re: Question about system dependencies policy...

2012-02-14 Thread Jeroen Demeyer
On 2012-02-13 17:32, William Stein wrote: Every component of Sage except jsmath is licensed under a GPL v2 (or later) compatible license. At the very least, this is confusing wording. I interpreted this as a claim that all code in Sage could be released under the GPL v2. Reading

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-14 Thread R. Andrew Ohana
You could also try $ CC=clang CXX=clang++ MAKE=make -j1 ./sage -f spkg/standard/gcc-4.6.2.spkg One of the main points of the gcc spkg is because llvm-gcc is buggy, clang should be just as able to build gcc, and doesn't suffer from the same bugs as llvm-gcc does with pari and symmetrica. On Tue,

Re: [sage-devel] Free groups, feedback wanted.

2012-02-14 Thread mmarco
I have added a new version, with an implementation of finitely presented groups. It can be improved for sure: lots of gap functions can be wrapped, and maybe the implementation is not optimal; but it works. It passes all the test suite except the pickling tests. Any clue about how to solve it?

[sage-devel] Re: Sage works on OS X 10.7!

2012-02-14 Thread entropy
sigh... :) here's the log file: http://dl.dropbox.com/u/546764/gcc-4.6.2.log. It now fails with a slightly different error, though I suspect this is because I ran the ./sage -f command below: configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-14 Thread William Stein
On Tue, Feb 14, 2012 at 1:55 PM, William Stein wst...@gmail.com wrote: On Tue, Feb 14, 2012 at 12:42 PM, R. Andrew Ohana andrew.oh...@gmail.com wrote: You could also try $ CC=clang CXX=clang++ MAKE=make -j1 ./sage -f spkg/standard/gcc-4.6.2.spkg One of the main points of the gcc spkg is

[sage-devel] Re: Sage works on OS X 10.7!

2012-02-14 Thread entropy
woohoo! Success as well using $ CC=clang CXX=clang++ MAKE=make -j1 ./sage -f spkg/standard/ gcc-4.6.2.spkg Successfully installed gcc-4.6.2 Now cleaning up tmp files. Finished installing gcc-4.6.2.spkg (!!) Learning many things during this painful transition from linux to mac. I'll continue

[sage-devel] Re: Sage works on OS X 10.7!

2012-02-14 Thread entropy
Darn, flopped again. The mpir package could not find a working compiler. Kind of ironic, since this whole thread has been about building gcc-4.6.2. :) From the log, it seems to have found the system's gcc (4.2.1, the same one that couldn't build 4.6 I suppose). But has issues with the following

Re: [sage-devel] Re: GSOC 2012

2012-02-14 Thread Volker Braun
On Tuesday, February 14, 2012 3:16:04 AM UTC-8, Dr. David Kirkby wrote: is one such example. I was recently speaking to one of their engineers, who said some customers had simultions taking weeks, so they would get Ansys (the vendor) to simulate them on more powerful hardware, reducing the

Re: [sage-devel] Re: GSOC 2012

2012-02-14 Thread François Bissey
On Tue, 14 Feb 2012 15:01:59 Volker Braun wrote: On Tuesday, February 14, 2012 3:16:04 AM UTC-8, Dr. David Kirkby wrote: is one such example. I was recently speaking to one of their engineers, who said some customers had simultions taking weeks, so they would get Ansys (the vendor) to

Re: [sage-devel] Re: GSOC 2012

2012-02-14 Thread Volker Braun
IBM discontinuing AIX? Is this some kind of joke? IBM is more than happy to sell Power7 systems with AIX. But if you have the hardware lying around and no money to buy a recent AIX version then there are also plenty of linux options. The only thing that is for sure is that you can't run Windows

Re: [sage-devel] Re: GSOC 2012

2012-02-14 Thread Dr. David Kirkby
On 02/14/12 11:39 PM, Volker Braun wrote: IBM discontinuing AIX? Is this some kind of joke? IBM is more than happy to sell Power7 systems with AIX. But if you have the hardware lying around and no money to buy a recent AIX version then there are also plenty of linux options. The only thing that

Re: [sage-devel] Re: GSOC 2012

2012-02-14 Thread Dr. David Kirkby
On 02/14/12 11:01 PM, Volker Braun wrote: On Tuesday, February 14, 2012 3:16:04 AM UTC-8, Dr. David Kirkby wrote: is one such example. I was recently speaking to one of their engineers, who said some customers had simultions taking weeks, so they would get Ansys (the vendor) to simulate them

Re: [sage-devel] Re: GSOC 2012

2012-02-14 Thread François Bissey
On Tue, 14 Feb 2012 15:39:20 Volker Braun wrote: IBM discontinuing AIX? Is this some kind of joke? IBM is more than happy to sell Power7 systems with AIX. But if you have the hardware lying around and no money to buy a recent AIX version then there are also plenty of linux options. The only

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-14 Thread R. Andrew Ohana
On Tue, Feb 14, 2012 at 14:57, entropy jberw...@gmail.com wrote: Darn, flopped again. The mpir package could not find a working compiler. Kind of ironic, since this whole thread has been about building gcc-4.6.2. :)  From the log, it seems to have found the system's gcc (4.2.1, the same one

Re: [sage-devel] Re: GSOC 2012

2012-02-14 Thread Volker Braun
While it would be an funny retro-computing exercise, I don't think Windows NT 3.51 can run on Power7. It is binary compatible under certain conditions but i'd be surprised if a whole OS can escape all caveats. I actually know one or two Windows-based HPC clusters in academic research. In the

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-14 Thread John H Palmieri
On Tuesday, February 14, 2012 5:14:13 PM UTC-8, R. Andrew Ohana wrote: On Tue, Feb 14, 2012 at 14:57, entropy wrote: Darn, flopped again. The mpir package could not find a working compiler. Kind of ironic, since this whole thread has been about building gcc-4.6.2. :) From the log, it

[sage-devel] I^(0.5)

2012-02-14 Thread William Stein
Hi, A student in my class (Andrey Sarantsev) just pointed out to me that in Sage-4.8 and Sage-5.0, we have sage: I^(0.5) None What? That's not good. I'm not just putting this on trac, because I don't even know how to search for whether this is there already. This seems like it should be a

Re: [sage-devel] Re: GSOC 2012

2012-02-14 Thread Dr. David Kirkby
On 02/15/12 01:40 AM, Volker Braun wrote: While it would be an funny retro-computing exercise, No, it would be a painful one. Even if you could install it, most modern software would not run on it. I don't think Windows NT 3.51 can run on Power7. It is binary compatible under certain

Re: [sage-devel] I^(0.5)

2012-02-14 Thread Dr. David Kirkby
On 02/15/12 05:58 AM, William Stein wrote: Hi, A student in my class (Andrey Sarantsev) just pointed out to me that in Sage-4.8 and Sage-5.0, we have sage: I^(0.5) None What? That's not good. I'm not just putting this on trac, because I don't even know how to search for whether this is

[sage-devel] Re: aleph.sagemath.org

2012-02-14 Thread Andrey Novoseltsev
On Feb 13, 5:15 am, Jason Grout jason-s...@creativetrax.com wrote: Very cool interact (that second one).  I fixed the problem.  However, you need to add: u,v=var('u,v') at the top before the definition of the interact to get it to work right.  This is a separate problem from the one in the

Re: [sage-devel] I^(0.5)

2012-02-14 Thread William Stein
On Tue, Feb 14, 2012 at 10:15 PM, Dr. David Kirkby david.kir...@onetel.net wrote: On 02/15/12 05:58 AM, William Stein wrote: Hi, A student in my class (Andrey Sarantsev) just pointed out to me that in Sage-4.8 and Sage-5.0, we have sage: I^(0.5) None What?  That's not good. I'm not

Re: [sage-devel] I^(0.5)

2012-02-14 Thread Dan Drake
On Wed, 15 Feb 2012 at 06:15AM +, Dr. David Kirkby wrote: What is sqrt(i), and why? As for sqrt(i), if you represent it as exp(i*pi/2), there are two numbers z that satisfy z^2 = i, namely exp(i*pi/4) and exp(i*5*pi/4). Look up the polar form of complex numbers. As for why: well, why should

Re: [sage-devel] Re: GSOC 2012

2012-02-14 Thread Volker Braun
On Tuesday, February 14, 2012 10:13:26 PM UTC-8, Dr. David Kirkby wrote: So Windows Vista, and all the free Linux distributions like Ubuntu are not supported. Neither is OS X. If you have a cluster you obviously don't put Ubuntu on the nodes (there are special cluster distributions like

[sage-devel] Re: aleph.sagemath.org

2012-02-14 Thread Jason Grout
On 2/15/12 12:22 AM, Andrey Novoseltsev wrote: On Feb 13, 5:15 am, Jason Groutjason-s...@creativetrax.com wrote: Very cool interact (that second one). I fixed the problem. However, you need to add: u,v=var('u,v') at the top before the definition of the interact to get it to work right.