[sage-devel] Re: problem with cython

2011-11-24 Thread Simon King
Hi David, On 25 Nov., 00:18, David Coudert wrote: > The following code is working perfectly with sage-4.7.2 and sage-4.8.alpha0 > but not with sage-4.8.alpha2. The new version of Cython has been merged into sage-4.8.alpha1. See trac ticket #11761. And the new version seems to be a bit more pedan

[sage-devel] Re: Fwd: C compiler in Mathematica

2011-11-24 Thread Dima Pasechnik
On Friday, 25 November 2011 13:25:43 UTC+8, rjf wrote: > > On Nov 24, 6:52 pm, Dima Pasechnik wrote: > > Unless I am missing something, Maxima in Sage is compiled into C using > ECL. > > How fully these capabilities are exploited in Sage, is another question. > > I think you are missing the poi

[sage-devel] Re: Fwd: C compiler in Mathematica

2011-11-24 Thread rjf
On Nov 24, 6:52 pm, Dima Pasechnik wrote: > Unless I am missing something, Maxima in Sage is compiled into C using ECL. > How fully these capabilities are exploited in Sage, is another question. I think you are missing the point. Unless the ECL system is sadly broken, the Maxima system has the

[sage-devel] Re: Fwd: C compiler in Mathematica

2011-11-24 Thread Dima Pasechnik
Unless I am missing something, Maxima in Sage is compiled into C using ECL. How fully these capabilities are exploited in Sage, is another question. -- 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...@goo

Re: [sage-devel] Segfault in DiGraph.automorphism_group

2011-11-24 Thread Nicolas M. Thiery
On Tue, Nov 22, 2011 at 05:09:20PM +0100, Florent Hivert wrote: > Sorry my message wasn't clear. The patch below is the part of > finite_semigroup-nt.patch which triggers the segfault. You don't need > the rest of finite_semigroup-nt.patch to reproduce the bug. > """ > # HG changeset patch

[sage-devel] [sage-4.8.alpha2] problem with cython

2011-11-24 Thread David Coudert
Dear all, The following code is working perfectly with sage-4.7.2 and sage-4.8.alpha0 but not with sage-4.8.alpha2. Some missing imports ? David. Source code (stored in file test.pyx) def blop(): return _blop_() cdef int _blop

Re: [sage-devel] Indexed expressions again...

2011-11-24 Thread Burcin Erocal
Hi Florent, On Thu, 24 Nov 2011 22:20:26 +0100 Florent Hivert wrote: > I'm working on #11576 "make it possible to generate sequences of > variables easily". I actually need to achieve a larger goal: I need > to have symbolic variables indexed by any Sage objects (eg: integers, > group element, m

[sage-devel] WIKI connection problem

2011-11-24 Thread Florent Hivert
Hi there, I've a problem with my account on the wiki. The problem occur both with Firefox, Opera and Konqueror. Here is what happens: when I click on the login button I'm asked for a username and a password. So I type my username and my password and I'm logged In, or so it seems: At the top

[sage-devel] Indexed expressions again...

2011-11-24 Thread Florent Hivert
Hi there, I'm working on #11576 "make it possible to generate sequences of variables easily". I actually need to achieve a larger goal: I need to have symbolic variables indexed by any Sage objects (eg: integers, group element, matrices...). As as said previously here, I started to work on B

Re: [sage-devel] Re: torrent question

2011-11-24 Thread William Stein
On Nov 24, 2011 12:34 PM, "Harald Schilly" wrote: > > > > On Monday, November 21, 2011 4:42:25 PM UTC+1, William wrote: >> >> how much work would it be to make it so we also offer >> torrent seeds? > > > With Keshav's idea, it was just a bit more than two hours. > > Everyone is welcome to test the

[sage-devel] Re: torrent question

2011-11-24 Thread Harald Schilly
On Monday, November 21, 2011 4:42:25 PM UTC+1, William wrote: > > how much work would it be to make it so we also offer > torrent seeds? > With Keshav's idea, it was just a bit more than two hours. Everyone is welcome to test them here: http://sagemath.org/mirror/torrents.html I've tried 3 cl

[sage-devel] doc rst heading levels

2011-11-24 Thread Jason Grout
Hi all, Restructured text does not have pre-determined characters signifying specific heading levels for headings in the documentation (e.g., chapters, sections, etc.). Python has the following convention [1]: # with overline, for parts * with overline, for chapters =, for sections -, for su

[sage-devel] Re: Fwd: C compiler in Mathematica

2011-11-24 Thread rjf
I was not claiming that Maxima was part of William's Ma* classification (Though perhaps Macsyma would be -- if it were marketed). My objection is that William neglects (or is ignorant of?) features that are in Maxima, and especially those that are superior to features he seems to want to market, f

Re: [sage-devel] Re: Fwd: C compiler in Mathematica

2011-11-24 Thread William Stein
On Nov 24, 2011 4:56 AM, "Simon King" wrote: > > On 23 Nov., 23:16, rjf wrote: > > Maxima compiles code to binary, and has done so, oh for a couple of > > decades. > > Is Maxima considered to be in the class "Ma*"? I thought the > definition of "Ma*" is: Name starts with "Ma" and code is closed >

[sage-devel] Sage coding sprint in Orsay

2011-11-24 Thread Florent Hivert
Dear all, I'm thinking about organizing a small one-week coding sprint around January-February in the south-west of Paris. Following the *-combinat tradition I plan to reserve the Guest house at Cernay-la-Ville: http://www.cernayvacances.com/CEngels.html (the tower) It is very nice

[sage-devel] Re: Fwd: C compiler in Mathematica

2011-11-24 Thread Simon King
On 23 Nov., 23:16, rjf wrote: > Maxima compiles code to binary, and has done so, oh for a couple of > decades. Is Maxima considered to be in the class "Ma*"? I thought the definition of "Ma*" is: Name starts with "Ma" and code is closed source? Cheers, Simon -- To post to this group, send an e

Re: [sage-devel] Re: signs of a memory leak?

2011-11-24 Thread Fredrik Johansson
On Thu, Nov 24, 2011 at 11:36 AM, Fredrik Johansson wrote: > On Thu, Nov 24, 2011 at 11:22 AM, Dima Pasechnik wrote: >> https://groups.google.com/d/msg/sage-nt/KfBOs2_00R0/aItrAEkdiIAJ >> >> this indicates it's a Sage bug, not an mpmath bug. > > Indeed, this loop reveals two memory leaks in the e

Re: [sage-devel] Re: signs of a memory leak?

2011-11-24 Thread Fredrik Johansson
On Thu, Nov 24, 2011 at 11:22 AM, Dima Pasechnik wrote: > https://groups.google.com/d/msg/sage-nt/KfBOs2_00R0/aItrAEkdiIAJ > > this indicates it's a Sage bug, not an mpmath bug. Indeed, this loop reveals two memory leaks in the extension code for mpmath in Sage. Ouch! I wonder who wrote that code

[sage-devel] Re: signs of a memory leak?

2011-11-24 Thread Dima Pasechnik
I must rectify: on MacOSX the standalone mpmath does not show the memory increase; on Linux (debian stable) I see an increase, but if I also call gc.collect() in the loop, things don't grow. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, s

[sage-devel] Re: signs of a memory leak?

2011-11-24 Thread Dima Pasechnik
https://groups.google.com/d/msg/sage-nt/KfBOs2_00R0/aItrAEkdiIAJ this indicates it's a Sage bug, not an mpmath bug. -- 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, v

[sage-devel] Re: signs of a memory leak?

2011-11-24 Thread Dima Pasechnik
also mentioned here: https://groups.google.com/d/msg/sage-nt/KfBOs2_00R0/j2IWyz5jbiAJ -- 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://group

[sage-devel] Re: signs of a memory leak?

2011-11-24 Thread Dima Pasechnik
for i in range(100): reset(); import mpmath, gc;# gc.collect() mpmath.dps=200; ii=mpmath.zetazero(2000) print get_memory_usage() See the printed value increase every 2 or 3 iterations. On Thursday, 24 November 2011 16:18:08 UTC+8, Jean-Pierre Flori wrote: > > On 23 nov, 19:12, Dima Pa

[sage-devel] Re: signs of a memory leak?

2011-11-24 Thread Jean-Pierre Flori
On 23 nov, 19:12, Dima Pasechnik wrote: > consider the following Sage code: > > while True: >     reset() >     # do some time– and memory-consuming stuff (using mpmath) > > When it is run, we witness  at each iteration the amount of memory growing, > until, after 10 hours or so, it takes 3Gb of