Re: [sage-devel] Re: conda sage

2024-03-13 Thread Isuru Fernando
Hi William, Let me know if you have any questions regarding conda installation of sage. It'd be great to have more visibility towards conda installation to attract more users and developers in particular who can help out. Thanks, Isuru On Sun, Mar 10, 2024 at 7:37 PM William Stein wrote: >

Re: [sage-devel] Unable to `load` or `import/cimport` Cython files into Sage while developing

2023-12-31 Thread Isuru Fernando
With conda, you can use sage on macOS 10.13. We supply our own linker built from Apple's sources. Isuru On Mon, Jan 1, 2024 at 5:08 AM Dima Pasechnik wrote: > > > On 31 December 2023 23:20:28 WET, Jing Guo wrote: > >It’s fine, I’m not building Sage on Mac anyway. > > You're doing a

Re: [sage-devel] Re: What was/is/will be the purpose of maintaining the Sage distribution?

2023-04-27 Thread Isuru Fernando
On Thu, Apr 27, 2023 at 1:00 PM Michael Orlitzky wrote: > On Thu, 2023-04-27 at 05:49 -0700, William Stein wrote: > > Hi, > > > > To what extent does or could Conda with a little more work solve most > > of these problems? There are some notes below from me poking around, > > and I'm very

Re: [sage-devel] Re: What was/is/will be the purpose of maintaining the Sage distribution?

2023-04-27 Thread Isuru Fernando
> it fails with "└─ sage is uninstallable because there are no viable options" We don't have a python 3.11 version of sage in conda yet. I started a PR manually as the automatic update failed for some reason. > What is it doing that first time, and why is it silent? It's very unnerving.

Re: [sage-devel] Re: MIgration to GitHub: Heads-up on org invitations

2023-02-01 Thread Isuru Fernando
Just wanted to mention that the invitation can be found at https://github.com/orgs/sagemath/invitation if you didn't get an email. Isuru On Wed, Feb 1, 2023 at 8:37 PM Matthias Koeppe wrote: > All invitations have now been sent out. > > Right now we have 180 members and 590 outstanding

Re: [sage-devel] Re: building from develop branch fails / openssl / MacOS 10.13.6

2023-01-30 Thread Isuru Fernando
Or use conda which supports all the way back to MacOS 10.9 Isuru On Mon, Jan 30, 2023 at 2:49 PM Matthias Koeppe wrote: > I think your best bet to continue using this machine is to install Linux > on it, replacing this old macOS version unsupported by Apple. > > On Monday, January 30, 2023 at

Re: [sage-devel] gap, gap_packages, binder and conda

2022-08-18 Thread Isuru Fernando
Have you tried installing the `gap` conda package which has all the gap packages including nq? Isuru On Wed, Aug 17, 2022 at 5:18 PM enriqu...@gmail.com wrote: > Hi everyone, > I would like to know why there are some gap packages included in the > standard package gap, some other ones included

Re: [sage-devel] Re: Proposal: downgrade some packages to experimental

2022-08-06 Thread Isuru Fernando
I haven't seen any reports about symengine.py failing to build. Can you open an issue? Isuru On Sat, Aug 6, 2022 at 1:55 PM John H Palmieri wrote: > Also, the various sage_numerical_backend_* packages fail to build, with > errors like > > > Error compiling Cython file: >

Re: [sage-devel] Re: System upgrades breaking sage frequently

2022-08-04 Thread Isuru Fernando
Hi Nils, We need to rebuild primecount for the latest primesieve version. That's why an older primesieve version was used. I've opened a PR at https://github.com/conda-forge/primecount-feedstock/pull/7 Can you try in a couple of hours and report back? Isuru On Wed, Aug 3, 2022 at 11:44 PM Nils

Re: [sage-devel] Re: System upgrades breaking sage frequently

2022-08-03 Thread Isuru Fernando
Hi Nils, Can you give me the commands that you did to get the primesive/conda error? I'd like to fix that. Isuru On Wed, Jul 27, 2022 at 4:52 AM Samuel Lelièvre wrote: > 2022-07-27 00:27 UTC, Matthias Koeppe: > > > > Only packages for which we have "spkg-configure.m4" scripts > > can be taken

Re: [sage-devel] Install SageMath in Red Hat Enterprise Linux Server

2022-02-03 Thread Isuru Fernando
See https://doc.sagemath.org/html/en/installation/conda.html Isuru On Thu, Feb 3, 2022 at 11:55 AM SAMANTA wrote: > Hi all, > I want to use SageMath on my Red Hat Enterprise Linux Server (version > 7.9). The mentioned binaries (in > http://ftp.riken.jp/sagemath/linux/64bit/index.html > ) are

Re: [sage-devel] Re: pari-jupyter is back

2021-12-10 Thread Isuru Fernando
You can do `conda install pari_jupyter -c conda-forge` to install pari_jupyter and pari in a conda environment. Isuru On Fri, Dec 10, 2021 at 10:10 AM Murray Eisenberg wrote: > Under macOS Big Sur (11.6.1), I run jupyter under Anaconda's conda > environment (conda 4.10.3 and python 3.8.12) .

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Isuru Fernando
I suggest running `conda activate sage-build` and then doing a `make dist-clean`. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Isuru Fernando
ne tell > conda to install pari (and libpari) into sage-build? > > > > On Thu, Nov 11, 2021 at 9:56 PM Isuru Fernando wrote: > > > > > Can one install Sage on macOS 12 using (mini)Conda at all ? > > > > Sure. It should work fine. Bug reports are welcome. > > >

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Isuru Fernando
not work due to a recent restructure of sage build system) Isuru On Thu, Nov 11, 2021 at 4:04 PM Dima Pasechnik wrote: > > > On Thu, Nov 11, 2021 at 9:56 PM Isuru Fernando wrote: > >> > Can one install Sage on macOS 12 using (mini)Conda at all ? >> >> Sure

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Isuru Fernando
For this issue, you need setuptools 58 or higher. Or remove the line https://github.com/sagemath/sage/blob/f5efe4883f348e01ca3069ed82bf517a4de337f6/build/bin/sage-build-env#L174 Isuru -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Isuru Fernando
> Can one install Sage on macOS 12 using (mini)Conda at all ? Sure. It should work fine. Bug reports are welcome. Isuru On Thu, Nov 11, 2021 at 3:38 PM Dima Pasechnik wrote: > Hi Harald, > > We don't have Sage ported to macos 12 yet, I am afraid. > We have been fighting macos 11 until April,

Re: [sage-devel] Remove nose package?

2021-09-29 Thread Isuru Fernando
> > On Wed, Sep 29, 2021 at 5:35 PM Isuru Fernando wrote: > >> Building the nose package requires 'use_2to3' in setuptools, but the >> latest setuptools version >> has dropped support for 'use_2to3'. We can either run 2to3 manually or >> drop the nose >

[sage-devel] Remove nose package?

2021-09-29 Thread Isuru Fernando
Building the nose package requires 'use_2to3' in setuptools, but the latest setuptools version has dropped support for 'use_2to3'. We can either run 2to3 manually or drop the nose package. Since nose hasn't had an update since 2016 and is unmaintained, I think it's time to drop it. Isuru -- You

Re: [sage-devel] alternative approach to distributing sage -- jupyterlab_app

2021-09-24 Thread Isuru Fernando
> Maybe the conda or JupyterLab community has tools for this, but Marc Culler's experience with [1] is that getting the Apple Developer subscription solves at most 10% of the problem. If one is building an application with Xcode, then signing is trivial, but for apps built with other tools it's a

Re: [sage-devel] alternative approach to distributing sage -- jupyterlab_app

2021-09-22 Thread Isuru Fernando
fact that I don't have a macOS machine with a GUI to try things out. I only have access to a macOS machine through SSH. > William > > > > On Wed, Sep 22, 2021 at 11:50 AM Isuru Fernando wrote: > > > > This should be easy to set up. > > > > I have a small PO

Re: [sage-devel] alternative approach to distributing sage -- jupyterlab_app

2021-09-22 Thread Isuru Fernando
This should be easy to set up. I have a small POC that works for x86_64-apple-darwin (intel macs), arm64-apple-darwin (Apple silicon), x86_64-linux-gnu, aarch64-linux-gnu. Signing is a bit tricky to set up. curl -L -O

Re: [sage-devel] Refactoring/modularization work on the Symbolic Ring

2021-08-27 Thread Isuru Fernando
Here's the correct benchmark script, https://gist.github.com/isuruf/857e2236d2443ebd9085273b3e6ada3b Isuru On Fri, Aug 27, 2021 at 2:14 PM Isuru Fernando wrote: > Hi, > > On Fri, Aug 27, 2021 at 1:23 PM William Stein wrote: > >> Hello Isuru -- thanks for popping in to com

Re: [sage-devel] Refactoring/modularization work on the Symbolic Ring

2021-08-27 Thread Isuru Fernando
Hi, On Fri, Aug 27, 2021 at 1:23 PM William Stein wrote: > Hello Isuru -- thanks for popping in to comment! > > On Fri, Aug 27, 2021 at 10:56 AM Isuru Fernando wrote: > > > > Hi, > > > > A SymEngine maintainer here. > > > > > Pynac has a lot of I

Re: [sage-devel] Refactoring/modularization work on the Symbolic Ring

2021-08-27 Thread Isuru Fernando
n't expand 2*a - (b + a) automatically unless specifically asked to, while SymPy does. If there's specific functionality you are looking for, please let us know and we'll probably be able to find someone to do it through GSoC. Isuru Fernando On Fri, Aug 27, 2021 at 12:45 PM William Stein wr

Re: [sage-devel] 9.4.rc2, dochtml failed if configured with CC=clang and CXX=clang++ (gcc was used sometimes?)

2021-08-17 Thread Isuru Fernando
is compiled with `-fopenmp` with clang (meaning it needs to be linked with libomp from LLVM), but linked with `-fopenmp` with gcc (meaning it links to libgomp from GNU). To fix this, you'll have to set env variable LDSHARED="clang -pthread -shared" Isuru Fernando On Tue, Aug 17, 2021

Re: [sage-devel] 9.4.rc2, dochtml failed if configured with CC=clang and CXX=clang++ (gcc was used sometimes?)

2021-08-17 Thread Isuru Fernando
Did you rebuild python? You might have to do "make distclean". Isuru -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To

Re: [sage-devel] linbox does not build with clang (sage 9.4.bet4)

2021-07-09 Thread Isuru Fernando
You can replace `-fabi-version=6` with `-D__GXX_ABI_VERSION=1006`. Isuru On Fri, Jul 9, 2021 at 4:51 AM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > Dear all, > > I tried to build sage 9.4.beta4 using clang 12.0.0. It failed for > linbox with > > /usr/bin/bash ../../libtool --tag=CXX

Re: [sage-devel] conda pari refused by spkg-configure.m4

2021-06-30 Thread Isuru Fernando
Thanks. I've updated pari to 2.13 and rebuilt all downstreams. Please try updating your pari version in conda. Isuru On Mon, Jun 28, 2021 at 5:31 PM Dima Pasechnik wrote: > there is a check for pari version; your pari has version 133892, but > Sage wants 2.13.1 (i.e. 134401) > > git blame

Re: [sage-devel] conda pari refused by spkg-configure.m4

2021-06-28 Thread Isuru Fernando
That's normal. It first checks without any libs and then with -lpari. See configure lines below. Isuru for ac_lib in '' pari; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_cxx_try_link "$LINENO";

Re: [sage-devel] conda python3 and system python3

2021-06-28 Thread Isuru Fernando
Looks like the check for misconfigured python is a little bit too extreme. If sysconfig's CFLAGS includes any path in the environment's CFLAGS, then it shouldn't be considered misconfigured. Isuru On Mon, Jun 28, 2021 at 4:35 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > Hello, > >

[sage-devel] Re: sage 9.3 now available on Apple silicon through conda

2021-06-20 Thread Isuru Fernando
st for the first thing I tried! Here's a little benchmark: > > > > sage: a = random_matrix(GF(7),1) > > sage: %time b=a*a > > CPU times: user 1min 2s, sys: 3.99 s, total: 1min 6s > > Wall time: 10.9 s > > > > vs my random remote intel server: > > > >

[sage-devel] Re: sage 9.3 now available on Apple silicon through conda

2021-06-20 Thread Isuru Fernando
Is there anyone with a M1 Mac who can test this out? It'd be great to see how much of sage works. Isuru -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sage-devel] python3-3.9.2 failed to build while running 'sage -i pynormaliz' (ModuleNotFoundError: No module named 'binascii')

2021-06-20 Thread Isuru Fernando
conda doesn't have pynormaliz yet. You can install normaliz through conda and pynormaliz through pip conda create -n sage sage=9.3 python=3.9 conda activate sage conda install normaliz export NORMALIZ_LOCAL_DIR=$CONDA_PREFIX pip install pynormaliz Isuru On Sun, Jun 20, 2021 at 12:05 PM Dima

[sage-devel] sage 9.3 now available on Apple silicon through conda

2021-06-08 Thread Isuru Fernando
To get a native conda on Apple silicon, run the following curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh bash Mambaforge-$(uname)-$(uname -m).sh Start a new session and then you can create a new environment with sage,

Re: [sage-devel] lcalc upstream

2021-05-04 Thread Isuru Fernando
https://gitlab.com/sagemath/lcalc Isuru On Tue, May 4, 2021 at 6:26 PM François Bissey wrote: > Hi all, > > Do we have a fork and repo for lcalc to add our changes? > Some lcalc headers are currently preventing sage to compile with gcc-11 > and rather than just adding some more patch to lcalc

Re: [sage-devel] [ARM] Problem on M1 Mac through a Docker Ubunt image

2021-02-16 Thread Isuru Fernando
Hi, You can use conda packages on aarch64 to provide all the dependencies for a sage development build. (Or sage itself if you are not developing on that machine) Isuru On Mon, Feb 15, 2021 at 1:34 PM William Stein wrote: > > > On Mon, Feb 15, 2021 at 9:24 AM Gonçalo Almeida > wrote: > >>

Re: [sage-devel] Re: incremental migration to github? [prompted by FUNDING issues!!!]

2021-01-07 Thread Isuru Fernando
It should be sagemath.zulipchat.com right? (Instead of .org) Isuru On Thu, Jan 7, 2021 at 2:47 PM David Roe wrote: > > > On Thu, Jan 7, 2021 at 3:30 PM Harald Schilly wrote: > >> On Thu, Jan 7, 2021 at 9:23 PM Dima Pasechnik wrote: >> > Harald - can you take care of this? >> > >> >> Uhm,

Re: [sage-devel] Apple M1 Chip

2020-11-24 Thread Isuru Fernando
At conda-forge, we are using a gfortran fork ( https://github.com/iains/gcc-darwin-arm64) and it works great so far. scipy, numpy test suites pass. Isuru On Tue, Nov 24, 2020 at 12:49 PM François Bissey wrote: > That would be a new fortran compiler. I did builds in the past with > the intel

Re: [sage-devel] Re: Apple M1 Chip

2020-11-24 Thread Isuru Fernando
See https://conda-forge.org/blog/posts/2020-10-29-macos-arm64/ I added sage to the build of macos-arm64 packages and the progress can be seen at https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/status/armosxaddition.svg?sanitize=true Isuru On Tue, Nov 24, 2020 at 9:51 AM

Re: [sage-devel] Ubuntu 20.10 build of 9.3beta1 failing on fplll

2020-11-12 Thread Isuru Fernando
Sage should probably add --without-qd to https://github.com/sagemath/sage/blob/9.3.beta1/build/pkgs/fplll/spkg-install.in#L30 Isuru On Thu, Nov 12, 2020 at 3:43 PM Dima Pasechnik wrote: > On Thu, Nov 12, 2020 at 9:40 PM Kiran Kedlaya wrote: > > > > I'm trying to build Sage 9.3beta1 on my

Re: [sage-devel] How do I report a bug in Sage 9.2 (app version) for macOS?

2020-11-10 Thread Isuru Fernando
Is your firewall blocking https://conda.anaconda.org/conda-forge/noarch/_r-mutex-1.0.1-anacondar_1.tar.bz2 ? Isuru On Tue, Nov 10, 2020 at 1:09 PM Murray Eisenberg wrote: > I get an unexpected error doing that (with conda/anaconda already > installed): > > # >> ERROR REPORT

Re: [sage-devel] Re: Apple on ARM

2020-10-29 Thread Isuru Fernando
conda-forge provides sage=9.2 binaries on linux-aarch64. Installers are at https://github.com/conda-forge/miniforge#download To install sage, follow the directions at https://doc.sagemath.org/html/en/installation/conda.html We have started initial support for osx-arm64 platform as well, but it's

Re: [sage-devel] Numpy crashing on sage 9.2.RC0

2020-10-12 Thread Isuru Fernando
different >>>> TARGETS. I can try to pursue this, but the easy fix for now is that if >>>> people want to install openblas via homebrew they should install from >>>> source. >>>> >>>> On Monday, October 12, 2020 at 2:09:28 PM

Re: [sage-devel] Numpy crashing on sage 9.2.RC0

2020-10-12 Thread Isuru Fernando
ry to pursue this, but the easy fix for now is that if > people want to install openblas via homebrew they should install from > source. > > On Monday, October 12, 2020 at 2:09:28 PM UTC-4 dim...@gmail.com wrote: > >> On Mon, Oct 12, 2020 at 6:17 PM Isuru Fernando wrote: >> > >>

Re: [sage-devel] Numpy crashing on sage 9.2.RC0

2020-10-12 Thread Isuru Fernando
I looked at the openblas formula in homebrew and they are not passing the TARGET option. When using DYNAMIC_ARCH=1, a target should be specified. Isuru On Mon, Oct 12, 2020 at 11:34 AM Zachary Scherr wrote: > In case anyone is curious, I've tracked the problem down to homebrew's > openBLAS and

Re: [sage-devel] gsl build failure on Centos 6

2020-07-24 Thread Isuru Fernando
This is an issue with the openblas build. You might need https://github.com/conda-forge/openblas-feedstock/blob/master/recipe/0002-Fix-gfortran-detection-for-ctng-based-cross-compilers.patch (That patch was not sent upstream because it breaks other gcc builds. Need to figure out a patch that works

Re: [sage-devel] Re: Porting sagemath to Raspberry Pi OS

2020-07-09 Thread Isuru Fernando
wrote: > > > On Thu, 9 Jul 2020, 17:07 Isuru Fernando, wrote: > >> Hi, >> >> In conda-forge, we have all the dependencies of sage for aarch64 already >> built except for gap and rpy2. >> If those two are done, we can build sage the library and you can use

Re: [sage-devel] Re: Porting sagemath to Raspberry Pi OS

2020-07-09 Thread Isuru Fernando
Hi, In conda-forge, we have all the dependencies of sage for aarch64 already built except for gap and rpy2. If those two are done, we can build sage the library and you can use conda-forge to install a binary version of sage. Any help is appreciated. Isuru On Thu, Jul 9, 2020 at 9:09 AM Jaap

Re: [sage-devel] CentOS binary (via binary-pkg)

2020-06-22 Thread Isuru Fernando
That document seems to be written by a person who only had a cursory look at conda without realizing that there are options that you could use to avoid these issues. As Dima said, if they want you to install from source, they should provide a compiler and other tools that you can use to compile

Re: [sage-devel] CentOS binary (via binary-pkg)

2020-06-22 Thread Isuru Fernando
avoiding conda on the > cluster I am trying to use. > > I think I will post the question about binary-pkg to the github issues > page for that project. > > Best, > Franco > > On Sat, Jun 20, 2020 at 2:54 PM Isuru Fernando wrote: > >> Have you looked at installing

Re: [sage-devel] CentOS binary (via binary-pkg)

2020-06-20 Thread Isuru Fernando
Have you looked at installing sage from conda? It's a package manager that can be installed without root privileges and you don't have to compile sage because it's already compiled. https://doc.sagemath.org/html/en/installation/conda.html Isuru On Sat, Jun 20, 2020 at 1:44 PM Franco Saliola

Re: [sage-devel] Crash Report - please help

2020-06-18 Thread Isuru Fernando
Hi, Can you send the output of running, conda list -n sage Isuru On Thu, Jun 18, 2020 at 3:42 PM Nujcharee Haswell wrote: > Download Sage from coda forge today and also from > http://www.mirrorservice.org/sites/www.sagemath.org/osx/index.html > Want to SageMath on Jupyter notebook. I am on

Re: [sage-devel] Re: AttributeError: type object 'sage.misc.lazy_import.LazyImport' has no attribute '__div__'

2020-06-14 Thread Isuru Fernando
Here's the traceback. Isuru $sage -c 1+1 SageMath version 9.1, Release Date: 2020-05-20 Traceback (most recent call last): File

[sage-devel] AttributeError: type object 'sage.misc.lazy_import.LazyImport' has no attribute '__div__'

2020-06-14 Thread Isuru Fernando
I'm trying to package sage 9.1 for conda and I get this error with latest Cython 0.29.20 If I downgrade to Cython 0.29.12, the error goes away. Any ideas? Isuru -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and

Re: [sage-devel] Linking to libstdc++

2020-06-13 Thread Isuru Fernando
y. > More seriously, it may have been because the linker used was gcc instead > of g++ even when linking > C++ code. We know there is/was that issue about C/C++ compiler in > distutils (I haven’t been keeping > track, are we still patching python for that in distros?). > > > On 14/06

[sage-devel] Linking to libstdc++

2020-06-13 Thread Isuru Fernando
Hi, Anybody know why sage is linking to libstdc++? https://github.com/sagemath/sage/blob/cdb4c0b073efce77b08de4aa24df6583cdb74fa3/src/setup.py#L371-L374 In OSX, we don't need libstdc++, because we are using libc++. Git history says it was added 13 years ago by William Stein. Isuru -- You

Re: [sage-devel] Error installing package openblas-0.3.6.p0 on mac

2020-05-18 Thread Isuru Fernando
That looks like a bug in Xcode 7.3, can you update your Xcode version? Isuru On Mon, May 18, 2020 at 8:06 PM Valentin Buciumas < valentin.buciu...@gmail.com> wrote: > Hello, > > I tried installing Sage 9.0 from the source code on my mac (operating > system macOS Catalina 10.15.4) and got an

Re: [sage-devel] Packaging Sage?

2020-05-10 Thread Isuru Fernando
At conda, we don't use system packages at all and use `python setup.py` to build the sage python package. https://github.com/conda-forge/sagelib-feedstock/blob/master/recipe/build.sh#L25-L42 Isuru On Sun, May 10, 2020 at 10:19 AM Thierry Thomas wrote: > Le dim. 10 mai 20 à 16:02:51 +0200,

Re: [sage-devel] Re: https://wiki.sagemath.org/ReleaseTours/sage-9.1

2020-04-18 Thread Isuru Fernando
I've added the changes from 9.0 to standard packages which is of interest to packagers of sage. Isuru On Thu, Apr 16, 2020 at 7:36 AM Eric Gourgoulhon wrote: > Le mardi 14 avril 2020 20:36:38 UTC+2, Matthias Koeppe a écrit : >> >> Let's prepare https://wiki.sagemath.org/ReleaseTours/sage-9.1

Re: [sage-devel] Re: Poll: make giacpy_sage a standard package

2020-02-04 Thread Isuru Fernando
How is making this standard affect the plans for making sage pip installable? This would be the first package in a while that depends on sage-the-library that is also standard in sage-the-distribution. Isuru -- You received this message because you are subscribed to the Google Groups

Re: [sage-devel] Error building Sage 9.0 on CentOS 7.5

2020-01-30 Thread Isuru Fernando
> " WARNING: 'aclocal-1.15' is missing on your system." Which seems unimportant since it's followed with the text "You only need it if..." with reasons that don't pertain to me. One possible reason is that somehow the timestamps for the files got messed up. Easiest solution would be to install

Re: [sage-devel] fail to build fflas_ffpack on 9.1. beta1

2020-01-24 Thread Isuru Fernando
Permission issue is a different issue. This happens when configure is run the second time. For example, the following fails touch foo.pc chmod -w foo.pc cp foo.pc bar.pc cp foo.pc bar.pc Isuru On Fri, Jan 24, 2020 at 5:27 AM Dima Pasechnik wrote: > On Wed, Jan 22, 2020 at 2:20 PM Vincent

Re: [sage-devel] 9.1.beta0 build failure on Arch

2020-01-23 Thread Isuru Fernando
, Dima Pasechnik > escribió: > >> > >> On Wed, Jan 22, 2020 at 5:20 PM Isuru Fernando > wrote: > >> > > >> > [root@50586643ff22 /]# pkg-config --modversion blas > >> > 0.3.7 > >> > [root@50586643ff22 /]# pkg-config --modv

Re: [sage-devel] 9.1.beta0 build failure on Arch

2020-01-23 Thread Isuru Fernando
ch box? Sorry, I'm using docker for this. Isuru On Thu, Jan 23, 2020 at 11:11 AM Dima Pasechnik wrote: > On Wed, Jan 22, 2020 at 5:20 PM Isuru Fernando wrote: > > > > [root@50586643ff22 /]# pkg-config --modversion blas > > 0.3.7 > > [root@50586643ff22 /]# pkg-co

Re: [sage-devel] 9.1.beta0 build failure on Arch

2020-01-22 Thread Isuru Fernando
: > On Wed, Jan 22, 2020 at 5:03 PM Isuru Fernando wrote: > > > > > On Arch, does cblas.pc exist? > > > > Yes. > > Thanks. I wonder what on Arch is the output of > > pkg-config --modversion X > > for X in [cblas,blas,lapack,openblas] > > > >

Re: [sage-devel] 9.1.beta0 build failure on Arch

2020-01-22 Thread Isuru Fernando
> On Arch, does cblas.pc exist? Yes. > this is system-dependent. Yes, that's why we need to have fallbacks. Isuru On Wed, Jan 22, 2020 at 11:00 AM Dima Pasechnik wrote: > On Wed, Jan 22, 2020 at 4:17 PM Isuru Fernando wrote: > > > > > maybe they split openblas.s

Re: [sage-devel] 9.1.beta0 build failure on Arch

2020-01-22 Thread Isuru Fernando
uld only be expected to provide blas. A solution would be to check that `blas.pc`, `cblas.pc`, `lapack.pc` are already on the system and if not copy `openblas.pc` to the three names. Isuru On Wed, Jan 22, 2020 at 10:14 AM Isuru Fernando wrote: > > errors we see here, regarding absence o

Re: [sage-devel] 9.1.beta0 build failure on Arch

2020-01-22 Thread Isuru Fernando
) libdl.so.2 => /usr/lib/libdl.so.2 (0x7f848ed0c000) [root@50586643ff22 /]# ls -al /usr/lib/libblas.so.3 lrwxrwxrwx 1 root root 22 Aug 20 10:35 /usr/lib/libblas.so.3 -> libopenblasp-r0.3.7.so Isuru On Wed, Jan 22, 2020 at 10:09 AM Dima Pasechnik wrote: > > > On Wed,

Re: [sage-devel] 9.1.beta0 build failure on Arch

2020-01-22 Thread Isuru Fernando
There's also a 3rd bug which is in fflas-ffpack which assumes that if there's no cblas, then it's not openblas. This can be fixed by copying the lines https://github.com/linbox-team/fflas-ffpack/blob/2d3af1a5bec51983b5a896fae12e60914d9bdc4d/fflas-ffpack/config-blas.h#L315-L317 to Line 311 above

Re: [sage-devel] 9.1.beta0 build failure on Arch

2020-01-22 Thread Isuru Fernando
> But Arch does not do this, it instead provides dog-slow CBLAS and LAPACK, built from another (reference, i.e. no assembler, no optimisation) implementation. This is simply not true. CBLAS's performance does not depend on which implementation it comes from. CBLAS's performance depends on the

Re: [sage-devel] Re: drop python2 compatibility in 9.1 ?

2020-01-10 Thread Isuru Fernando
On Fri, Jan 10, 2020 at 3:53 PM E. Madison Bray wrote: > On Fri, Jan 10, 2020 at 10:41 AM Timo Kaufmann > wrote: > > > > I have said this before, but I feel like the point was dropped out of > the discussion so I'll stress it again. The major issue here is *not* the > compatibility of sage's

[sage-devel] Re: Bad CEq in Find_Equations

2019-12-31 Thread Isuru Fernando
Fixed it. It was a bad build of PALP built with -DNDEBUG. Isuru On Wed, Jan 1, 2020 at 5:34 AM Isuru Fernando wrote: > I get thousands of test failures in 9.0.rc1 due to an error from palp. Any > ideas? > > Isuru > > sage: toric_varieties.dP6() > Bad

[sage-devel] Bad CEq in Find_Equations

2019-12-31 Thread Isuru Fernando
I get thousands of test failures in 9.0.rc1 due to an error from palp. Any ideas? Isuru sage: toric_varieties.dP6() Bad CEq in Find_Equations --- ValueErrorTraceback (most recent call last)

Re: [sage-devel] Re: sage-system-python use in runtime

2019-12-31 Thread Isuru Fernando
30, 2019 at 9:57:25 PM UTC-8, Isuru Fernando wrote: >> >> I'm trying to build sage 9.0.rc1 for conda. For conda what I do is I run, >> 1. Run configure >> 2. cp src/bin/* to /bin >> 3. cp src/ext/* to /share/sage/ext >> 4. run `python setup.py install` in src >

[sage-devel] sage-system-python use in runtime

2019-12-30 Thread Isuru Fernando
I'm trying to build sage 9.0.rc1 for conda. For conda what I do is I run, 1. Run configure 2. cp src/bin/* to /bin 3. cp src/ext/* to /share/sage/ext 4. run `python setup.py install` in src This has worked fine until 8.9 In 9.0 some scripts in `src/bin/` use `sage-system-python` which is in

Re: [sage-devel] Sage 8.9 build fails on macOS Catalina

2019-12-21 Thread Isuru Fernando
You can install gfortran from conda (conda install fortran-compiler) or homebrew (brew install gcc) and sage would pick it up. Isuru On Sat, Dec 21, 2019 at 11:26 AM Dima Pasechnik wrote: > On Sun, Dec 22, 2019 at 12:34 AM Clayton Cafiero > wrote: > > > > I'd like to be able to build packages

Re: [sage-devel] Static libraries

2019-12-19 Thread Isuru Fernando
On Thu, Dec 19, 2019 at 9:43 PM Dima Pasechnik wrote: > On Mon, Dec 16, 2019 at 7:32 PM E. Madison Bray > wrote: > > > > On Thu, Oct 10, 2019 at 9:24 PM Dima Pasechnik > wrote: > > > > > > On Debian gp (from pari/gp) links statically to libpari, for > performance reasons. > > > > Okay, but

Re: [sage-devel] CentOS installation problems

2019-11-12 Thread Isuru Fernando
On Tue, Nov 12, 2019 at 11:21 AM Mike Zabrocki wrote: > So make freetype-clean > returns: > > make build/make/Makefile --stop > > make[1]: Entering directory `/usr/local/sage-8.9' > > make[1]: `build/make/Makefile' is up to date. > > make[1]: Leaving directory `/usr/local/sage-8.9' > >

Re: [sage-devel] Linux install fails

2019-11-07 Thread Isuru Fernando
What does ldd /home/tengely/software/sage-8.9/local/lib/liblinbox.so.0 give you? Looks like libgomp used at runtime is older than what is at build time. Isuru On Thu, Nov 7, 2019 at 4:07 PM Dima Pasechnik wrote: > sagenb build error is a red herring here. > > the problem is that Sage, needed

Re: [sage-devel] MacOS 10.15.1: gfortran does not compile in sage-8.9

2019-11-01 Thread Isuru Fernando
Can you do `source /Volumes/Transcend/wooster/computer-algebra/anaconda3/bin/activate -p /Volumes/Transcend/wooster/computer-algebra/anaconda3/envs/mac1015-env` ? On Fri, Nov 1, 2019 at 1:39 PM David Joyner wrote: > > > On Fri, Nov 1, 2019 at 1:25 PM Isuru Fernando wrote: >

Re: [sage-devel] MacOS 10.15.1: gfortran does not compile in sage-8.9

2019-11-01 Thread Isuru Fernando
You need to activate the sage environment which would set SAGE_ROOT. `conda activate mac1015-env` Isuru On Fri, Nov 1, 2019 at 6:07 AM David Joyner wrote: > > > On Thu, Oct 31, 2019 at 9:58 PM Isuru Fernando wrote: > >> Try installing sage to a new environment instead

Re: [sage-devel] MacOS 10.15.1: gfortran does not compile in sage-8.9

2019-10-31 Thread Isuru Fernando
Try installing sage to a new environment instead of an existing one. On Thu, Oct 31, 2019 at 5:31 PM David Joyner wrote: > > > On Wed, Oct 30, 2019 at 6:04 PM Dima Pasechnik wrote: > >> I think at the moment most people who tried cannot build Sage on MacOS >> 10.15 with Xcode 11.1 (the latest

Re: [sage-devel] sagemath 8.9 is not complied on macOS Catalina with python3

2019-10-18 Thread Isuru Fernando
Yes, sage on conda-forge supports python 2.7, 3.6 and 3.7 on linux (glibc x86_64) and osx-64. Isuru On Fri, Oct 18, 2019 at 11:07 AM Dima Pasechnik wrote: > It's hit and miss for Sage to build on Catalina, I think the latest > Xcode cannot not build it. > Otherwise there is an option to use

Re: [sage-devel] Error installing scipy-1.2.0 when compiling sage math 9.0.beta1

2019-10-13 Thread Isuru Fernando
DriverKit19.0.sdk > drwxr-xr-x 8 root wheel 256 12 sep 05:13 MacOSX.sdk > lrwxr-xr-x 1 root wheel 10 8 oct 15:28 MacOSX10.15.sdk -> MacOSX.sdk > > > Le 13 oct. 2019 à 17:16, Isuru Fernando a écrit : > > Hi, > > Do you have the folder > /Applications/Xco

Re: [sage-devel] Error installing scipy-1.2.0 when compiling sage math 9.0.beta1

2019-10-13 Thread Isuru Fernando
eveloper/SDKs/MacOSX10.14.sdk > --disable-bootstrap --enable-languages=fortran > Thread model: posix > gcc version 7.4.0 (GCC) > > > Le 13 oct. 2019 à 16:47, Isuru Fernando a écrit : > > Hi, > > This is a problem with gfortran using an incorrect linker. > > Ca

Re: [sage-devel] Error installing scipy-1.2.0 when compiling sage math 9.0.beta1

2019-10-13 Thread Isuru Fernando
Hi, This is a problem with gfortran using an incorrect linker. Can you post the output of, /Users/dcoudert/sage3/sage/local/bin/gfortran -print-prog-name=ld /Users/dcoudert/sage3/sage/local/bin/gfortran -v Isuru On Sun, Oct 13, 2019 at 8:21 AM David Coudert wrote: > confetti:lib

Re: [sage-devel] NTL error with conda sage

2019-09-27 Thread Isuru Fernando
s of full rank.") >2036 >2037 if include_zero_rows: > > ValueError: ntl only computes HNF for square matrices of full rank. > > > On 28/09/2019, at 11:26 AM, Isuru Fernando wrote: > > > > Hi, > > > > Running > > > &

[sage-devel] NTL error with conda sage

2019-09-27 Thread Isuru Fernando
Hi, Running matrix(ZZ,3,[1..9]).hermite_form(algorithm='ntl') in sage from conda results in the process exiting with "halt 2" as opposed to catching the NTL LogicError (child class of std::runtime_error) and raising a python exception. Any ideas on why this is? Isuru -- You received this

Re: [sage-devel] NTL 11.3.4

2019-09-08 Thread Isuru Fernando
easier. > It's a bit more coding to do, so that's why I asked for comments on the rest before doing that. Isuru > On Saturday, September 7, 2019 at 11:23:14 PM UTC-4, Isuru Fernando wrote: >> >> I spent a few hours today adding a CMake build system as you mentioned >> that

Re: [sage-devel] NTL 11.3.4

2019-09-07 Thread Isuru Fernando
I spent a few hours today adding a CMake build system as you mentioned that you are open to having a cmake build system. My work is at https://github.com/isuruf/ntl The CMake build system has all of the options in the perl script except for the wizard. You can try it by doing, cmake -DNATIVE=1

Re: [sage-devel] Re: Binary sage-8.7-OSX_10.11.6-x86_64.tar.bz2 doesn't work on my Mac

2019-08-12 Thread Isuru Fernando
You can try the conda package. https://github.com/sagemath/sage/blob/develop/src/doc/en/installation/conda.rst Isuru -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email

[sage-devel] How do you close a trac ticket?

2019-07-08 Thread Isuru Fernando
If there's another ticket for the same issue, how do you close the duplicate one? Isuru -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sage-devel] Building sage-8.8 from source fails due to flint

2019-07-08 Thread Isuru Fernando
Issue is that your system copy of ntl is a static library compiled without PIC. Try doing `./configure --without-system-ntl` which would build ntl and ignore the system copy. Isuru On Mon, Jul 8, 2019 at 12:27 PM E Poen wrote: > I'm using Ubuntu 18.04 with gcc 7.4.0, and I wanted to build

Re: [sage-devel] Sage 8.8 on conda-forge

2019-07-01 Thread Isuru Fernando
tests pass. Isuru > > Vincent > > Le 01/07/2019 à 21:43, Isuru Fernando a écrit : > > sage 8.8 is on conda-forge now. Packages are built for linux-64 and > osx-64 > > for python 2.7, 3.6 and 3.7 > > > > You can do, > > > > conda create -

[sage-devel] Sage 8.8 on conda-forge

2019-07-01 Thread Isuru Fernando
sage 8.8 is on conda-forge now. Packages are built for linux-64 and osx-64 for python 2.7, 3.6 and 3.7 You can do, conda create -n sage sage python=3.7 -c conda-forge to install sage. There were 7 patches to build sage. (trac tickets 25786, 26932, 28007, 28014, 28038, 28083, 28086). With the 7

Re: [sage-devel] Re: Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Isuru Fernando
ssue, but it somehow got fixed and I can't reproduce it anymore. Isuru > El domingo, 23 de junio de 2019, 16:25:45 (UTC+2), Isuru Fernando escribió: >> >> In the conda package for gap, we packaged almost all of the gap packages >> (136 of 145) and sage pexpect gives

Re: [sage-devel] Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Isuru Fernando
6.2, PrimGrp 3.3.2, SmallGrp 1.3, TransGrp 2.0.4 > > It is clear that we don't have the same setup! What did i miss in the > installation? > > Vincent > > Le 23/06/2019 à 16:44, Isuru Fernando a écrit : > > Yes, gap.load_package("tomlib") works and runn

Re: [sage-devel] Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Isuru Fernando
te: > does > > sage: gap.load_package("tomlib") > > work? > > if it does, do you get the same error message if you run your command > after this one? > > On Sun, 23 Jun 2019 15:25 Isuru Fernando, wrote: > >> In the conda package for gap, we packaged almost al

[sage-devel] Gap pexpect error when most Gap packages are installed

2019-06-23 Thread Isuru Fernando
In the conda package for gap, we packaged almost all of the gap packages (136 of 145) and sage pexpect gives an error for the following, sage: SymmetricGroup(7).conjugacy_classes_subgroups() saying, RuntimeError: Gap produced error output Error, sorry, the GAP Tables Of Marks Library is not

  1   2   >