Re: [sage-support] Re: Make step fails during installation due to certificate problem downloading Patch 2.7.6

2025-02-06 Thread Dima Pasechnik
Of course if you have a few millions to donate to the project, we will be able to provide the users with the most beautiful installation experience, with visuals and music. After several years of work. The result will still have bugs, of course. The follow-ups please to sage-fl...@googlegroups.

Re: [sage-support] Re: Make step fails during installation due to certificate problem downloading Patch 2.7.6

2025-02-06 Thread Hilbert_not_Dilbert
Good grief. Can’t we just get the usual .exe-installer download that nearly every other program on the planet offers? There are already enough problems with SageMath to dissuade migration from Mathematica, etc. We shouldn’t also need a degree in CS to install the program. Brent On Thu, Feb 6,

Re: [sage-support] Re: Make step fails during installation due to certificate problem downloading Patch 2.7.6

2025-02-06 Thread Mike Wirth
Thanks Guillermo and Dima for the quick responses. I got SageMath up and running by: 1. Removing the duplicate Python 3.13.2 installation (downloaded from python.org) 2. Left the Python 3.13.2 installation done by pyenv in place. 3. Did an install of Python 3.12.9 with pyenv and mad

Re: [sage-support] Re: Make step fails during installation due to certificate problem downloading Patch 2.7.6

2025-02-06 Thread Mike Wirth
Thanks. Will give it a try. Mike On Thu, Feb 6, 2025 at 12:04 PM Dima Pasechnik wrote: > Hi, > > few thing you ought to consider with your setup. > We presently don't really support installing Sage in a venv > (this is being worked on, but it's far from being ready for general use) > > Basical

[sage-support] Re: Make step fails during installation due to certificate problem downloading Patch 2.7.6

2025-02-06 Thread Dima Pasechnik
Hi, few thing you ought to consider with your setup. We presently don't really support installing Sage in a venv (this is being worked on, but it's far from being ready for general use) Basically, Sage will create its own venv instead. Then, we're not supporting Python 3.13 yet. You can use 3.12

[sage-support] Re: Cannot build sage-10.5 in Debian Sid

2025-01-27 Thread Luis Finotti
Ah, indeed removing m4ri did it. Thanks for the help! On Monday, January 27, 2025 at 11:56:23 AM UTC-5 Antonio Rojas wrote: > Debian is shipping a broken m4ri version > > https://groups.google.com/g/sage-release/c/muFP_3aonHc/m/2SxR8t1eAQAJ > > El lunes, 27 de enero de 2025 a las 17:50:39 UTC+1,

[sage-support] Re: Cannot build sage-10.5 in Debian Sid

2025-01-27 Thread Antonio Rojas
Debian is shipping a broken m4ri version https://groups.google.com/g/sage-release/c/muFP_3aonHc/m/2SxR8t1eAQAJ El lunes, 27 de enero de 2025 a las 17:50:39 UTC+1, Luis Finotti escribió: > Debian Sid has updated its Python version to 3.13. In trying to build > sage 10.5 from source, I get: > >

[sage-support] Re: can not install coxeter3 in sage, my system is mcos

2025-01-26 Thread Marc Culler
As I reported to @jeanjmh off-list, the coxeter3 package **is** installed in the SageMath.app already. There are two issues here. The trivial one is that the error message he encountered is misleading. The significant one is that based on the traceback he provides there is a bug on line 13 of

[sage-support] Re: Sagelibs-10.5 fails to build on debian/testing amd64 linux

2025-01-23 Thread Antonio Rojas
https://groups.google.com/g/sage-release/c/muFP_3aonHc/m/2SxR8t1eAQAJ El jueves, 23 de enero de 2025 a las 22:10:47 UTC+1, thomas.r@gmail.com escribió: > Hi, > > New to this list. > > I have a (amd64) linux machine running debian/testing and I can't sort out > the build error. > > I have

Re: [sage-support] Re: Implementing linear maps and their inverses in SageMath and Magma

2025-01-13 Thread Sai Chandhrasekhar
Y_matrix is not square. Its dimensions are 15x16, so the system of equations is underdetermined. Does anyone have an idea of why this has no solution in Sage but does in Magma? On Saturday, January 11, 2025 at 7:16:42 AM UTC-6 lubabalo...@gmail.com wrote: > Tnx > > On Sat, 11 Jan 2025, 09:38

[sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-11 Thread Pavel Galashin
Hmm. I decided my previous experiment was contaminated because I slightly messed up had to do ``make distclean`` a couple of times, so I created three clean folders and ran precisely the above commands and nothing else, and got a successful installation of sagemath for each of python3.10, pytho

Re: [sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-11 Thread Dima Pasechnik
On Sat, Jan 11, 2025 at 8:08 AM Pavel Galashin wrote: > > I ran the same commands from scratch in new folders: > > $ git clone -c core.symlinks=true --filter blob:none \ --origin upstream > --branch develop --tags \ https://github.com/sagemath/sage.git $ cd sage $ > make configure $ source ./.ho

[sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-11 Thread Pavel Galashin
I ran the same commands from scratch in new folders: $ git clone -c core.symlinks=true --filter blob:none \ --origin upstream --branch develop --tags \ https://github.com/sagemath/sage.git $ cd sage $ make configure $ source ./.homebrew-build-env $ ./configure --with-python=`which pythonX.X` $

Re: [sage-support] Re: Implementing linear maps and their inverses in SageMath and Magma

2025-01-11 Thread Lubabalo ngxale
Tnx On Sat, 11 Jan 2025, 09:38 Sai Chandhrasekhar, wrote: > Is there anyone else here who could help me with this? I am really stuck. > > On Monday, January 6, 2025 at 12:31:14 AM UTC-8 Sai Chandhrasekhar wrote: > >> I tried to use solve_left with the 15x16 tau_matrix and the 1x16 >> alpha.list(

[sage-support] Re: Implementing linear maps and their inverses in SageMath and Magma

2025-01-10 Thread Sai Chandhrasekhar
Is there anyone else here who could help me with this? I am really stuck. On Monday, January 6, 2025 at 12:31:14 AM UTC-8 Sai Chandhrasekhar wrote: > I tried to use solve_left with the 15x16 tau_matrix and the 1x16 > alpha.list() and still got no solutions. > > On Sunday, January 5, 2025 at 4:

[sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-09 Thread Dima Pasechnik
It would be great if you tried newer Homebrew Pythons, .i.e. 3.10 and 3.11, too, and reported here the results. On Thursday, January 9, 2025 at 10:52:07 AM UTC-6 pgal...@gmail.com wrote: > It was installed via homebrew, same as python3.12: > $ which python3.9 /opt/homebrew/bin/python3.9 > ​ > >

[sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-09 Thread Pavel Galashin
It was installed via homebrew, same as python3.12: $ which python3.9 /opt/homebrew/bin/python3.9 ​ On Thursday, January 9, 2025 at 7:59:39 AM UTC-8 dim...@gmail.com wrote: > Thanks. So, what's the output of > > which python3.9 > in your case? And where does it come from? I suppose the issue lie

[sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-09 Thread Dima Pasechnik
Thanks. So, what's the output of which python3.9 in your case? And where does it come from? I suppose the issue lies in multiptocessing/multithreading support in Python, which eveloved a lot since 3.9. More Pythons to try might be from https://www.python.org/downloads/ (it would be good to k

[sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-09 Thread Pavel Galashin
Huh, the problem got completely solved just by switching to Python 9! Thanks a lot for the help! $ make distclean $ ./configure --with-python=`which python3.9` $ make -s V=0 -j1 ​ ... [tzlocal-5.0.1] installing. Log file: /Users/user/sage/sage/logs/pkgs/tzlocal-5.0.1.log [tzlocal-5.0.1] succ

[sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-07 Thread Pavel Galashin
That doesn't seem to help: [sagemath_doc_html-none] Setting up build directory /Users/user/sage/sage/local/var/tmp/sage/build/sagemath_doc_html-none [sagemath_doc_html-none] Host system: Darwin PG-Mac-2.local 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 19:03:40 PST 2024; root:xnu-11215.61.5

[sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-07 Thread Dima Pasechnik
Our docbuilder isn't great, it uses some custom outdated tricks for parallel building. Switching to a more standard sphinx setup is overdue... Try cleaning docs by make doc-clean and then run make -j1 On Tuesday, January 7, 2025 at 2:56:47 AM UTC-6 pgal...@gmail.com wrote: > Thank you for th

Re: [sage-support] Re: Error when makeing Sage

2025-01-07 Thread Éricles Lima
Now I downgraded to python 10.5, and it stopped yielding that error (also, there's evidence gmpy2 had issues with newer python version , but I'm not entirely sure that is related). However, it's now failing on building scipy :/ There's a similar er

[sage-support] Re: Multivariate Non-Commuting power series

2025-01-07 Thread 'Martin R' via sage-support
In principle, the lazy series framework should be able to do what you want. sage: F = FreeAlgebra(QQ, ["x","y"], degrees=(1,1)) sage: A = LazyCompletionGradedAlgebra(F) sage: F. = FreeAlgebra(QQ, degrees=(1,1)) sage: A = LazyCompletionGradedAlgebra(F) sage: x = A(x); y = A(y) sage: f = 1/(1-x-y^2)

[sage-support] Re: Implementing linear maps and their inverses in SageMath and Magma

2025-01-06 Thread Sai Chandhrasekhar
I tried to use solve_left with the 15x16 tau_matrix and the 1x16 alpha.list() and still got no solutions. On Sunday, January 5, 2025 at 4:23:41 PM UTC-8 Kwankyu wrote: > On Friday, January 3, 2025 at 1:27:47 PM UTC+9 skchandh...@gmail.com > wrote: > > The solution you proposed worked. What is

Re: [sage-support] Re: Error when makeing Sage

2025-01-05 Thread Jan Groenewald
Hi On Mon, 6 Jan 2025 at 02:03, Dima Pasechnik wrote: > On 5 January 2025 14:04:20 GMT-06:00, "Éricles Lima" > wrote: > >*Attempting to download package gmpy2-2.2.0a1.tar.gz from > >mirrorshttps:// > github.com/sagemath/sage/releases/download/10.6/[xx

[sage-support] Re: Implementing linear maps and their inverses in SageMath and Magma

2025-01-05 Thread Kwankyu
On Friday, January 3, 2025 at 1:27:47 PM UTC+9 skchandh...@gmail.com wrote: The solution you proposed worked. What is the explanation for why it worked? Just linear algebra. You may use solve_left() instead if the method exists. -- You received this message because you are subscribed to the

Re: [sage-support] Re: Error when makeing Sage

2025-01-05 Thread Dima Pasechnik
On 5 January 2025 14:04:20 GMT-06:00, "Éricles Lima" wrote: >It's funny... why should removing log files change the error obtained? less scrolling to look for the real error. > >Anyway, it did. Now it fails when building gmpy: > > > > > > > >*Error building Sage.The following package(s) may have

Re: [sage-support] Re: Error when makeing Sage

2025-01-05 Thread Éricles Lima
It's funny... why should removing log files change the error obtained? Anyway, it did. Now it fails when building gmpy: *Error building Sage.The following package(s) may have failed to build (not necessarilyduring this run of 'make all-start'):* package: gmpy2-2.2.0a1 last build

Re: [sage-support] Re: Error when makeing Sage

2025-01-03 Thread Dima Pasechnik
On Fri, Jan 3, 2025 at 12:15 PM Éricles Lima wrote: > > Is there more than one config.log? > > I considering copying the one I found below, but the formatting became too > awful, so I add it again as an attachment here (it's also attached to my > first message in this discussion) > > Thanks befo

[sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-03 Thread John H Palmieri
To expand on Dima's answer: Homebrew's Python 3.13 is too new to build Sage, so Sage will reject it. The built-in Python 3.9 is, as Dima says, no good for use with Sage. So install Homebrew's python 3.12, do "make distclean", and then use ./configure --with-python=" fill in path to python3.1

Re: [sage-support] Re: Error when makeing Sage

2025-01-03 Thread Dima Pasechnik
Your error indicates that your system Python3 was rejected for some reason. Please post the top-level config.log - it contains the needed details. On Fri, Jan 3, 2025 at 10:18 AM Éricles Lima wrote: > > But that's basically what I did before - the steps on that sagemanifolds > website are basica

Re: [sage-support] Re: Error when makeing Sage

2025-01-03 Thread Éricles Lima
But that's basically what I did before - the steps on that sagemanifolds website are basically the same listed on the github: clone -> make configure -> ./configure -> make And the error it gets me is the same (failure to build python3-3.12.5). I tried deactivating conda to see whether I'd get

Re: [sage-support] Re: Error when makeing Sage

2025-01-03 Thread Henri Girard
It's easier to make it with eric suggestion I don't want to use conda in ubuntu because debs python are natives I even compile with 25.04 ubuntu dev version best HG Le 03/01/2025 à 11:21, Eric Gourgoulhon a écrit : If you are on Ubuntu 24.04, I would advise to install SageMath along these li

[sage-support] Re: Error when makeing Sage

2025-01-03 Thread Eric Gourgoulhon
If you are on Ubuntu 24.04, I would advise to install SageMath along these lines: https://sagemanifolds.obspm.fr/install_ubuntu.html Best wishes, Eric. Le vendredi 3 janvier 2025 à 05:27:48 UTC+1, ericlesaq...@gmail.com a écrit : > I get an error when running the `make` step of the Sage build

[sage-support] Re: sage-doc-html + urllib3 + openSSL problem when building from source on M4 Macbook

2025-01-02 Thread Dima Pasechnik
/usr/bin/python3 you end up using is no good for using with Sage (and unfortunately our ./configure doesn't see it), that's why. I suggested to install python3.12 in Homebrew and use it instead. (because building Sage's python is broken on your macOS version, too, there aren't many other easy opt

[sage-support] Re: Implementing linear maps and their inverses in SageMath and Magma

2025-01-02 Thread Sai Chandhrasekhar
The solution you proposed worked. What is the explanation for why it worked? I am now trying to implement Y in SageMath. B2 = (2*G).basis_function_space() R. = Fq[] Q = R.irreducible_element(16) L. = Fq.extension(Q) div = Q(x).divisor() P = None; for place in div.support(): if(place.degree()

[sage-support] Re: Who to contact to re-join Zulip chat

2025-01-02 Thread Pranav Setpal
woah, i had no clue about that page. thank you! On Thursday, January 2, 2025 at 8:20:13 PM UTC-4 Kwankyu wrote: > There is a hint at https://github.com/sagemath/sage/wiki/Infrastructure -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubs

[sage-support] Re: Who to contact to re-join Zulip chat

2025-01-02 Thread Kwankyu
There is a hint at https://github.com/sagemath/sage/wiki/Infrastructure -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com

[sage-support] Re: Implementing linear maps and their inverses in SageMath and Magma

2025-01-02 Thread Kwankyu
X_matrix = matrix([[f.evaluate(p) for p in places] for f in B1]).transpose() will work for you. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+uns

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-18 Thread Kwankyu
I meant sage: F. = GF(2) : K. = FunctionField(F) : R. = PolynomialRing(K) : L. = K.extension(Y^4 + Y - x^5) sage: g = L.get_place(2) sage: g Place (x, y^2 + y + 1) sage: g.prime_ideal().gens() (x, y^2 + y + 1) sage: O = L.maximal_order() sage: h = O.ideal((x, y^2 + y + 1)).place()

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-17 Thread Sai Chandhrasekhar
Can you go into more detail on this? On Monday, December 16, 2024 at 9:29:13 AM UTC-8 Nils Bruin wrote: > On Saturday, 14 December 2024 at 09:28:37 UTC-8 skchandh...@gmail.com > wrote: > > I want to compute a single place of degree 8 so I can use it as described > in the OP. > > > If you w

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-17 Thread Kwankyu
On Monday, December 16, 2024 at 2:21:10 PM UTC+9 skchandh...@gmail.com wrote: Is there a way I can take the place I got and input it into future calculations without having to recalculate it every time I run the code? p.save('file') saves the object to a file. Later, you can reload the objec

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-16 Thread Nils Bruin
On Saturday, 14 December 2024 at 09:28:37 UTC-8 skchandh...@gmail.com wrote: I want to compute a single place of degree 8 so I can use it as described in the OP. If you want to evaluate a function at a place, you'll just get a value in the residue field. In the case of a degree 8 place, tha

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-15 Thread Sai Chandhrasekhar
Is there a way I can take the place I got and input it into future calculations without having to recalculate it every time I run the code? On Saturday, December 14, 2024 at 9:28:37 AM UTC-8 Sai Chandhrasekhar wrote: > I want to compute a single place of degree 8 so I can use it as described >

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-14 Thread Sai Chandhrasekhar
I want to compute a single place of degree 8 so I can use it as described in the OP. On Saturday, December 14, 2024 at 7:48:15 AM UTC-8 Nils Bruin wrote: > On Friday, 13 December 2024 at 17:48:38 UTC-8 Kwankyu wrote: > > On Sat, Dec 14, 2024 at 9:09 AM Sai Chandhrasekhar > wrote: > > When I r

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-14 Thread Nils Bruin
On Friday, 13 December 2024 at 17:48:38 UTC-8 Kwankyu wrote: On Sat, Dec 14, 2024 at 9:09 AM Sai Chandhrasekhar wrote: When I ran it, it took a little over an hour. Is there a way to speed up this calculation? No. Well ... it depends on what you want to know. The curve you are describin

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-13 Thread Kwankyu
On Sat, Dec 14, 2024 at 9:09 AM Sai Chandhrasekhar wrote: When I ran it, it took a little over an hour. Is there a way to speed up this calculation? No. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and s

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-13 Thread Sai Chandhrasekhar
How long did it take to return? On Friday, December 13, 2024 at 2:27:58 PM UTC-8 Kwankyu wrote: > Additional data: > > sage: d.dimension() > 4 > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-13 Thread Sai Chandhrasekhar
I tried doing this and it still takes a long time. On Tuesday, December 10, 2024 at 11:23:12 PM UTC-8 Nils Bruin wrote: > On Tuesday, 10 December 2024 at 18:29:14 UTC-8 skchandh...@gmail.com > wrote: > > I am trying to calculate a place of the degree 8 extension field of a > rational function

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-13 Thread Kwankyu
Additional data: sage: d.dimension() 4 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion visit

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-13 Thread Kwankyu
There is a method F.get_place(8) that returns a place of degree 8, which perhaps suits your purpose. In less than an hour, I got sage: a = K.get_place(8); a Place (x^2 + x + z16^11 + z16^2 + z16, z^4 + ((z16^15 + z16^14 + z16^12 + z16^10 + z16^9 + z16^4 + z16^3 + 1)*x + z16^15 + z16^12 + z16^11

[sage-support] Re: Calculating place of large function field F_{2^128}(X)

2024-12-10 Thread Nils Bruin
On Tuesday, 10 December 2024 at 18:29:14 UTC-8 skchandh...@gmail.com wrote: I am trying to calculate a place of the degree 8 extension field of a rational function field over GF(2^16) in SageMath. However, when I do this, it is taking a very long time and doesn't produce a result even after hour

Re: [sage-support] Re: make ignores "-j" option

2024-12-07 Thread Dima Pasechnik
A vastly better way of building sagelib is via meson. We already have a preliminary support for it included - notice all these meson.build files in the source tree. In some cases you can already use it. More is being worked on, see e.g. https://github.com/sagemath/sage/pull/39030 testing and user i

Re: [sage-support] Re: make ignores "-j" option

2024-12-07 Thread Kevin Youren
Peter, I also found the "make" problem and the number of parallel processes. See "Error installing package scipy-1.12.0 in Develop" from October I have two computers, a laptop with a large memory, where sagemath built OK. My "tower" machine had far less memory, Sagemath crashed with too many

[sage-support] Re: make ignores "-j" option

2024-12-07 Thread Antonio Rojas
El sábado, 7 de diciembre de 2024 a las 15:56:27 UTC+1, Peter Mueller escribió: (1) Oh, I just realized that actually most of the optional packages which I need are already provided by the ArchLinux package "sagemath". I very much appreciate your great work on this! In fact, the only one I use

Re: [sage-support] Re: make ignores "-j" option

2024-12-07 Thread William Stein
Caveat -- definitely setting MAKE worked for 15-20 years. I have no idea if it is supported or not anymore. That's definitely how MAKE flags used to be set down the build tree when I wrote the build system, but it has been rewritten many times since then. You're probably going to just have to loo

Re: [sage-support] Re: make ignores "-j" option

2024-12-07 Thread 'Peter Mueller' via sage-support
No, export MAKE="make -j1" before doing a "make" didn't resolve the problem. The number of parallel processes kept rising from 4 until around 20. Not sure if this is a bug, or results from some misconfiguration of my machine. I didn't fiddle with the Sage source, just got it fresh from github.

Re: [sage-support] Re: make ignores "-j" option

2024-12-07 Thread 'Peter Mueller' via sage-support
OK, with export MAKE="make -j1" the number of parallel processes seems to be around 4 most of the time. So it does not paralyze the computer. wst...@gmail.com schrieb am Samstag, 7. Dezember 2024 um 15:58:31 UTC+1: [...] The following may still work: export MAKE="make -j1" -- You received t

Re: [sage-support] Re: make ignores "-j" option

2024-12-07 Thread William Stein
On Sat, Dec 7, 2024 at 6:56 AM 'Peter Mueller' via sage-support < sage-support@googlegroups.com> wrote: > (1) Oh, I just realized that actually most of the optional packages which > I need are already provided by the ArchLinux package "sagemath". I very > much appreciate your great work on this! I

[sage-support] Re: make ignores "-j" option

2024-12-07 Thread 'Peter Mueller' via sage-support
(1) Oh, I just realized that actually most of the optional packages which I need are already provided by the ArchLinux package "sagemath". I very much appreciate your great work on this! In fact, the only one I use often and which seems to be missing is "sage_numerical_backends_gurobi". (2) Set

[sage-support] Re: make ignores "-j" option

2024-12-07 Thread Antonio Rojas
Which optional package are you missing? Optional packages are supposed to be installed with pacman, just like any other distro package. As for parallel build, you need to use the SAGE_NUM_THREADS env variable El sábado, 7 de diciembre de 2024 a las 14:50:56 UTC+1, Peter Mueller escribió: > Co

Re: [sage-support] Re: 1.0^x raises ValueError: power::eval(): division by zero

2024-11-25 Thread 'Peter Mueller' via sage-support
OK, it's https://github.com/sagemath/sage/issues/39035 now. -- Peter Mueller dim...@gmail.com schrieb am Montag, 25. November 2024 um 15:35:56 UTC+1: Opening an issue on GitHub will help. It shouldn't be harder than posting here. -- You received this message because you are subscribed to th

Re: [sage-support] Re: 1.0^x raises ValueError: power::eval(): division by zero

2024-11-25 Thread Dima Pasechnik
Opening an issue on GitHub will help. It shouldn't be harder than posting here. On 25 November 2024 03:52:39 GMT-06:00, 'Peter Mueller' via sage-support wrote: >I'm not familiar with the developing process. So I guess someone (maybe >you?) should open a ticket? Or I could try to fill the "Issue

[sage-support] Re: 1.0^x raises ValueError: power::eval(): division by zero

2024-11-25 Thread 'Peter Mueller' via sage-support
I'm not familiar with the developing process. So I guess someone (maybe you?) should open a ticket? Or I could try to fill the "Issue: Bug Report" form on the github page if that's the right thing to do. -- Peter Mueller egourg...@gmail.com schrieb am Montag, 25. November 2024 um 10:38:51 UTC+1

[sage-support] Re: 1.0^x raises ValueError: power::eval(): division by zero

2024-11-25 Thread Eric Gourgoulhon
This is certainly not the intended behavior. Thanks for the report! The error boils down to sage: SR(1.0)^x ... ValueError: power::eval(): division by zero Eric. Le dimanche 24 novembre 2024 à 13:34:37 UTC+1, Peter Mueller a écrit : > var('x'); 1.1^x > works fine, but > 1.0^x > raises a > Val

[sage-support] Re: View does not work for crystal graphs (SageMath version 10.4)

2024-11-01 Thread Kwankyu
This was fixed by https://github.com/sagemath/sage/pull/38764 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-10-12 Thread Kevin Youren
Please note that the problem was caused by a lack of memory on my computer. I modified the SWAP file to be about 10G, and the build has worked well since then. The build takes about 3 1/2 hours. regs, Kev On Monday 16 September 2024 at 06:12:03 UTC+10 dim...@gmail.com wrote: > Curiously, this

[sage-support] Re: Problematic bug in `solve` via Maxima

2024-10-08 Thread kcrisman
Also in 5.42.2. What were you expecting to get? Sage still can't parse all the expressions of this type we get from Maxima, presumably partly due to people who used to work on that code (like me) moving on to other things :-( ​ -- You received this message because you are subscribed to the

[sage-support] Re: Extend the limit function/method call syntax ?

2024-10-06 Thread Nils Bruin
Following up on this, I think we can do this with relatively small impact: https://github.com/sagemath/sage/pull/38780 previously, limit(1/x,'+',x=0) did work, but the recommended way to spell this was limit(1/x,x=0,dir="+") so I'm not sure if we need to provide a special case and intercept t

[sage-support] Re: Extend the limit function/method call syntax ?

2024-10-03 Thread Nils Bruin
The function in question is sort-of available as sage.functions.other.symbolic_limit (which is an inert form, so it requires a further "simplify"). On Thursday 3 October 2024 at 08:29:50 UTC-7 Nils Bruin wrote: > On Thursday 3 October 2024 at 04:44:12 UTC-7 Emmanuel Charpentier wrote: > > sage:

[sage-support] Re: Extend the limit function/method call syntax ?

2024-10-03 Thread Nils Bruin
On Thursday 3 October 2024 at 04:44:12 UTC-7 Emmanuel Charpentier wrote: sage: F.limit(X[0]=3) Cell In[9], line 1 F.limit(X[Integer(0)]=Integer(3)) ^ SyntaxError: expression cannot contain assignment, perhaps you meant "=="? Indeed, the current limit function and method get their arguments (va

[sage-support] Re: Graph orientations output convention inconsistent

2024-10-03 Thread Emmanuel Charpentier
Illustration in this ask.sagemath.org question . HTH, ​ Le jeudi 3 octobre 2024 à 13:06:03 UTC+2, Gordon a écrit : > This is not exactly a bug, but definitely a "gotcha" which will catch many > p

[sage-support] Re: installation getting stuck

2024-10-01 Thread Kevin Youren
If you are using Ubuntu, also check your memory allocations. I found my "tower" crashing, but my "laptop" worked OK. The laptop had twice the memory size of my tower, so I increased the tower's swap memory to 10 gig, and it worked fine. regs, Kev On Sunday 29 September 2024 at 00:42:07 UTC+10

[sage-support] Re: installation getting stuck

2024-09-29 Thread Kwankyu
Here is the updated "Troubleshooting" section: https://doc-pr-38659--sagemath.netlify.app/html/en/installation/troubles -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an e

[sage-support] Re: installation getting stuck

2024-09-29 Thread Kwankyu
You may try this one as well https://github.com/sagemath/sage/pull/38659 though that might not save you if your platform has an unordinary setup. See "Troubleshooting" section for proper report of the installation issue on your system. Kwankyu -- You received this message because you are s

Re: [sage-support] Re: strange plot

2024-09-28 Thread Nils Bruin
On Saturday 28 September 2024 at 12:05:52 UTC-7 fqgo...@colby.edu wrote: I wonder whether the result of ?min might mention the existence of min_symbolic, and similarly for max. When the first attempt failed, I looked at what ?min said, and didn't get much out of it. Had it mentioned "see also m

Re: [sage-support] Re: strange plot

2024-09-28 Thread Fernando Gouvea
Thanks for the answers! Both plot3d(floor(min_symbolic(x, y)),(x,1,7),(y,1,7)) and plot3d(lambda a, b: floor(min(a, b)),(x,1,7),(y,1,7)) produce the right plot. I wonder whether the result of ?min might mention the existence of min_symbolic, and similarly for max. When the first attempt fail

[sage-support] Re: Support for schemdraw.logic.logic Module in Sage

2024-09-28 Thread Zunaid Ahmed
Yes, apparently I am getting time out errors [33mWARNING: The directory '/home/sc_work/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should

Re: [sage-support] Re: Support for schemdraw.logic.logic Module in Sage

2024-09-27 Thread Henri Girard
I tried in sage 10.4 arduino uno really great ! I installed it with github and sage -pip install ... This is a good way to avoid the new error message with pip , this way no problem ! thanks best Henri Le 27/09/2024 à 23:46, Nils Bruin a écrit : Have you tried importing and using the modul

[sage-support] Re: Support for schemdraw.logic.logic Module in Sage

2024-09-27 Thread Nils Bruin
Have you tried importing and using the module in Sage? Sage is ultimately just a python library, with a bit of a modified shell to do some preprocessing on the input to provide some conveniences for mathematics. I would expect this module to just work. If you're finding that there is a nontrivi

[sage-support] Re: Problems viewing crystals from sage

2024-09-26 Thread Anne Schilling
Was the issue that Andrew describes fixed with ticket 36529? I still seem to have a similar issue with the view command. Best wishes, Anne On Tuesday, December 12, 2023 at 7:36:52 PM UTC-8 John H Palmieri wrote: > Please add comments to that ticket. > > On Tuesday, December 12, 2023 at 6:15:31

Re: [sage-support] Re: View does not work

2024-09-26 Thread Dima Pasechnik
On Thu, Sep 26, 2024 at 11:04 PM Trey Davis wrote: > > It still doesn't work...any logs or something I should post? We'd appreciate more details on how you run Sage and invoke view, and what exactly you see in the error message. E.g. if you run Sage in a WSL terminal and invoke view() at sage: p

[sage-support] Re: View does not work

2024-09-26 Thread Trey Davis
It still doesn't work...any logs or something I should post? On Sunday, August 4, 2024 at 9:24:55 PM UTC-4 Kwankyu wrote: > Does anyone on linux platform experience sporadic "no pdf file" symptom? > > If so, please report to https://github.com/sagemath/sage/pull/38339. > > On Monday, July 8, 20

[sage-support] Re: strange plot

2024-09-25 Thread Nils Bruin
On Wednesday 25 September 2024 at 08:34:09 UTC-7 julian...@gmail.com wrote: Hi Fernando, I believe that problem is that: sage: min(x, y) x It may be less than ideal, but given that "min" is a built-in function which by the looks of it just picks the first element from its argument such that o

[sage-support] Re: strange plot

2024-09-25 Thread julian...@gmail.com
Hi Fernando, I believe that problem is that: sage: min(x, y) x In your call the min is evaluated once for the symbolic variables x and y and then the values of x and y (which does not show up anymore) are plugged in for the plot. I have no idea if that's how min is supposed to work. In any ca

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-15 Thread Dima Pasechnik
Curiously, this might be a regression in meson 1.3.2 (or perhaps your OS mangles it somehow), as Sage carries 1.3.1. Anyhow, the current meson version is 1.5.1, so both of these are old. On Sun, Sep 15, 2024 at 2:17 PM Kevin Youren wrote: > > Dima, > > well done and thank you! > > I started the

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-15 Thread Kevin Youren
Dima, well done and thank you! I started the rebuild very soon after your suggestion. The build is doing the html doc stage, well passed the scipy. I think I did 5 or 6 builds that failed. There was no freeze. Thank you very much, regards, Kevin On Sunday 15 September 2024 at 20:37:59 UT

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-15 Thread Dima Pasechnik
That's unfortunate, and it might be a bug in the meson/meson-python/ninja versions installed on your machine. (that's a curse of LTS versions, they often remain with old buggy versions). You can check if using instead versions vendored by Sage would work. Run ./configure --with-system-meson=no --

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-14 Thread Kevin Youren
Thanks for your suggestions, but the run still stops in the scipy steps. # Sep 15 - no luck, stopped at 10:01 export NINJA_ARGS="-j1" export JOBS=1 make This time slightly earlier. [scipy-1.12.0] [spkg-install] [1001/1610] Compiling C object scipy/io/matlab/_streams.cpython-312-x86_64-linux-gn

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-14 Thread Dima Pasechnik
On Sat, Sep 14, 2024 at 7:00 AM Kevin Youren wrote: > > Dima, > > thanks for the hint, > > but > > export NINJA_ARGS="-j4" > make > > didn't work. It still 'froze' . Could you try -j1 rather than -j4 ? And also export JOBS=1 > > > Restarting > > using > export NINJA_ARGS="-j4" > make > > is wor

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-13 Thread Kevin Youren
Dima, thanks for the hint, but export NINJA_ARGS="-j4" make didn't work. It still 'froze' . Restarting using export NINJA_ARGS="-j4" make is working using the export and the make, but the scipy steps still had the 12 cpus at 100% together with the fan noise. When scipy finished , the m

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-13 Thread Dima Pasechnik
On 13 September 2024 14:20:01 BST, Kevin Youren wrote: >Thanks Oscar, > >If I can work out how to do the pip install, I will try the -j1. Did you try my suggestion, with exporting variables? These export statements can be put into build/pkgs/scipy/spkg-install.in Oscar's hack can also be done

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-13 Thread Kevin Youren
Thanks Oscar, If I can work out how to do the pip install, I will try the -j1. The simple thing is, make by itself is supposed to NOT have multiple instances running. At the moment, I run make, it uses multiple cpus, but not all 12. When it gets to scipy , it uses all 12 cpus, then "overheats

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-13 Thread Oscar Benjamin
On Thu, 12 Sept 2024 at 14:25, Dima Pasechnik wrote: > > Sage merely invokes pip to build scipy from source. > > Indeed, apart from ninja paralellism there is meson parallelism, > which is controlled by JOBS env. variable (?). > Note that JOBS should be just a number. I think meson just delegates

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-12 Thread Dima Pasechnik
Sage merely invokes pip to build scipy from source. Indeed, apart from ninja paralellism there is meson parallelism, which is controlled by JOBS env. variable (?). Note that JOBS should be just a number. On Thursday, September 12, 2024 at 10:29:10 AM UTC+1 oscar.j@gmail.com wrote: > On

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-12 Thread Oscar Benjamin
On Thu, 12 Sept 2024 at 09:31, Dima Pasechnik wrote: > > scipy itself is not built with configure/make, it's built with meson, ... > There is no direct way to specify a non-default "-j" value, however it > appears to be possible to do this via meson, > which invokes ninja via "meson compile". Ho

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-12 Thread Dima Pasechnik
scipy itself is not built with configure/make, it's built with meson, which invokes ninja (a faster replacement for make, in particular it parallelizes the tasks much better - but in your case it goes overboard with it). You can see it in your log: [spkg-install] Found ninja-1.11.1 at /usr/bin/nin

[sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-11 Thread Kevin Youren
Thanks for replying, Eric I did precisely what you suggested, tried make -j4, but no luck. I even opened and read my paper book "GNU Make" by Stallman. So, I tried "make" by itself, and it did slow it down a bit. However scipy simply took over all 12 cpus, at lightning speed. The advantage of

[sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-11 Thread Eric Gourgoulhon
Hi, >From the log file: [spkg-install] g++: fatal error: Killed signal terminated program cc1plus This points towards a maximum memory reached. You may decrease the number of threads in the parallel build, e.g. using make -j4 instead of make -j8. Best regards, Eric. -- You received this me

Re: [sage-support] Re: Possible problem with our interfaces to maxima

2024-09-01 Thread Emmanuel Charpentier
Ticket filed . This boils down to *“upgrade to Maxima 5.47.0”*. HTH, ​ Le dimanche 25 août 2024 à 11:49:43 UTC+2, jan.gro...@gmail.com a écrit : > Hi > > Debian Stable's maxima 46 also shows the error: > > 0 jan@jan-latitude:~$dpkg -l maxima|grep

  1   2   3   4   5   6   7   8   9   10   >