Re: [sage-devel] Something is wrong with my installed sage

2019-03-13 Thread Ai Bo
Sorry, it doesn't work if I build on local disk and then copy to /nfs. I got error: bash-4.3$ ./sage ERROR: The Sage installation tree has moved from /tmp/.../sage-8.6 to /nfs/.../Sage/sage-8.6 This is not supported, and Sage will not work. To install Sage from a binary package: As I

[sage-devel] Re: Regression in 3D plots in reference manual (Sage 8.7.beta7)

2019-03-13 Thread Matthias Koeppe
I may have broken this in https://trac.sagemath.org/ticket/27085 . Ticket for fixing it: https://trac.sagemath.org/ticket/27481 On Wednesday, March 13, 2019 at 7:34:09 AM UTC-7, Eric Gourgoulhon wrote: > > Hi, > > In Sage 8.7.beta7, all 3D plots in the html reference manual, like those > of

[sage-devel] Re: Incorrect double integral result

2019-03-13 Thread Emmanuel Charpentier
This integral turns out to be anything but trivial. Neither Sympy, Giac nor Fricas can solve it, in its original form nor in polar coordinates. BTW, neither Mathematica nor Rubi running on Mathematica can solve it in neither form. The analytic answer given (semi-)trivially by Maxima is

Re: [sage-devel] another "cp: cannot overwrite non-directory '[..]./lib64' with directory"

2019-03-13 Thread Dima Pasechnik
It's reproducible on my Linux machine, and I see that "non-directory '/opt/sage/local/./lib64'" is a symbolic link. removing it manually allows the install to complete. (whether it breaks anything I don't know, but should not be too hard to fix...) On Wed, Mar 13, 2019 at 10:59 PM Dima Pasechnik

Re: [sage-devel] another "cp: cannot overwrite non-directory '[..]./lib64' with directory"

2019-03-13 Thread Dima Pasechnik
On Wed, Mar 13, 2019 at 8:07 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > > Dear all, > > I did try `sage -i primecount` to install the optional primecount > package (archlinux with compiles SageMath 8.7.beta6). The compilation > went file but copying the files went wrong (see

[sage-devel] another "cp: cannot overwrite non-directory '[..]./lib64' with directory"

2019-03-13 Thread Vincent Delecroix
Dear all, I did try `sage -i primecount` to install the optional primecount package (archlinux with compiles SageMath 8.7.beta6). The compilation went file but copying the files went wrong (see attached log). Any help on how to fix the problem is welcome. Best Vincent -- You received this

Re: [sage-devel] Something is wrong with my installed sage

2019-03-13 Thread Ai Bo
I see. Will try. Thank you. On Wed, Mar 13, 2019 at 11:04 AM Dima Pasechnik wrote: > On Wed, Mar 13, 2019 at 5:57 PM Ai Bo wrote: > > > > Sorry, I can't. All local disks are cleaned out every 30 days. > > but building does not take that long. :-) > Besides, once you have a working build you

Re: [sage-devel] Something is wrong with my installed sage

2019-03-13 Thread Dima Pasechnik
On Wed, Mar 13, 2019 at 5:57 PM Ai Bo wrote: > > Sorry, I can't. All local disks are cleaned out every 30 days. but building does not take that long. :-) Besides, once you have a working build you can, with a bit of effort, move it around. > > On Wed, Mar 13, 2019 at 9:43 AM Dima Pasechnik

Re: [sage-devel] Something is wrong with my installed sage

2019-03-13 Thread Ai Bo
Sorry, I can't. All local disks are cleaned out every 30 days. On Wed, Mar 13, 2019 at 9:43 AM Dima Pasechnik wrote: > On Wed, Mar 13, 2019 at 4:18 PM Ai Bo wrote: > > > > Yes. This is done on NFS. > > I can't build on local disks as this is not on a particular machine. But > I do own my own

Re: [sage-devel] Something is wrong with my installed sage

2019-03-13 Thread Ai Bo
Yes. I meant Cocalc. My Linux OS is customized. So I am not sure I can use pre-compiled one. Here is my OS info: uname -s Linux uname -i x86_64 uname -o GNU/Linux On Wed, Mar 13, 2019 at 9:59 AM E. Madison Bray wrote: > On Wed, Mar 13, 2019 at 5:18 PM Ai Bo wrote: > > > > Yes. This is done

[sage-devel] Incorrect double integral result

2019-03-13 Thread csubich
Greetings, I've found that SageMath (8.3 and 8.6) gives me incorrect results when integrating the simple integrand sqrt(1-x^2-y^2). The code that follows illustrates the issue: banner() (x,y) = var('x y') eps = var('eps',latex_name='\\epsilon') assume(abs(x)<0.1, abs(y) < 0.1, abs(eps) <

[sage-devel] Re: Sagemath Conway polynomials error from Conda Forge

2019-03-13 Thread csubich
I coincidentally found the very same issue recently. The issue appeared to be that the newest version of conda (4.6.x) was more specific in checking versions than the older release, such that sagemath-conway-polynomials 0.5.p0 (version 0.5, patchlevel 0) was thought to be a prerelease version

Re: [sage-devel] Something is wrong with my installed sage

2019-03-13 Thread E. Madison Bray
On Wed, Mar 13, 2019 at 5:18 PM Ai Bo wrote: > > Yes. This is done on NFS. > I can't build on local disks as this is not on a particular machine. But I do > own my own NFS disks. > Also, the reason I want to build on my machine as when I use the online > version(server), a long running program

Re: [sage-devel] Something is wrong with my installed sage

2019-03-13 Thread Dima Pasechnik
On Wed, Mar 13, 2019 at 4:18 PM Ai Bo wrote: > > Yes. This is done on NFS. > I can't build on local disks as this is not on a particular machine. But I do > own my own NFS disks. Normally multi-user systems have a "scratch" partition, a local disk reserved for this kind of jobs, which is not

Re: [sage-devel] Something is wrong with my installed sage

2019-03-13 Thread Ai Bo
Yes. This is done on NFS. I can't build on local disks as this is not on a particular machine. But I do own my own NFS disks. Also, the reason I want to build on my machine as when I use the online version(server), a long running program will be paused from time to time. I want to run on some

Re: [sage-devel] Something is wrong with my installed sage

2019-03-13 Thread E. Madison Bray
On Wed, Mar 13, 2019 at 4:58 PM Dima Pasechnik wrote: > > By looking at the output it looks as if the build it on an NFS, and this is > known to be severely broken. Could you do the build on a local disk? Oh, nice catch. Yes, many build tools can have problems on NFS, especially on older

Re: [sage-devel] Something is wrong with my installed sage

2019-03-13 Thread Dima Pasechnik
By looking at the output it looks as if the build it on an NFS, and this is known to be severely broken. Could you do the build on a local disk? On Wed, 13 Mar 2019 15:44 E. Madison Bray, wrote: > On Wed, Mar 13, 2019 at 4:40 AM Ai Bo wrote: > > > > Just compiled sage from source code on

Re: [sage-devel] Something is wrong with my installed sage

2019-03-13 Thread E. Madison Bray
On Wed, Mar 13, 2019 at 4:40 AM Ai Bo wrote: > > Just compiled sage from source code on Linux. > When I launched ./sage, I can do simple math like 2+2 which give correct > But when I type: > sage: import sage.graphs > > sage: print("%d" % len(list(graphs.nauty_geng("8" > > sage: print("%d" %

Re: [sage-devel] Re: Something is wrong with my installed sage

2019-03-13 Thread Ai Bo
I used a fresh opened Sage session. I didn't define my own function. Even when I tried with your first line example, without anything else in a new Sage session, I got : ./sage ┌┐ │ SageMath version 8.6, Release Date: 2019-01-15

[sage-devel] Regression in 3D plots in reference manual (Sage 8.7.beta7)

2019-03-13 Thread Eric Gourgoulhon
Hi, In Sage 8.7.beta7, all 3D plots in the html reference manual, like those of the 3D Graphics section , are generated with a square frame around them, with axes marks ranging from 0 to 500. This happens both

[sage-devel] Re: Right idiom to define a map

2019-03-13 Thread Kwankyu Lee
On Wednesday, March 13, 2019 at 9:04:32 PM UTC+9, Simon King wrote: > > PS: > > On 2019-03-13, Simon King > wrote: > > There are of course cases in which a default pickling mechanism makes > > sense (think of UniqueRepresentation). However, I think that Map is > > not such a case. > > > >

Re: [sage-devel] Re: Anyone used SBox.interpolation_polynomial?

2019-03-13 Thread Dima Pasechnik
On Wed, Mar 13, 2019 at 12:12 PM Friedrich Wiemer wrote: > > I discussed this again with my colleagues and maybe its just not so sure what > the correct way to do is? > > Is it actually clear what the "correct" ordering of finite field elements is? > The canonical ordering is 0, 1, a^1, a^2,

Re: [sage-devel] Error in installing Sage8.6 on linux: syntax error

2019-03-13 Thread Dima Pasechnik
On Monday, March 11, 2019 at 10:06:59 AM UTC, E. Madison Bray wrote: > > On Mon, Mar 11, 2019 at 10:43 AM Jeroen Demeyer > wrote: > > > > On 2019-03-11 10:42, E. Madison Bray wrote: > > > The spkg-install script (e.g. under > > > local/var/tmp/sage/build/patch-2.7.5/spkg-install) should

Re: [sage-devel] polymake-3.1 build fails with std::__::numeric_limits<...>

2019-03-13 Thread Dima Pasechnik
As you can see, polymake 3.1 is not packaged for OSX 10.13, and 10.14, either, see https://polymake.org/doku.php/download/versions Perhaps it means it does not work... So that's not something that can be helped with (polymake is an experimental Sage package, so no wonder it might be broken

Re: [sage-devel] Re: Anyone used SBox.interpolation_polynomial?

2019-03-13 Thread Friedrich Wiemer
I discussed this again with my colleagues and maybe its just not so sure what the correct way to do is? Is it actually clear what the "correct" ordering of finite field elements is? The canonical ordering is 0, 1, a^1, a^2, ..., - but then this representation and ordering depends on the

[sage-devel] Re: Right idiom to define a map

2019-03-13 Thread Simon King
PS: On 2019-03-13, Simon King wrote: > There are of course cases in which a default pickling mechanism makes > sense (think of UniqueRepresentation). However, I think that Map is > not such a case. > > Namely, a map is given by a domain, a codomain, and defining data. There > could of course be

[sage-devel] polymake-3.1 build fails with std::__::numeric_limits<...>

2019-03-13 Thread Harly Hallikas
I'm not really C++ specialist, therefore, I'm not even trying to fix it myself. Looks like the numeric_types are already defined in stdlib. Attached the log file.. Computer 2018 MacBookPro (Core i9), macOS Mojave Version 10.14.3 (18D109) -- You received this message because you are

[sage-devel] Re: Right idiom to define a map

2019-03-13 Thread Simon King
Hi Kwankyu, On 2019-03-13, Kwankyu Lee wrote: > For pickling, you probably just need to implement a __reduce__ method for >> the map. >> > > Why not the category framework provide a default? This also seems to me a > defect of the category framework. I think of pickling as an implementation

[sage-devel] Re: Right idiom to define a map

2019-03-13 Thread Kwankyu Lee
> > What did I do wrong? Or what should I do more? To pass _test_pickling, it is enough to implement __eq__ method. This is reasonable! -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails

Re: [sage-devel] Re: Something is wrong with my installed sage

2019-03-13 Thread Dima Pasechnik
On Wed, Mar 13, 2019 at 4:04 AM Ai Bo wrote: > > I also tried with the example in the document but I got different result. > sage: for i in range(7): > : print(len(list(graphs(i Did you try this in a freshly opened Sage session? In Python it is possible to break functionality of the