Re: [sage-devel] Trouble building from source

2021-06-04 Thread Dima Pasechnik
On Sat, 5 Jun 2021, 06:02 Ben Wyser, wrote: > I've attempted to build Sage from source, and it failed due to an error > building OpenBLAS. The log files, as well as a screenshot giving the > rundown on my system, are attached. Most likely your system has OpenBLAS you can use, and not build fro

[sage-devel] Re: sage 9.3 import numpy as np crashes

2021-06-04 Thread Matthias Koeppe
This is likely https://trac.sagemath.org/ticket/31565 On Friday, June 4, 2021 at 4:53:35 AM UTC-7 Jan Groenewald wrote: > Hi > > We have some old machines in the computer lab with CPU > Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz > > On these machines in sage 9.3 (binary for Debian 10) the at

Re: [sage-devel] Threading and cypari

2021-06-04 Thread David Roe
On Fri, Jun 4, 2021 at 3:24 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > Thread support in cypari2 is definitely a reasonable requirement. > I don't think this is tested. > > It would be nice to > > 1) reproduce the segfault outside of sage only using python and > cypari2 > > 2) o

Re: [sage-devel] Threading and cypari

2021-06-04 Thread Vincent Delecroix
Thread support in cypari2 is definitely a reasonable requirement. I don't think this is tested. It would be nice to 1) reproduce the segfault outside of sage only using python and cypari2 2) open an issue on cypari2 development website at https://github.com/sagemath/cypari2. Best Vincent

[sage-devel] Threading and cypari

2021-06-04 Thread David Roe
Upgrading Sage from 9.2 to 9.3 breaks the LMFDB (segfaults on startup). We believe that the problem arises from an interaction between Pari and threads, and were able to duplicate it in Sage with the following: from concurrent.futures import ThreadPoolExecutor sage: with Th

Re: [sage-devel] attempting Sage build on M1

2021-06-04 Thread Dima Pasechnik
On Fri, 4 Jun 2021, 14:46 kcrisman, wrote: > > >>> Perhaps you need to run brew install openjpeg (or brew reinstall openjpeg) >>> Apparently doing this and sage -f pillow (+ its dependencies) fixed this >>> problem. I'm not sure why it was a problem in the first pla

Re: [sage-devel] attempting Sage build on M1

2021-06-04 Thread kcrisman
On what appears to be a completely different note, I cannot use Jupyter. I can do sage -n and it opens the GUI in the browser, but actually attempting to start a worksheet leads to a massive failure. $ ./sage -n ┌┐ │ SageMat

Re: [sage-devel] attempting Sage build on M1

2021-06-04 Thread kcrisman
> >> Perhaps you need to run >>> >>> brew install openjpeg >>> >>> (or brew reinstall openjpeg) >>> >>> >> Apparently doing this and sage -f pillow (+ its dependencies) fixed this >> problem. I'm not sure why it was a problem in the first place, though. >> > > basically, openjpeg install wa

Re: [sage-devel] attempting Sage build on M1

2021-06-04 Thread Dima Pasechnik
On Fri, 4 Jun 2021, 13:12 kcrisman, wrote: > > Perhaps you need to run >> >> brew install openjpeg >> >> (or brew reinstall openjpeg) >> >> > Apparently doing this and sage -f pillow (+ its dependencies) fixed this > problem. I'm not sure why it was a problem in the first place, though. > basic

Re: [sage-devel] attempting Sage build on M1

2021-06-04 Thread kcrisman
> Perhaps you need to run > > brew install openjpeg > > (or brew reinstall openjpeg) > > Apparently doing this and sage -f pillow (+ its dependencies) fixed this problem. I'm not sure why it was a problem in the first place, though. Think we need to add openjpeg to the brew list at https

Re: [sage-devel] attempting Sage build on M1

2021-06-04 Thread kcrisman
On Thursday, June 3, 2021 at 1:05:17 PM UTC-4 dim...@gmail.com wrote: > For cvxopt, you need to patch its setup.py (we already patch it, but > not this bit), > which at the moment says > if sys.platform.startswith("darwin"): > SUITESPARSE_LIB_DIR = '/usr/local/lib' > SUITESPARSE_INC_DIR = '