[sage-devel] Re: help needed to debug a systematically killed Sage

2017-04-07 Thread Dima Pasechnik
On Friday, April 7, 2017 at 12:35:13 PM UTC+1, vdelecroix wrote: > > Dear all, > > I have trouble building Sage for the patchbot. My procedure consists > just in launching the attached script. It basically > > 1) compile sage > 2) install most optional packages except the one for which I

Re: [sage-devel] As of Sage 8.0, lcm is from sage.arith.functions but gcd is not

2017-04-07 Thread Nils Bruin
On Friday, April 7, 2017 at 11:14:01 AM UTC-7, Jeroen Demeyer wrote: > > On 2017-04-07 19:23, Nils Bruin wrote: > > Importing > > infrastructure has changed significantly between Py2 and Py3\ > > Really? What has changed? > > I was mainly looking at https://docs.python.org/2/reference/simple_s

Re: [sage-devel] help needed to debug a systematically killed Sage

2017-04-07 Thread Jeroen Demeyer
On 2017-04-07 20:13, Vincent Delecroix wrote: 8G should be enough!? (note that Sage used to work...) Be sure to double-check dmesg and check if there is something suspicious. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from t

Re: [sage-devel] help needed to debug a systematically killed Sage

2017-04-07 Thread Jeroen Demeyer
Another guess: a sage-cleaner getting confused and killing wrong processes. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com

Re: [sage-devel] When install SAGE, it says: 'gmp.h' and 'libgmp' have different versions

2017-04-07 Thread Samuel Lelievre
Is there a specific reason why you were trying to install Sage 5.7? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To pos

Re: [sage-devel] help needed to debug a systematically killed Sage

2017-04-07 Thread Vincent Delecroix
On 07/04/2017 20:12, Jeroen Demeyer wrote: On 2017-04-07 13:34, Vincent Delecroix wrote: However, after step 2) I end up with a very broken Sage that is immediately killed with no information at all Too little memory available on your system? 8G should be enough!? (note that Sage used to wor

Re: [sage-devel] As of Sage 8.0, lcm is from sage.arith.functions but gcd is not

2017-04-07 Thread Jeroen Demeyer
On 2017-04-07 19:23, Nils Bruin wrote: Importing infrastructure has changed significantly between Py2 and Py3\ Really? What has changed? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails fr

Re: [sage-devel] help needed to debug a systematically killed Sage

2017-04-07 Thread Jeroen Demeyer
On 2017-04-07 13:34, Vincent Delecroix wrote: However, after step 2) I end up with a very broken Sage that is immediately killed with no information at all Too little memory available on your system? -- You received this message because you are subscribed to the Google Groups "sage-devel" gro

Re: [sage-devel] As of Sage 8.0, lcm is from sage.arith.functions but gcd is not

2017-04-07 Thread Kwankyu Lee
On Friday, April 7, 2017 at 7:23:59 PM UTC+2, Kwankyu Lee wrote: > > On Friday, April 7, 2017 at 6:18:47 PM UTC+2, Travis Scrimshaw wrote: >> >> From a user point of view, they are already imported so you shouldn't >> have to do anything. >> > > A user of Sage also writes scripts where he or she

Re: [sage-devel] As of Sage 8.0, lcm is from sage.arith.functions but gcd is not

2017-04-07 Thread Kwankyu Lee
On Friday, April 7, 2017 at 6:18:47 PM UTC+2, Travis Scrimshaw wrote: > > From a user point of view, they are already imported so you shouldn't have > to do anything. > A user of Sage also writes scripts where he or she often imports lcm or gcd. I also prefer the specific module in general, bu

Re: [sage-devel] As of Sage 8.0, lcm is from sage.arith.functions but gcd is not

2017-04-07 Thread Nils Bruin
On Friday, April 7, 2017 at 9:18:47 AM UTC-7, Travis Scrimshaw wrote: > > You're welcome, with a very special thanks to Jeroen for his help. > > From a user point of view, they are already imported so you shouldn't have > to do anything. However, I am split on doing imports from all or the > spec

Re: [sage-devel] Re: sage-8.0 beta and python3

2017-04-07 Thread Vincent Delecroix
On 07/04/2017 19:03, John H Palmieri wrote: Python 3 is also built and installed by default in Sage, at least in recent development versions, for use by developers trying to make Sage compatible with Python 3. Indeed, you can use it $ sage -sh -c "python3" Python 3.5.1 (default, Apr 7 2017, 0

[sage-devel] Re: sage-8.0 beta and python3

2017-04-07 Thread John H Palmieri
Python 3 is also built and installed by default in Sage, at least in recent development versions, for use by developers trying to make Sage compatible with Python 3. -- John -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from

[sage-devel] Re: sage-8.0 beta and python3

2017-04-07 Thread Travis Scrimshaw
Not yet, but Frédéric Chapoton has been doing a lot to try and make Sage Python3 compatible. So we now have the option to try to compile with Python3. We would welcome any assistance in trying to make this transition. Best, Travis On Friday, April 7, 2017 at 9:15:16 AM UTC-5, aishen wrote: > >

[sage-devel] Re: Report on WomenInSage

2017-04-07 Thread Travis Scrimshaw
4sums4uc3. :D On Friday, April 7, 2017 at 4:37:40 AM UTC-5, Kwankyu Lee wrote: > > Gorgeous! -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr..

Re: [sage-devel] As of Sage 8.0, lcm is from sage.arith.functions but gcd is not

2017-04-07 Thread Travis Scrimshaw
You're welcome, with a very special thanks to Jeroen for his help. >From a user point of view, they are already imported so you shouldn't have to do anything. However, I am split on doing imports from all or the specific module, but I defer to the latter because it could potentially not trigger

[sage-devel] sage-8.0 beta and python3

2017-04-07 Thread aishen
Hi, Is sage dev using python3? while compiling I see references to it ? regards Henri -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googl

[sage-devel] Re: help needed to debug a systematically killed Sage

2017-04-07 Thread Volker Braun
First step is probably to trace imports: sage -python -v import sage.all If that fails, gdb. On Friday, April 7, 2017 at 1:35:13 PM UTC+2, vdelecroix wrote: > > Dear all, > > I have trouble building Sage for the patchbot. My procedure consists > just in launching the attached script. It basic

[sage-devel] help needed to debug a systematically killed Sage

2017-04-07 Thread Vincent Delecroix
Dear all, I have trouble building Sage for the patchbot. My procedure consists just in launching the attached script. It basically 1) compile sage 2) install most optional packages except the one for which I know there are some troubles 3) launch the patchbot However, after step 2) I end

Re: [sage-devel] Re: sip package not on mirrors

2017-04-07 Thread Vincent Delecroix
Thanks Volker. On 07/04/2017 11:32, Volker Braun wrote: fixed! On Friday, April 7, 2017 at 10:05:47 AM UTC+2, vdelecroix wrote: Hello, Even though sip is an optional package it is not available on the mirrors Attempting to download package sip-4.18.tar.gz from mirrors http://mirror.yandex.

[sage-devel] Re: Report on WomenInSage

2017-04-07 Thread Kwankyu Lee
Gorgeous! -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com

[sage-devel] Re: sip package not on mirrors

2017-04-07 Thread Volker Braun
fixed! On Friday, April 7, 2017 at 10:05:47 AM UTC+2, vdelecroix wrote: > > Hello, > > Even though sip is an optional package it is not available on the mirrors > > Attempting to download package sip-4.18.tar.gz from mirrors > > http://mirror.yandex.ru/mirrors/sage.math.washington.edu/spkg/upst

[sage-devel] Report on WomenInSage

2017-04-07 Thread Viviane Pons
It was a great event! You can read all about it here: http://opendreamkit.org/2017/04/06/WomenInSage/ -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+u

Re: [sage-devel] As of Sage 8.0, lcm is from sage.arith.functions but gcd is not

2017-04-07 Thread Kwankyu Lee
Done. https://trac.sagemath.org/ticket/22774 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send

Re: [sage-devel] As of Sage 8.0, lcm is from sage.arith.functions but gcd is not

2017-04-07 Thread Vincent Delecroix
On 07/04/2017 10:13, Kwankyu Lee wrote: On Friday, April 7, 2017 at 10:08:23 AM UTC+2, vdelecroix wrote: From the user point of view, everything should be imported as from sage.arith.all import gcd, lcm I agree. So the warning message should guide a user to import lcm from sage.arith.al

Re: [sage-devel] As of Sage 8.0, lcm is from sage.arith.functions but gcd is not

2017-04-07 Thread Kwankyu Lee
On Friday, April 7, 2017 at 10:08:23 AM UTC+2, vdelecroix wrote: > > From the user point of view, everything should be > imported as > > from sage.arith.all import gcd, lcm > I agree. So the warning message should guide a user to import lcm from sage.arith.all. -- You received this message

Re: [sage-devel] As of Sage 8.0, lcm is from sage.arith.functions but gcd is not

2017-04-07 Thread Vincent Delecroix
No you are not. From the user point of view, everything should be imported as from sage.arith.all import gcd, lcm Vincent On 07/04/2017 10:06, Vincent Delecroix wrote: Hello, You are perfectly right. Can you open a ticket on trac? Vincent On 07/04/2017 09:46, Kwankyu Lee wrote: Hi, As of

Re: [sage-devel] As of Sage 8.0, lcm is from sage.arith.functions but gcd is not

2017-04-07 Thread Vincent Delecroix
Hello, You are perfectly right. Can you open a ticket on trac? Vincent On 07/04/2017 09:46, Kwankyu Lee wrote: Hi, As of Sage 8.0.beta, the location of lcm has changed from "sage.arith.misc" to "sage.arith.functions", and the deprecation warning warns that I should import lcm directly from "s

[sage-devel] sip package not on mirrors

2017-04-07 Thread Vincent Delecroix
Hello, Even though sip is an optional package it is not available on the mirrors Attempting to download package sip-4.18.tar.gz from mirrors http://mirror.yandex.ru/mirrors/sage.math.washington.edu/spkg/upstream/sip/sip-4.18.tar.gz [xxx

[sage-devel] Re: As of Sage 8.0, lcm is from sage.arith.functions but gcd is not

2017-04-07 Thread Kwankyu Lee
By the way, I thank the author of the faster lcm very much! -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to t

[sage-devel] As of Sage 8.0, lcm is from sage.arith.functions but gcd is not

2017-04-07 Thread Kwankyu Lee
Hi, As of Sage 8.0.beta, the location of lcm has changed from "sage.arith.misc" to "sage.arith.functions", and the deprecation warning warns that I should import lcm directly from "sage.arith.functions". But the close friend gcd is still in "sage.arith.misc" and an ordinary user like me would