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