[sage-devel] cartesian products

2013-11-14 Thread Vincent Delecroix
Hi, For me it is a bug: the behavior of cartesian_product (not CartesianProduct) is not symmetric... {{{ sage: C1 = cartesian_product([FiniteEnumeratedSet('abc'),ZZ]) The cartesian product of ({'a', 'b', 'c'}, Integer Ring) sage: C1 sage: C1.an_element() ('a', 1) }}} but {{{ sage: cartesian_produc

[sage-devel] Re: Sage install aborts: error building ppl

2013-11-14 Thread Volker Braun
http://www.sagemath.org/doc/installation/source.html#general-requirements On Thursday, November 14, 2013 10:31:44 PM UTC-5, Darij Grinberg wrote: > > Thanks for the good question! What RAM, CPU, etc. settings would you > recommend for a virtual machine running sage? > > -- You received this mes

[sage-devel] Re: Sage install aborts: error building ppl

2013-11-14 Thread Darij Grinberg
Hi Volker, Good point -- looking at the virtualbox settings, I see I deceived it about having 6 cores (the machine has 8, but the VM is allowed only 1). It compiles well now without that parameter. Thanks for the good question! What RAM, CPU, etc. settings would you recommend for a virtual mac

[sage-devel] Re: Sage install aborts: error building ppl

2013-11-14 Thread Volker Braun
How much memory (ram and swap) does your VM have? On Thursday, November 14, 2013 3:53:52 PM UTC-5, Darij Grinberg wrote: > > Hi, > > trying to install sage-5.11beta3 on a Ubuntu virtualbox inside a > Windows 7 host (64bit). > > Here is what goes wrong: > https://dl.dropboxusercontent.com/u/

[sage-devel] Re: Sage 5.11 crashes on run when functions are imported

2013-11-14 Thread Anna Haensch
Frederic, Thanks, I should have known that :) Best, Anna On Thursday, November 14, 2013 3:46:22 PM UTC-5, Frédéric Chapoton wrote: > > Hello Anna, > > primes_above is a *method* of number fields, you cannot import this (and > you do not need to import it to use it) > > Frederic > > Le jeudi 1

[sage-devel] Sage install aborts: error building ppl

2013-11-14 Thread Darij Grinberg
Hi, trying to install sage-5.11beta3 on a Ubuntu virtualbox inside a Windows 7 host (64bit). Here is what goes wrong: https://dl.dropboxusercontent.com/u/83265276/ppl-1.1pre9.p0.log The main error seems to be "virtual memory exhausted: Cannot allocate memory" I don't know enough about virtual m

[sage-devel] Re: Sage 5.11 crashes on run when functions are imported

2013-11-14 Thread Frédéric Chapoton
Hello Anna, primes_above is a *method* of number fields, you cannot import this (and you do not need to import it to use it) Frederic Le jeudi 14 novembre 2013 21:30:10 UTC+1, Anna Haensch a écrit : > > I'm running 5.11 (built from source-code). I went into the file > quadratic_form__local_fi

[sage-devel] Sage 5.11 crashes on run when functions are imported

2013-11-14 Thread Anna Haensch
I'm running 5.11 (built from source-code). I went into the file quadratic_form__local_field_invariants.py and added the line from sage.rings.number_field.number_field import primes_above Now when I try to run sage I get a crash message. I've attached the full crash report. If I remove that

[sage-devel] another memory leak?

2013-11-14 Thread Nils Bruin
I think sage's memory management is making progress: examples of getting obvious leaking are getting more convoluted. I ran into the following one. With the code import gc def t(N,start=0): P=PolynomialRing(QQ,name='x') x=P.gen(0) L=[NumberField(x^2+1,name="a%d"%start)] for i in