Re: [sage-devel] build errors on void linux

2020-07-23 Thread Nicolo' Piazzalunga
By the way, I noticed that there is no "latest" tag on the Docker image. Perhaps the voidlinux people could add this. Note that Void Linux is a rolling release. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and s

[sage-devel] Re: Bug or oversight ? install_scripts doesn't install script for singular or mwrank

2020-07-23 Thread Emmanuel Charpentier
Indeed... Hence the question : What is the "standard" name of (s|S)ingular in Unix ? Would "Singular" be an acceptable name or the command-line script ? BTW, Singular may have another naming problem : the Jupyter kernel installs, but czn't be used : charpent@zen-book-flip:~$ sage -n jupyter ┌─

[sage-devel] Re: cryptominisat does not buld on Ubuntu 20.04

2020-07-23 Thread Andrey Novoseltsev
For the record: NOT installing system libboost-dev allowed cryptominisat to be installed in Sage. Good enough solution for me, but the reason I was installing libboost-dev was ./configure recommendation... -- You received this message because you are subscribed to the Google Groups "sage-devel

Re: [sage-devel] continued_fraction seems to leak memory

2020-07-23 Thread Nils Bruin
On Thursday, July 23, 2020 at 2:39:09 PM UTC-7, Spencer Dembner wrote: > > It may be related, but I don't think it's exactly the same issue. For > example, the following, involving no square root, still leaks memory: > > for i in [1,..,2]: > if i%100 == 0: > print(i); > pri

Re: [sage-devel] continued_fraction seems to leak memory

2020-07-23 Thread Nils Bruin
On Thursday, July 23, 2020 at 3:30:48 PM UTC-7, Dave Morris wrote: > > I think this last example is related to trac #27536 > (conversion of mathematical > constant such as pi to RDF leaks memory). There is still a memory leak > (but smaller, I think) if

[sage-devel] assume() seems to break integrate() in some cases

2020-07-23 Thread Dan Swenson
When I do: t.integrate(t, 0, 4*a - a^2) # LaTeX: \int_{0}^{4a - a^2} t dt I get the correct answer: 1/2*a^4 - 4*a^3 + 8*a^2 But if I first make some assumptions, then the integral fails to evaluate: assume(a, 'real') assume(a > 1) assume(a < 3) # now 0 < a < 4, so 4*a - a^2 > 0 t.integrate(t

Re: [sage-devel] continued_fraction seems to leak memory

2020-07-23 Thread Dave Morris
I think this last example is related to trac #27536 (conversion of mathematical constant such as pi to RDF leaks memory). There is still a memory leak (but smaller, I think) if pi^i is replaced with pi, but I don't see a memory leak if pi^i is replaced

[sage-devel] Re: Bug or oversight ? install_scripts doesn't install script for singular or mwrank

2020-07-23 Thread John H Palmieri
On Thursday, July 23, 2020 at 9:31:07 AM UTC-7, Matthias Koeppe wrote: > > On Thursday, July 23, 2020 at 3:13:22 AM UTC-7, Emmanuel Charpentier wrote: >> >> The install-script() utility did install gap and maxima scripts invoking >> sage with the relevant switches and arguments. However, it did

Re: [sage-devel] continued_fraction seems to leak memory

2020-07-23 Thread Spencer Dembner
It may be related, but I don't think it's exactly the same issue. For example, the following, involving no square root, still leaks memory: for i in [1,..,2]: if i%100 == 0: print(i); print(get_memory_usage()); C = continued_fraction(pi^i); C.denominator(100);

Re: [sage-devel] continued_fraction seems to leak memory

2020-07-23 Thread Dave Morris
Is this the issue that was reported in Trac #27185 (defect: sqrt memory leak)? On Thursday, July 23, 2020 at 3:12:07 PM UTC-6, Spencer Dembner wrote: > > Yup- what you wrote gives me the same result as far as climbing memory > usage. > > On Thursday, July

Re: [sage-devel] continued_fraction seems to leak memory

2020-07-23 Thread Spencer Dembner
Yup- what you wrote gives me the same result as far as climbing memory usage. On Thursday, July 23, 2020 at 4:07:23 PM UTC-5, vdelecroix wrote: > > Thanks for your report. > > Actually, it does not seem to have much to do with continued > fractions but rather with the symbolic ring > > sage[4]

Re: [sage-devel] continued_fraction seems to leak memory

2020-07-23 Thread Vincent Delecroix
Thanks for your report. Actually, it does not seem to have much to do with continued fractions but rather with the symbolic ring sage[4]: for i in [250,..,300]: ...: if i%1000 == 0: ...: print(i); ...: print(get_memory_usage()) ...: _ = RIF(sqrt(i)

[sage-devel] continued_fraction seems to leak memory

2020-07-23 Thread Spencer Dembner
When using continued_fraction to compute denominators of continued fraction convergents, I'm encountering what seems to be a memory leak. I'm running SageMath 9.0 on Windows 10 64-bit. If I run the following, for i in [250,..,260]: if i%1000 == 0: print(i); print(get

[sage-devel] Re: Bug or oversight ? install_scripts doesn't install script for singular or mwrank

2020-07-23 Thread Matthias Koeppe
On Thursday, July 23, 2020 at 3:13:22 AM UTC-7, Emmanuel Charpentier wrote: > > The install-script() utility did install gap and maxima scripts invoking > sage with the relevant switches and arguments. However, it did not > install scripts for singular or mwrank (which used to be available the >

[sage-devel] Bug or oversight ? install_scripts doesn't install script for singular or mwrank

2020-07-23 Thread Emmanuel Charpentier
The install-script() utility did install gap and maxima scripts invoking sage with the relevant switches and arguments. However, it did not install scripts for singular or mwrank (which used to be available the same way). A cursory look at install_scripts source shows that have_program can find

Re: [sage-devel] Re: Adding support for discrete differential geometry for SAGE?

2020-07-23 Thread Siddharth Bhat
Hello, those libraries are very cool! I was unaware of their existence, thanks a lot for the pointers. My only worry is that these libraries as far as I can tell are "computational", not "symbolic", so we may lose some nice symbolic analysis if we don't reimplement the algorithms in terms of SA

Re: [sage-devel] Re: Adding support for discrete differential geometry for SAGE?

2020-07-23 Thread Thierry
Hi, this looks great. One important point that might be missing in the discussion, especially if you do not have any code written yet, would be to review existing optimized libraries, that could be interfaced within Sage, instead of reinventing the wheel, see e.g. https://doc.sagemath.org/html/en/