[sage-devel] Re: m4ri, pynormaliz, etc.

2024-08-02 Thread Matthias Koeppe
On Friday, August 2, 2024 at 6:59:13 PM UTC-7 Aaron Lauve wrote: is it also necessary if I've only made small changes to packages?... where it would ordinarily suffice to just run `sage -br`? Yes -- You received this message because you are subscribed to the Google Groups "sage-devel" group

[sage-devel] Bug in `factor` for multivariate polynomials over QQbar

2024-08-02 Thread 'Peter Mueller' via sage-devel
The line `R. = QQbar[]; factor(a^2 - 2*c^2)` raises a ValueError: variable name '@c' is not alphanumeric while the same line with `c` replaced with `b` works fine. This happens in a local installation of Sage 10.4 (and 10.5.beta0), but also on the SageCell. -- Peter Mueller -- You received t

[sage-devel] Re: m4ri, pynormaliz, etc.

2024-08-02 Thread Aaron Lauve
Duh. Sorry for the trouble. Everything compiled correctly. For future reference, is it also necessary if I've only made small changes to packages?... where it would ordinarily suffice to just run `sage -br`? On Friday, August 2, 2024 at 7:15:42 PM UTC-5 Matthias Koeppe wrote: > Yes, this step i

[sage-devel] Re: m4ri, pynormaliz, etc.

2024-08-02 Thread Matthias Koeppe
Yes, this step is important. On Friday, August 2, 2024 at 1:21:58 PM UTC-7 Aaron Lauve wrote: > Hmm... > Looking through the install-from-source-code advice, it looks like I may > have forgotten this step: > > .homebrew-build-env > > Is this necessary before I run > > make distclean

Re: [sage-devel] Re: m4ri, pynormaliz, etc.

2024-08-02 Thread Dima Pasechnik
On Fri, Aug 2, 2024 at 9:22 PM Aaron Lauve wrote: > > Hmm... > Looking through the install-from-source-code advice, it looks like I may have > forgotten this step: > > .homebrew-build-env > > Is this necessary before I run > > make distclean && make > > if I'm installing on a Mac and am

[sage-devel] Re: m4ri, pynormaliz, etc.

2024-08-02 Thread Aaron Lauve
Hmm... Looking through the install-from-source-code advice, it looks like I may have forgotten this step: .homebrew-build-env Is this necessary before I run make distclean && make if I'm installing on a Mac and am using homebrew to manage (many many) packages? On Friday, August 2

Re: [sage-devel] Sage-10.4 fails to build

2024-08-02 Thread François Bissey
On 3/08/24 08:06, Niranjana K M wrote: On Sat, Aug 3, 2024 at 1:29 AM François Bissey > wrote: On 3/08/24 07:17, Michael Orlitzky wrote: > On Fri, 2024-08-02 at 07:09 -0700, Niranjana K M wrote: >> At first I had flint-3.1.0 from Gentoo portage.

Re: [sage-devel] Sage-10.4 fails to build

2024-08-02 Thread Niranjana K M
On Sat, Aug 3, 2024 at 1:29 AM François Bissey wrote: > > > On 3/08/24 07:17, Michael Orlitzky wrote: > > On Fri, 2024-08-02 at 07:09 -0700, Niranjana K M wrote: > >> At first I had flint-3.1.0 from Gentoo portage. Got same errors and > build > >> failed. The I uninstalled flint and its dependent

Re: [sage-devel] Sage-10.4 fails to build

2024-08-02 Thread François Bissey
On 3/08/24 07:17, Michael Orlitzky wrote: On Fri, 2024-08-02 at 07:09 -0700, Niranjana K M wrote: At first I had flint-3.1.0 from Gentoo portage. Got same errors and build failed. The I uninstalled flint and its dependents from Gentoo and let the Sage choose its flint spkg. Again it also fail

Re: [sage-devel] Re: Sage-10.4 fails to build

2024-08-02 Thread dimpase
On Fri, Aug 02, 2024 at 09:40:03AM -0700, Matthias Koeppe wrote: > According to your log, this is a build failure using the experimental > option "./configure --enable-system-site-packages". > > This failure comes from use of system NumPy 2; try with > https://github.com/sagemath/sage/pull/38227

Re: [sage-devel] Sage-10.4 fails to build

2024-08-02 Thread Michael Orlitzky
On Fri, 2024-08-02 at 07:09 -0700, Niranjana K M wrote: > At first I had flint-3.1.0 from Gentoo portage. Got same errors and build > failed. The I uninstalled flint and its dependents from Gentoo and let the > Sage choose its flint spkg. Again it also failed with same errors. > These errors,

[sage-devel] Re: AI achieves silver-medal standard solving International Mathematical Olympiad problems

2024-08-02 Thread parisse
The geometry problem was not fully solved, in the sense that AlphaGeometry2 does not prove that the construction is feasible, as far as I understand, they do not construct point X and Y, they assume that such a construction exists " coll x b c; x != c; foot d i b c; perp x t1 t1 i; cong i t1 i d

Re: [sage-devel] Re: fflas-ffpack install fail

2024-08-02 Thread Gareth Ma
My `conda list`: https://gist.github.com/grhkm21/ac89913f1b168d96b3ffa67f37bcc2d5 config.log and package logs: https://gist.github.com/grhkm21/6146c6da5c884687b28c4de07e6567fb @Dima: As you can see from the output, I *did* install fflas-ffpack via Conda using `conda install fflas-ffpack`. IIR

Re: [sage-devel] Sage-10.4 fails to build

2024-08-02 Thread dimpase
On Fri, Aug 02, 2024 at 07:09:20AM -0700, Niranjana K M wrote: > At first I had flint-3.1.0 from Gentoo portage. Got same errors and build > failed. The I uninstalled flint and its dependents from Gentoo and let the > Sage choose its flint spkg. Again it also failed with same errors. I can confi

[sage-devel] Re: Sage-10.4 fails to build

2024-08-02 Thread Matthias Koeppe
According to your log, this is a build failure using the experimental option "./configure --enable-system-site-packages". This failure comes from use of system NumPy 2; try with https://github.com/sagemath/sage/pull/38227, which has a fix. On Friday, August 2, 2024 at 2:49:31 AM UTC-7 Niranjana

[sage-devel] Re: fflas-ffpack install fail

2024-08-02 Thread Matthias Koeppe
config.log please; also the result of "conda list" please, which gives a lot of relevant info when you try to build within a conda environment. On Wednesday, July 31, 2024 at 12:11:42 PM UTC-7 Gareth Ma wrote: > Hi, I'm running `make build` on latest dev branch, and I get the following > error:

Re: [sage-devel] Re: fflas-ffpack install fail

2024-08-02 Thread Dima Pasechnik
is there a reason for not using fflas-ffpack from Conda? (as far as I understand, you're building under Conda) fflas-ffpack from the system might not be compatible (e.g. if a different C++ compiler was used) On Fri, Aug 2, 2024 at 1:24 PM Gareth Ma wrote: > > Bumping this thread, since it's sto

[sage-devel] m4ri, pynormaliz, etc.

2024-08-02 Thread Aaron Lauve
I'm trying to update to sage 10.4.rc1 last local-working copy of sage was 10.4.rc0 [lauve@localhost sage %] git branch * develop [lauve@localhost sage %] git pull [lauve@localhost sage %] make distclean && make This aborts with an error building m4ri-20200125 package (error log attached). ..

Re: [sage-devel] Re: save is a memory hog

2024-08-02 Thread Salvatore Stella
Hi Julian, somehow reproducing this from the same dictionary loaded from a savefile yields less dramatic results. Here is what I am doing: sage: # this will downlod roughly 150 Mb of data load("http://people.disim.univaq.it/~salvatore.stella/tmp/bar.sobj";) Attempting to load remote file: http

Re: [sage-devel] Sage-10.4 fails to build

2024-08-02 Thread Niranjana K M
At first I had flint-3.1.0 from Gentoo portage. Got same errors and build failed. The I uninstalled flint and its dependents from Gentoo and let the Sage choose its flint spkg. Again it also failed with same errors. On Friday, August 2, 2024 at 5:53:19 PM UTC+5:30 Michael Orlitzky wrote: > On 2

[sage-devel] Re: fflas-ffpack install fail

2024-08-02 Thread Gareth Ma
Bumping this thread, since it's stopping me from reviewing tickets :) On Wednesday 31 July 2024 at 20:11:42 UTC+1 Gareth Ma wrote: > Hi, I'm running `make build` on latest dev branch, and I get the following > error: > > ``` > Error building Sage. > > The following package(s) may have failed to

Re: [sage-devel] Sage-10.4 fails to build

2024-08-02 Thread Michael Orlitzky
On 2024-08-02 15:19:03, Niranjana K M wrote: > Dear Sage developers, > Sage-10.4 fails to build on my computer running with Gentoo Linux. > It uses gcc-13.3.1 and python-3.12.3. > Sagemath is the master branch from git. > It fails to build sagelib-10.4. If i search for errors in log i could fin

[sage-devel] Re: save is a memory hog

2024-08-02 Thread julian...@fsfe.org
Hi Salvatore, I couldn't reproduce the problem that you are seeing. sage: R. = ZZ[] sage: D = {R.random_element(): ZZ.random_element() for _ in range(2**18)} sage: save(D, 'deleteme') The above uses a bit of RAM but not the amounts that you are seeing. Usually, I use memray to debug such proble

[sage-devel] save is a memory hog

2024-08-02 Thread Salvatore Stella
Dear All, while working with some big dictionaries I realized that save consumes a lot of RAM. Here is an example. Suppose foo is a dictionary whose keys are integer polynomials in three variables and whose values are integers. In my running example it has 342971 entries and it occupies 10 Mb