Re: [sage-support] Strange behavior when evaluating multivariate polynomials over integers modulo n

2021-03-08 Thread Dima Pasechnik
On Mon, Mar 8, 2021 at 12:27 PM Alex Braat wrote: > > Small update: > Replacing Integers(p^2) by QuotientRing(ZZ, p^2) seems to fix the issue. Could you open a trac ticket on this? It looks as if multivariate polynomial rings over Integers(p^2) are directly using Singular, but I don't think

Re: [sage-support] Using Cadabra2

2021-03-08 Thread Dima Pasechnik
On Mon, Mar 8, 2021 at 7:28 AM 'Daniel Volinski' via sage-support wrote: > > Hi Dima, > > This is a page in the Cadabra site: Cadabra: use with Jupyter > > I just want to calculate some General relativity stuff using Cadabra on a > Jupyter Notebook as shown in their picture. I'm able to build

Re: [sage-support] problem compiling sage 9.2 on RHEL 6

2021-03-08 Thread Dima Pasechnik
On Mon, Mar 8, 2021 at 12:48 PM 'Hackenberg, Klaus' via sage-support wrote: > > High, > > I installed Miniconda3 and then issued > > conda config --add channels conda-forge > conda create -n sage sage python=3.8.5 > conda activate sage > > and now " sage --version" tells me > > SageMath

AW: [sage-support] problem compiling sage 9.2 on RHEL 6

2021-03-08 Thread 'Hackenberg, Klaus' via sage-support
High, I installed Miniconda3 and then issued conda config --add channels conda-forge conda create -n sage sage python=3.8.5 conda activate sage and now " sage --version" tells me SageMath version 9.2, Release Date: 2020-10-24 hackekc6@dlp762 R --version R version 4.0.3 (2020-10-10) --

Re: [sage-support] Strange behavior when evaluating multivariate polynomials over integers modulo n

2021-03-08 Thread Alex Braat
Small update: Replacing Integers(p^2) by QuotientRing(ZZ, p^2) seems to fix the issue. Op maandag 8 maart 2021 om 10:34:06 UTC+1 schreef dim...@gmail.com: > On Mon, Mar 8, 2021 at 9:25 AM Alex Braat wrote: > > > > Hello, > > > > I have encountered some strange behavior when I evaluate

Re: [sage-support] problem compiling sage 9.2 on RHEL 6

2021-03-08 Thread Dima Pasechnik
You're now hacking numpy on a 7-year old CPU (that's your Intel(R) Xeon(R) CPU E7-4830 v2 @ 2.20GHz)... Probably its AVX support in gcc is a bit broken. Try CC="gcc -march=core2" make -j8 numpy (this should create a numpy build without AVX support) On Mon, Mar 8, 2021 at 11:49 AM 'Hackenberg,

AW: [sage-support] problem compiling sage 9.2 on RHEL 6

2021-03-08 Thread 'Hackenberg, Klaus' via sage-support
High, I upgraded gcc to 10.2.0 but that did not help. Regards Klaus -- Klaus Hackenberg IT-Systeme und Software-Integration IT.SERVICES Ruhr-Universität Bochum | 44780 Bochum fon: +49 234 32 23485 http://www.it-services.rub.de/ Von: sage-support@googlegroups.com Im Auftrag

Re: [sage-support] Strange behavior when evaluating multivariate polynomials over integers modulo n

2021-03-08 Thread Dima Pasechnik
On Mon, Mar 8, 2021 at 9:25 AM Alex Braat wrote: > > Hello, > > I have encountered some strange behavior when I evaluate multivariate > polynomials over the integers modulo n. For instance, > > In: > p = 3 > S = Integers(p^2) > R. = PolynomialRing(S) > f = x^2 * y^2 > print(f([S(p),S(1)]),

[sage-support] Strange behavior when evaluating multivariate polynomials over integers modulo n

2021-03-08 Thread Alex Braat
Hello, I have encountered some strange behavior when I evaluate multivariate polynomials over the integers modulo n. For instance, In: p = 3 S = Integers(p^2) R. = PolynomialRing(S) f = x^2 * y^2 print(f([S(p),S(1)]), f([S(1), S(p)])) Out: 1 0 while both evaluations should ofcourse be equal