Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-15 Thread Dima Pasechnik
Curiously, this might be a regression in meson 1.3.2 (or perhaps your OS mangles it somehow), as Sage carries 1.3.1. Anyhow, the current meson version is 1.5.1, so both of these are old. On Sun, Sep 15, 2024 at 2:17 PM Kevin Youren wrote: > > Dima, > > well done and thank you! > > I started the

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-15 Thread Dima Pasechnik
That's unfortunate, and it might be a bug in the meson/meson-python/ninja versions installed on your machine. (that's a curse of LTS versions, they often remain with old buggy versions). You can check if using instead versions vendored by Sage would work. Run ./configure --with-system-meson=no --

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-14 Thread Dima Pasechnik
On Sat, Sep 14, 2024 at 7:00 AM Kevin Youren wrote: > > Dima, > > thanks for the hint, > > but > > export NINJA_ARGS="-j4" > make > > didn't work. It still 'froze' . Could you try -j1 rather than -j4 ? And also export JOBS=1 > > > Restarting > > using > export NINJA_ARGS="-j4" > make > > is wor

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-13 Thread Dima Pasechnik
gards, Kevin > > > >On Friday 13 September 2024 at 21:29:07 UTC+10 oscar.j@gmail.com wrote: > >> On Thu, 12 Sept 2024 at 14:25, Dima Pasechnik wrote: >> > >> > Sage merely invokes pip to build scipy from source. >> > >> > Indeed, apart from n

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-12 Thread Dima Pasechnik
: > On Thu, 12 Sept 2024 at 09:31, Dima Pasechnik wrote: > > > > scipy itself is not built with configure/make, it's built with meson, > ... > > There is no direct way to specify a non-default "-j" value, however it > appears to be possible to do this via

Re: [sage-support] Re: Error installing package scipy-1.12.0 in Develop

2024-09-12 Thread Dima Pasechnik
scipy itself is not built with configure/make, it's built with meson, which invokes ninja (a faster replacement for make, in particular it parallelizes the tasks much better - but in your case it goes overboard with it). You can see it in your log: [spkg-install] Found ninja-1.11.1 at /usr/bin/nin

Re: [sage-support] Re: Possible problem with our interfaces to maxima

2024-08-25 Thread Dima Pasechnik
On 25 August 2024 09:52:20 BST, Emmanuel Charpentier wrote: > > >*Correction :* > > - /usr/bin/maxima, the “standalone” version of maxima provided by Debian > testing, runs without error : > >(%i3) t:taylor(g, x4, 0, 8)$ (%i4) > > - /usr/local/sage-10/local/bin/maxima, “our” versi

Re: [sage-support] Re: MacOS 14.5 on M2 fails to build at gmp

2024-08-22 Thread Dima Pasechnik
I would remove the symbolic link 'sage' in /usr/local/bin/ Dima On 22 August 2024 15:27:25 BST, Ben Salisbury wrote: >I'm not sure how to tell what's supposed to be there and what isn't. Here >is my top level /usr/local/ > >salis1bt@MTH158053PE212 local % ls -ao > >total 0 > >drwxr-xr-x 9 r

Re: [sage-support] Possible problem with our interfaces to maxima

2024-08-22 Thread Dima Pasechnik
To see exactly how it fails in Maxima, it has to be initialised with the same options as passed to maxima_calculus. It loads several non-default Maxima packages. I suppose one of the latter triggers the error in question. On 22 August 2024 12:04:31 BST, Emmanuel Charpentier wrote: > > >Inspi

Re: [sage-support] MacOS 14.5 on M2 fails to build at gmp

2024-08-20 Thread Dima Pasechnik
August 20, 2024 at 3:08:47 PM UTC-4 Dima Pasechnik wrote: > >> Why is gmp from Brew rejected? >> Please post top-level config.log >> >> >> >> On 20 August 2024 16:31:08 BST, Ben Salisbury wrote: >> >>> Hi. I'm trying to build Sage fr

Re: [sage-support] MacOS 14.5 on M2 fails to build at gmp

2024-08-20 Thread Dima Pasechnik
testing Brew's gmp errors out with not found. Something is funny with the Xcode installation, I presume On 20 August 2024 20:38:39 BST, Ben Salisbury wrote: >This one? I included the install.log, too, just for fun. > >On Tuesday, August 20, 2024 at 3:08:47 PM UTC-4 Dima P

Re: [sage-support] MacOS 14.5 on M2 fails to build at gmp

2024-08-20 Thread Dima Pasechnik
Why is gmp from Brew rejected? Please post top-level config.log On 20 August 2024 16:31:08 BST, Ben Salisbury wrote: >Hi. I'm trying to build Sage from source (the develop branch) on an M2 >MBAir running Sonoma 14.5 and the build continues to fail at gmp. I >downloaded a fresh copy of Comma

Re: [sage-support] Order of Variables of Polynomial Matters

2024-07-28 Thread Dima Pasechnik
t; The 1st one hits the Ref1 but 2nd one don't. That leads to ConstantPolynomial > Error. > > On Sunday, July 28, 2024 at 3:42:28 AM UTC+5:30 Dima Pasechnik wrote: >> >> On Sat, Jul 27, 2024 at 9:59 PM 'Animesh Shree' via sage-support >> wrote: >> &

Re: [sage-support] Order of Variables of Polynomial Matters

2024-07-27 Thread Dima Pasechnik
On Sat, Jul 27, 2024 at 9:59 PM 'Animesh Shree' via sage-support wrote: > > I saw this behavior > > sage: R1. = QQ[] > sage: R2. = QQ[] # Rearrange variables of R1 > sage: R1 > Multivariate Polynomial Ring in x, y, z over Rational Field > sage: R2 > Multivariate Polynomial Ring in z, x, y over Ra

Re: [sage-support] errors after install

2024-06-26 Thread Dima Pasechnik
It appears that FriCAS - one of the packages - is broken. Try reinstalling it, by running the following 3 commands make fricas-clean fricas-uninstall make fricas make build On 26 June 2024 18:23:01 BST, Kate Stange wrote: >Hi, > >I just did a fresh install of Sage and it runs: > >│ SageMath v

[sage-support] Re: [sage-devel] Re: Proposal (redo): Make pytest, pytest_mock, pytest_xdist + dependencies standard packages

2024-06-01 Thread Dima Pasechnik
On Sat, Jun 1, 2024 at 7:18 PM Matthias Koeppe wrote: > > I'll share some additional facts for everyone's convenience. > > The total size of these 5 wheel packages to be added in > https://github.com/sagemath/sage/pull/37301is about 500 kilobytes. (As a > comparison, that's 10% of the size of ou

Re: [sage-support] Errors building Sage 10.4.beta6 in Sonoma 14.5

2024-05-22 Thread Dima Pasechnik
The latest beta (10.4.beta6) has a number of problems on macOS. Either wait for the next beta, or check out the relevant PRs in our repo, github.com/sagemath/sage/pulls On 21 May 2024 17:35:03 BST, Jon Higa wrote: > >Jon Higa >Mar 25, 2024, 4:22:29 PM >to sage-support >I tried to build Sage 1

Re: [sage-support] Error building Sage, scipy 1.12

2024-05-02 Thread Dima Pasechnik
just in case, it could in principle also be low (virtual) disk allocated to WSL. On Thu, May 2, 2024 at 4:49 PM matteo verni wrote: > > Hi Jan, thanks for your help. > > I double checked: the memory allocated is 3.7 gb. Is that not enough? > By the way, I run it again and gave me the same Error >

Re: [sage-support] Error building sage

2024-04-24 Thread Dima Pasechnik
On Wed, Apr 24, 2024 at 12:28 AM Adrin Foster wrote: > > Error building Sage. > > The following package(s) may have failed to build (not necessarily > during this run of 'make all-start'): You're trying to use linuxbrew (not sure, intentionally or not) to build Sage. As a result, you get hit by a

Re: [sage-support] Jupyter Notebook crashes, then get connection refused error and cannot relaunch on mac

2024-04-23 Thread Dima Pasechnik
Dima Pasechnik wrote: > > On Tue, Apr 23, 2024 at 10:29 PM S Benton wrote: > > > We are not using the app. She downloaded SageMath-10.3_arm64.dmg from > > github., double clicked the executable and followed the installation > > instructions. To launch, she clicks t

Re: [sage-support] Jupyter Notebook crashes, then get connection refused error and cannot relaunch on mac

2024-04-23 Thread Dima Pasechnik
n Sage locally on your mac, but let's try things in turn first. Hope this helps, Dima > Thank you so much for responding. It is deeply appreciated. > > > > On Tuesday, April 23, 2024 at 4:05:17 PM UTC-4 Dima Pasechnik wrote: >> >> Hi, >> >> pleas

Re: [sage-support] Jupyter Notebook crashes, then get connection refused error and cannot relaunch on mac

2024-04-23 Thread Dima Pasechnik
Hi, please tell us more about the Sage version, and how you installed it, and how you launch the notebook. Do you use the Sagemath macOS app? Dima On 23 April 2024 20:05:12 BST, S Benton wrote: >Hi - at my wit's end here - my daughter is trying to use Sage Math Jupyter >Notebook for her co

Re: [sage-support] Re: Is there a way to use Sage's Jupyter outside the sage shell ?

2024-04-15 Thread Dima Pasechnik
On Mon, Apr 15, 2024 at 1:46 PM Henri Girard wrote: > I don't understand what you mean , but there is maybe a way you can use it > as I do in vs code ? > Le 15/04/2024 à 09:19, Matthias Koeppe a écrit : > > Yes, this is documented in > https://doc.sagemath.org/html/en/installation/launching.html#

Re: [sage-support] Is there a way to use Sage's Jupyter outside the sage shell ?

2024-04-08 Thread Dima Pasechnik
On Mon, Apr 8, 2024 at 7:16 PM Emmanuel Charpentier < emanuel.charpent...@gmail.com> wrote: > Setup : Sage 10.4.beta1 running on Ubuntu 22.04 LTS under WSL2 in Windows > 11 (don’t get me started…). I also installed emacs and its juyter > package, which is

Re: [sage-support] Ecc

2024-04-04 Thread Dima Pasechnik
On Sun, Mar 31, 2024 at 4:21 PM Rhythm Mundra wrote: > > Idk V9.4 ig > > On Sun, Mar 31, 2024, 5:43 PM Dima Pasechnik wrote: >> >> What Sage version is this? >> >> >> On 31 March 2024 11:28:08 BST, Rhythm Mundra

Re: [sage-support] Ecc

2024-03-31 Thread Dima Pasechnik
What Sage version is this? On 31 March 2024 11:28:08 BST, Rhythm Mundra wrote: >E = >EllipticCurve([0,788761626382194755868665317094167736044810256780630032698031345317313838358,0,96797989774847387504509857489893926962575497188447191529471387551670316582140331,9006619292060439383416727473141

[sage-support] Re: xz/liblzma has been compromised

2024-03-29 Thread Dima Pasechnik
and Homebrew. Please upgrade your Homebrew. It should do a downgrade: `brew upgrade` now "upgrades" xz from 5.6.1 -> 5.4.6 On Fri, Mar 29, 2024 at 7:36 PM Dima Pasechnik wrote: > > aand Conda: https://anaconda.org/anaconda/xz shows version 5.6.1 > > On Fri, Mar

[sage-support] Re: xz/liblzma has been compromised

2024-03-29 Thread Dima Pasechnik
aand Conda: https://anaconda.org/anaconda/xz shows version 5.6.1 On Fri, Mar 29, 2024 at 7:18 PM Dima Pasechnik wrote: > > https://www.openwall.com/lists/oss-security/2024/03/29/4 > > if your have xz 5.6.0 or 5.6.1 installed (e.g. Debian testing/unstable) > you have a backdoor

[sage-support] xz/liblzma has been compromised

2024-03-29 Thread Dima Pasechnik
https://www.openwall.com/lists/oss-security/2024/03/29/4 if your have xz 5.6.0 or 5.6.1 installed (e.g. Debian testing/unstable) you have a backdoored xz. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop r

Re: [sage-support] Errors building Sage 10.3 in Sonoma 14.3.1

2024-03-27 Thread Dima Pasechnik
ith-python=/opt/homebrew/opt/python@3.11/bin/python3.11 > make > > New logs attached. > > Thanks. > > On Wednesday, March 27, 2024 at 6:24:37 AM UTC-4 Dima Pasechnik wrote: > > sagemath doesn't officially support Python 3.12. > Can you try with 3.11 instead? > &g

Re: [sage-support] Errors building Sage 10.3 in Sonoma 14.3.1

2024-03-27 Thread Dima Pasechnik
On Mon, Mar 25, 2024 at 8:22 PM Jon Higa wrote: > I tried to build Sage 10.3 in Sonoma 14.3.1 on an M3 Pro. > >git clone https://github.com/sagemath/sage.git > >cd sage > >git checkout 10.3 > >brew upgrade > >export MAKE='make -j8' > >source .homebrew-build-env > >make

Re: [sage-support] Antisymmetry Definition in SageMath for DiGraphs

2024-03-18 Thread Dima Pasechnik
Hellen, On Monday, March 18, 2024 at 1:45:17 PM UTC Hellen Colman wrote: Yes, that terminology is not perfectly aligned between different areas in mathematics is a good takeaway we will definitely mention in the book. Thank you! In this case I understand that we are checking antisymmetric in a

Re: [sage-support] bug in plot?

2024-03-16 Thread Dima Pasechnik
On Fri, Mar 15, 2024 at 9:44 PM Nils Bruin wrote: > On Friday 15 March 2024 at 12:42:49 UTC-7 kcrisman wrote: > > Or rather, should the default be useoffset False? > > > Yes, I think that would be reasonable to do. Clearly, offsets being used > without the user knowing they exist can easily lead

Re: [sage-support] Antisymmetry Definition in SageMath for DiGraphs

2024-03-16 Thread Dima Pasechnik
This is now https://github.com/sagemath/sage/issues/37618 On Sat, Mar 16, 2024 at 12:42 PM Dima Pasechnik wrote: > Dear Hellen, dear Nils, > > On Fri, Mar 15, 2024 at 11:51 PM Nils Bruin wrote: > >> On Friday 15 March 2024 at 15:08:34 UTC-7 Hellen Colman wrote: >> &g

Re: [sage-support] Antisymmetry Definition in SageMath for DiGraphs

2024-03-16 Thread Dima Pasechnik
Dear Hellen, dear Nils, On Fri, Mar 15, 2024 at 11:51 PM Nils Bruin wrote: > On Friday 15 March 2024 at 15:08:34 UTC-7 Hellen Colman wrote: > > Let me just clarify the main point of his question just in case we can > still obtain a helpful answer. Essentially the question is: Why is Sage > calli

Re: [sage-support] bug in plot?

2024-03-15 Thread Dima Pasechnik
On 15 March 2024 19:42:48 GMT, kcrisman wrote: > > >it's not a bug, it's a feature. :-) >https://discourse.matplotlib.org/t/default-format-of-axis-offset-label/23162/2 > > >Correct. > >import matplotlib as mpl >mpl.rcParams['axes.formatter.useoffset'] = False >plot((x^2+0.0001)/(x^2+0.00010

Re: [sage-support] bug in plot?

2024-03-15 Thread Dima Pasechnik
On Fri, Mar 15, 2024 at 9:13 AM David Joyner wrote: > > > On Thu, Mar 14, 2024 at 8:17 PM Dima Pasechnik wrote: > >> >> >> On Fri, Mar 15, 2024 at 12:15 AM Dima Pasechnik >> wrote: >> >>> >>> >>> On Thu, Mar 14, 2024 at 9:32

Re: [sage-support] bug in plot?

2024-03-14 Thread Dima Pasechnik
On Fri, Mar 15, 2024 at 12:15 AM Dima Pasechnik wrote: > > > On Thu, Mar 14, 2024 at 9:32 PM Dima Pasechnik wrote: > >> >> >> On 14 March 2024 21:09:22 GMT, Nils Bruin wrote: >> >I get the impression that without setting ymin,ymax you just end up with >

Re: [sage-support] bug in plot?

2024-03-14 Thread Dima Pasechnik
On Thu, Mar 14, 2024 at 9:32 PM Dima Pasechnik wrote: > > > On 14 March 2024 21:09:22 GMT, Nils Bruin wrote: > >I get the impression that without setting ymin,ymax you just end up with > a > >tiny range for the y-axis and its labelling is just very weird. I think >

Re: [sage-support] bug in plot?

2024-03-14 Thread Dima Pasechnik
On 14 March 2024 21:09:22 GMT, Nils Bruin wrote: >I get the impression that without setting ymin,ymax you just end up with a >tiny range for the y-axis and its labelling is just very weird. I think the >labels displayed are shifted and scaled. So the error is just how the >labels are printed

Re: [sage-support] bug in plot?

2024-03-14 Thread Dima Pasechnik
It might help seeing your graphs here, too. On Thu, Mar 14, 2024 at 10:04 AM David Joyner wrote: > Hi: > > I'm trying to show my students a plot of > a rational function whose graph is basically 1, > so I plotted > f(x) = (x^2+0.0001)/(x^2+0.000101) > However, there is a problem: Note the di

Re: [sage-support] Antisymmetry Definition in SageMath for DiGraphs

2024-03-11 Thread Dima Pasechnik
On Mon, Mar 11, 2024 at 9:24 PM Samuel Lubliner wrote: > I've been exploring the concept of antisymmetry in DiGraphs within > SageMath and noticed a discrepancy between the standard mathematical > definition of an antisymmetric relation and SageMath's implementation for > DiGraphs. I'm looking fo

Re: [sage-support] Issues with real precision

2024-02-23 Thread Dima Pasechnik
On Friday, February 23, 2024 at 10:16:37 PM UTC dim...@gmail.com wrote: On Fri, Feb 23, 2024 at 05:00:42PM -0500, Fernando Gouvea wrote: > In an introductory probability class, one computes the probability of > getting all of n possible coupons in r individual purchases. The naive > approach

Re: [sage-support] Coordinate ring of `ToricVariety`

2024-01-25 Thread Dima Pasechnik
On Tue, Jan 23, 2024 at 6:29 PM Gareth Ma wrote: > > Hi all, > > I am working with `ToricVariety` within Sage, and I have a question. Say I > define a toric variety as follows: > > sage: PP = toric_varieties.WP([1, 3, 1]); PP > 2-d toric variety covered by 3 affine patches > sage: PP.linear_equiv

Re: [sage-support] Developer's guide and configure : the list of packages needs some updating

2024-01-23 Thread Dima Pasechnik
package names per distribution are in build/pkgs//distros/ so you might want to adjust debian.txt files there and submit a PR with these changes On 23 January 2024 07:44:43 GMT, Emmanuel Charpentier wrote: > > >For installation from source on Debian, a few packages have incorrect names >in t

Re: [sage-support] Question related to Sagemath permission on Github

2024-01-21 Thread Dima Pasechnik
On 21 January 2024 12:25:23 GMT, Juan Grados wrote: >I have a question about how you deal with deletion policies in Sagemath. >Specifically, I plan to create a repository with many people involved. This >repo MUST have several admins (who can potentially delete the repo). To >protect the repo f

Re: [sage-support] Re: Sage seems to incorrectly evaluate fractional powers of complexes

2024-01-04 Thread Dima Pasechnik
to check them in Mathematica, the limitations of >the current Mathematica interface make this bothersome…). > >IMHO, this would deserve a critiocal ticket (possibly a blocker one), but I >do not know how to report this efficiently. Suggestions welcome… open an issue with this data there &

[sage-support] Re: Sage seems to incorrectly evaluate fractional powers of complexes

2024-01-04 Thread Dima Pasechnik
You can get the same errors from pure Maxima if you set domain to "complex", no? On Thursday, January 4, 2024 at 10:29:56 AM UTC Emmanuel Charpentier wrote: > The problem seems Sage-specific : the same systems solve correctly (up to > numerical noise) in “pure” Maxima : > ;;; Loading #P"/usr/li

Re: [sage-support] Re: Problem with plot

2023-12-16 Thread Dima Pasechnik
It's probably just a build error. I'd try something like make sage_conf && make On Sat, Dec 16, 2023 at 9:36 AM Emmanuel Charpentier wrote: > > Le mercredi 13 décembre 2023 à 12:35:42 UTC+1, Philippe Delavalade a écrit : > > Hi. > > I'm using sage-10.2 with linux (slint-15.0 based on slackware 1

Re: [sage-support] Problem with rebuilding Sage

2023-12-15 Thread Dima Pasechnik
On Fri, Dec 15, 2023 at 7:00 PM Ruchit Jagodara wrote: > > I am trying to rebuild sage using ./sage -br but it is failing for some > reason ( I don't know exactly what is the reason.) This is happening to me > since yesterday when I pulled developer branch from sage to get the most > updated br

Re: [sage-support] smith form may be too slow

2023-12-14 Thread Dima Pasechnik
On Thu, Dec 14, 2023 at 12:52 PM Dima Pasechnik wrote: > > On Thu, Dec 14, 2023 at 5:37 AM Nils Bruin wrote: > > > > (side note: Q is generally considered a PID, but indeed it makes little > > sense worrying about Smith normal form over it) > > > > Conce

Re: [sage-support] smith form may be too slow

2023-12-14 Thread Dima Pasechnik
197 return locals['_sage_eval_returnval_'] 198 else: --> 199 return eval(source, sage.all.__dict__, locals) File :1 NameError: name 'x' is not defined > > > On Thursday 14 December 2023 at 04:05:47 UTC+13 Enrique Artal wrote: >> >> It is over t

Re: [sage-support] smith form may be too slow

2023-12-13 Thread Dima Pasechnik
On Wed, Dec 13, 2023 at 10:55 AM Enrique Artal wrote: > > I have the toy example belowto compare the direct use of smith_form and the > combination of hermite_form and smith_form. > > Last execution (there are random inputs) gave: > CPU times: user 2.22 s, sys: 5.93 ms, total: 2.23 s Wall time:

Re: [sage-support] Availability of sage 9.6 through conda/mamba?

2023-12-05 Thread Dima Pasechnik
sues with individual Sage parts, but I don't know where the bottlenecks are. Dima > > thanks > > Henri > > Le 05/12/2023 à 11:10, Dima Pasechnik a écrit : > > > On 5 December 2023 08:12:16 GMT, oscar bg wrote: >> >> any update on conda support for newer Sage

Re: [sage-support] Availability of sage 9.6 through conda/mamba?

2023-12-05 Thread Dima Pasechnik
9 AM UTC+1 Luis Garcia-Puente wrote: > >> How can I update to a newer version of sage on Mac OS using mamba? >> >> On Tuesday, July 12, 2022 at 3:57:27 AM UTC-6 Dima Pasechnik wrote: >> >>> On Tue, Jul 12, 2022 at 10:48 AM Henri Girard >>> wrote: >>>

Re: [sage-support] Re: Calling Sage on Windows from external scripts

2023-12-03 Thread Dima Pasechnik
We are actually removing Cygwin support in Sage, so yes, going forward it will be WSL only. On 3 December 2023 14:21:13 GMT, Sean Fitzpatrick wrote: >Thanks David. > >It sounds like that will require some changes in PreTeXt itself. > >I was experimenting because I got a new Windows computer at

Re: [sage-support] Re: limitations of "solve"?

2023-12-03 Thread Dima Pasechnik
Yes, Sage modifies the defaults of Maxima, in particular we set domain to complex. On 3 December 2023 12:28:45 GMT, Oscar Benjamin wrote: >On Wed, 29 Nov 2023 at 12:40, Eric Gourgoulhon wrote: >> >> Le mardi 28 novembre 2023 à 18:25:04 UTC+1, kcrisman a écrit : >> >> Yes. Maxima's attitude is

Re: [sage-support] Re: limitations of "solve"?

2023-11-28 Thread Dima Pasechnik
one should not be using sagecell.sagemath.org server for teaching, it's not scaling well (compared to cocalc.com, say) under load. unleashing undergraduates to compute on it surely gets things very slow there On 28 November 2023 15:45:33 GMT, Eric Gourgoulhon wrote: >Hi, > >I've also noticed

Re: [sage-support] Build errors for sage_numerical_backends_[coin, gurobi]

2023-11-09 Thread Dima Pasechnik
confirmed, see https://github.com/sagemath/sage-numerical-backends-coin/issues/9 On Wednesday, November 8, 2023 at 11:32:55 PM UTC Dima Pasechnik wrote: > these could be due to the switch to Cython 3, with these optional packages > needed porting work > > On Wed, 8 Nov 2023,

Re: [sage-support] Build errors for sage_numerical_backends_[coin, gurobi]

2023-11-08 Thread Dima Pasechnik
these could be due to the switch to Cython 3, with these optional packages needed porting work On Wed, 8 Nov 2023, 18:57 'Peter Mueller' via sage-support, < sage-support@googlegroups.com> wrote: > On up-to-date Archlinux and Manjaro machines, I get build errors of the > packages sage_numerical_b

Re: [sage-support] Computing the kernel of a map between polynomial algebras

2023-10-30 Thread Dima Pasechnik
n Mon, Oct 30, 2023 at 9:02 PM Dima Pasechnik wrote: > > > > On Mon, 30 Oct 2023, 20:50 Dima Pasechnik, wrote: >> >> >> >> On Mon, 30 Oct 2023, 20:25 John H Palmieri, wrote: >>> >>> >>> >>> On Monday, October 30, 2023 at 12:2

Re: [sage-support] Computing the kernel of a map between polynomial algebras

2023-10-30 Thread Dima Pasechnik
On Mon, 30 Oct 2023, 20:50 Dima Pasechnik, wrote: > > > On Mon, 30 Oct 2023, 20:25 John H Palmieri, > wrote: > >> >> >> On Monday, October 30, 2023 at 12:28:18 PM UTC-7 Dima Pasechnik wrote: >> >> On Mon, Oct 30, 2023 at 5:04 PM John H Palmieri &g

Re: [sage-support] Computing the kernel of a map between polynomial algebras

2023-10-30 Thread Dima Pasechnik
On Mon, 30 Oct 2023, 20:25 John H Palmieri, wrote: > > > On Monday, October 30, 2023 at 12:28:18 PM UTC-7 Dima Pasechnik wrote: > > On Mon, Oct 30, 2023 at 5:04 PM John H Palmieri > wrote: > > > > Are endomorphisms better to work with? I might be able to extend

Re: [sage-support] Computing the kernel of a map between polynomial algebras

2023-10-30 Thread Dima Pasechnik
are "already there", as if phi is an endomorphism then ker(phi) is generated by a-phi(a) - so whenever phi(a)=a this reduces to 0. > > On Monday, October 30, 2023 at 7:14:16 AM UTC-7 Dima Pasechnik wrote: >> >> On Mon, Oct 30, 2023 at 12:54 PM Kwankyu wrote: >> >

Re: [sage-support] Computing the kernel of a map between polynomial algebras

2023-10-30 Thread Dima Pasechnik
> h21*xi1^9 + h30*xi1^8 + h20*xi2^4 + h31*xi1 > h41 |--> h31*xi1^16 + h21*xi2^8 > sage: %time phi.is_injective() > CPU times: user 15.7 s, sys: 101 ms, total: 15.8 s > Wall time: 15.9 s > True > > I've seen this on two different machines: roughly double the t

Re: [sage-support] Computing the kernel of a map between polynomial algebras

2023-10-30 Thread Dima Pasechnik
can split the problem into cases 1) xi1=0 2) h21=h20=0 (but perhaps it's only specific to this particular example) > > On Monday, October 30, 2023 at 6:08:16 PM UTC+9 Dima Pasechnik wrote: >> >> >> >> On Mon, 30 Oct 2023, 05:57 John H Palmieri, wrote: >>> &

Re: [sage-support] Computing the kernel of a map between polynomial algebras

2023-10-30 Thread Dima Pasechnik
On Mon, 30 Oct 2023, 05:57 John H Palmieri, wrote: > Does anyone have any tips for how to compute the kernel of a map between > polynomial algebras, or for checking whether the map is injective? I have > families of such maps involving algebras with many generators. I'm working > over GF(2), if t

Re: [sage-support] Re: Canonical divisor help

2023-10-27 Thread Dima Pasechnik
github.com/sagemath/sage/commit/977ace651af9b99689f7b6507f91f8b4e2588ae9#r131117132 fortunately, the author, @kwankyu is active I can't locate the ticket, but it was merged in 9.0.beta9 > > > On Friday, October 27, 2023 at 3:51:10 PM UTC-7 Dima Pasechnik wrote: >> >>

Re: [sage-support] Re: Canonical divisor help

2023-10-27 Thread Dima Pasechnik
By the way, the docstring of divisor() misses an example, it's def divisor(self, v, base_ring=None, check=True, reduce=True): r""" Return the divisor specified by ``v``. .. WARNING:: The coefficients of the divisor must be in the base ring and

Re: [sage-support] help debugging latex() printing with trace()

2023-10-27 Thread Dima Pasechnik
On Fri, Oct 27, 2023 at 1:03 AM Eric Majzoub wrote: > > I would like to debug the latex printing of an expression that ambiguous. > > To reproduce it: > t = var('t') > x = function('x')(t) > latex( diff(x,t)^2 ) > > This produces ambiguous output, essentially: > > partial_t x^2 > > instead of > >

Re: [sage-support] Re: scipy fails to build in sage 10.2.beta4 on fedora 38

2023-09-25 Thread Dima Pasechnik
On Mon, Sep 25, 2023 at 10:42 PM Eric Majzoub wrote: > > > I have the python package mesonpy installed... > Perhaps I'm not setting my python path appropriately, but > PYTHONPATH=/usr/lib/python3.11/site-packages > points right to it. To use it, you see to run ./configure with --enable-system-sit

[sage-support] Re: Contributing to SageMath

2023-09-25 Thread Dima Pasechnik
Why are you posting the same question (https://groups.google.com/g/sage-devel/c/lIvGAAY_zEo/m/ChF0AN4aBwAJ) here? It was answered in this thread: https://groups.google.com/g/sage-devel/c/lIvGAAY_zEo/m/ChF0AN4aBwAJ On Monday, September 25, 2023 at 10:30:11 PM UTC+1 Saatvik Rao wrote: > Hello dev

Re: [sage-support] scipy fails to build in sage 10.2.beta4 on fedora 38

2023-09-25 Thread Dima Pasechnik
On Mon, Sep 25, 2023 at 10:30 PM Eric Majzoub wrote: > > Fresh clone of git repository of sage. I issued: > > cd sage > ./bootstrap > ./configure --no-create --no-recursion > make > > I've attached the log file for the scipy fail. this is a known bug. Fixed in https://github.com/sagemath/sage/pul

Re: [sage-support] Re: Error building sage: cython-0.29.36 will not build

2023-09-24 Thread Dima Pasechnik
On Sun, Sep 24, 2023 at 2:45 PM Dima Pasechnik wrote: > > On Sun, Sep 24, 2023 at 2:10 PM David Ayotte wrote: > > > > Quick update: I tried rebuilding SageMath after doing a "make distclean", > > and now the compilation goes further,

Re: [sage-support] Re: Error building sage: cython-0.29.36 will not build

2023-09-24 Thread Dima Pasechnik
On Sun, Sep 24, 2023 at 2:10 PM David Ayotte wrote: > > Quick update: I tried rebuilding SageMath after doing a "make distclean", and > now the compilation goes further, but stops at SciPy. The error says: > > ModuleNotFoundError: No module named 'mesonpy' We need --- a/build/make/Makefile.

Re: [sage-support] Re: Installing SageMath 10.2.beta* in Ubuntu 22.04

2023-09-13 Thread Dima Pasechnik
On Wed, Sep 13, 2023 at 9:34 AM Eric Gourgoulhon wrote: > Hi, > > From the log files, all these failures have the same origin: > g++: fatal error: Killed signal terminated program cc1plus > This looks like insufficient amount of RAM available. 2Gb of RAM are a minimum for these Sage packages, p

Re: [sage-support] Re: Question about cysignals installation

2023-08-27 Thread Dima Pasechnik
On Sun, Aug 27, 2023 at 10:22 AM Nils Bruin wrote: > > I think it was written elsewhere that cysignals has not been ported to cython > 3.0.0 yet. In fact, sage as a whole hasn't been upgraded to compile with > cython 3.0.0 yet. This part of Sage - cysignals+cypari2 - is not in a good shape. Cyp

Re: [sage-support] Importing sympy breaks CyclotomicField

2023-08-18 Thread Dima Pasechnik
On Fri, Aug 18, 2023 at 12:02 PM Jan Groenewald wrote: > > Hi > > I am not sure that is a bug... > > sage: K = CyclotomicField(32) > sage: type(Integer) > > sage: from sympy import * > sage: type(Integer) > > sage: K = CyclotomicField(int(32)) I don't think it's a bug - "Integer" is not a reser

Re: [sage-support] Freshly installed sage crashes

2023-08-15 Thread Dima Pasechnik
On Tue, 15 Aug 2023, 07:41 'Michel VAN DEN BERGH' via sage-support, < sage-support@googlegroups.com> wrote: > > > On Tuesday, August 15, 2023 at 8:11:35 AM UTC+2 Michel VAN DEN BERGH wrote: > > On Monday, August 14, 2023 at 10:45:32 AM UTC+2 Henri Girard wrote: > > Did you make a link to your comp

Re: [sage-support] Freshly installed sage crashes

2023-08-14 Thread Dima Pasechnik
On Mon, 14 Aug 2023, 09:32 'Michel VAN DEN BERGH' via sage-support, < sage-support@googlegroups.com> wrote: > I was unable to get the distro sage to work. I compiled sage from source > and this solved the problem. Sad though since I would have preferred to use > the distro version. > we are not i

Re: [sage-support] 3dplot not working with Ubuntu 20.00 / Firefox from "Ubuntu Software" (Ubuntu software center)

2023-08-07 Thread Dima Pasechnik
The bigger issue might be with firefox installed via snap. Then it has a seriously limited access to local files. On Mon, 7 Aug 2023, 06:39 Jan Groenewald, wrote: > Hi > > 20.04 (not 20.00) is a little old version now. I have had debian and/or > ubuntu not plot interactive plots (or sometimes

Re: [sage-support] Can not run make

2023-07-18 Thread Dima Pasechnik
t; > make[1]: *** [Makefile:56: build/make/Makefile] Error 1 > make[1]: Leaving directory '/home/macka/Sage/sage-10.0' > make: *** [Makefile:39: base-toolchain] Error 2 > > On Tuesday, 18 July 2023 at 2

Re: [sage-support] Can not run make

2023-07-18 Thread Dima Pasechnik
rst of all, as documented in https://github.com/sagemath/sage/#readme > > On Monday, 17 July 2023 at 22:30:51 UTC+10 Tim M wrote: >> >> OK I think I have it, if I download the source of version 10 from github I >> should be able to configure and make that. >> >&g

Re: [sage-support] Can not run make

2023-07-17 Thread Dima Pasechnik
On Mon, Jul 17, 2023 at 12:16 PM Tim M wrote: > > Thanks for responding. > > The output of ./ configure is as follows: > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a race-free mkdir -p... /usr/bin/mkdir -p > check

[sage-support] f.g. subrings of polynomial rings and their Hilbert-Poincare series

2023-07-04 Thread Dima Pasechnik
We're looking for the ways to deal in Sage with finitely generated subrings S= of the ring of polynomials R[x_1,...,x_n] (R a field) of multivariate polynomial rings and their Hilbert-Poincare series. Once you have a presentation for S, i.e. S isomorphic to R[y_1,...,y_k]/I, with I an ideal in app

Re: [sage-support] is_MPolynomial

2023-06-27 Thread Dima Pasechnik
this is now https://github.com/sagemath/sage/issues/35844 On Tue, Jun 27, 2023 at 1:40 PM Dima Pasechnik wrote: > > On Tue, Jun 27, 2023 at 12:54 PM Luis Finotti wrote: > > > > Hello, > > > > I am getting warnings that is_MPolynomial is deprecated.

Re: [sage-support] is_MPolynomial

2023-06-27 Thread Dima Pasechnik
On Tue, Jun 27, 2023 at 12:54 PM Luis Finotti wrote: > > Hello, > > I am getting warnings that is_MPolynomial is deprecated. The error suggests > to use > > isinstance(x, sage.structure.element.MPolynomial) > > But this gives an error: > > AttributeError: module 'sage.structure.element' has no a

Re: [sage-support] graph question about orientation of polyhedra

2023-06-19 Thread Dima Pasechnik
, 2023 at 2:00 PM Dima Pasechnik wrote: > > oh, right, what I suggested isn't what you asked for, sorry. > > > On Mon, 19 Jun 2023, 13:56 John Cremona, wrote: >> >> Thanks Dima for the suggestion. I'm not sure that this does what I need: >> the associated d

Re: [sage-support] graph question about orientation of polyhedra

2023-06-19 Thread Dima Pasechnik
on experimenting. My polyhedra are small and few enough that > check the orientations of each is not very time-consuming. > > John > > On Monday, June 19, 2023 at 12:08:18 PM UTC+1 Dima Pasechnik wrote: > >> On Mon, Jun 19, 2023 at 11:18 AM John Cremona >> wrote: >&g

Re: [sage-support] graph question about orientation of polyhedra

2023-06-19 Thread Dima Pasechnik
On Mon, Jun 19, 2023 at 11:18 AM John Cremona wrote: > > I have some quite small graphs which are polyhedral, each is the 1-skeleton > of a (connected convex) polyhedron such as a cube, tetrahedron, etc, > constructed from a list of edge pairs. > > I can get the faces of one of these, say G, via

Re: [sage-support] Sqrt of a matrix over Fp

2023-06-09 Thread Dima Pasechnik
On Fri, Jun 9, 2023 at 8:33 AM cyrille.piate...@univ-orleans.fr wrote: > > Hello (I do not know which is your given name), > > I think what you are searching is called Cholesky factorization. It is > implemented in SageMath this is not for finite fields, though. Cholesky only make sense for orde

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-06-01 Thread Dima Pasechnik
Sounds like RPATH has to used somewhere to make sure the correct dynamic library is used. On Thu, 1 Jun 2023, 17:46 Nils Bruin, wrote: > On Thursday, 1 June 2023 at 07:29:27 UTC-7 Luis Finotti wrote: > > > I am not sure I will miss them (and other packages that depended on it -- > fflas-ffpack

Re: [sage-support] Re: Error in compiling from source

2023-04-25 Thread Dima Pasechnik
ild directory of the > > same version of the package will, by default, be deleted. Set the > > environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. > > > make[1]: *** [all-start] Error 1 > > make: *** [all] Error 2 > > On Monday, April 24, 2023 at 7:00:20 PM UT

Re: [sage-support] Re: Error in compiling from source

2023-04-24 Thread Dima Pasechnik
please post config.log On Mon, Apr 24, 2023 at 12:27 PM dibyendu...@gmail.com wrote: > > [sagelib-9.8] error: subprocess-exited-with-error > > [sagelib-9.8] > > [sagelib-9.8] × python setup.py develop did not run successfully. > > [sagelib-9.8] │ exit code: 1 > > [sagelib-9.8] ╰─> See above for

Re: [sage-support] Cryptominisat in Sage

2023-04-21 Thread Dima Pasechnik
On Fri, 21 Apr 2023, 15:32 Dibyendu Roy, wrote: > Dear all, > > Could you please help me to install cryptominisat in Macbook m2. > > I am getting error after giving the following command > > sage: libgap.InstallPackage("Cryptominisat") > no wonder - cryptominisat is not a GAP package. If you ins

Re: [sage-support] Bug in GAP installation provided by SageMath?

2023-04-18 Thread Dima Pasechnik
That's because by default Sage's installation of AtlasRep does not fetch data from the internet: we patch local/lib/gap/pkg/atlasrep/gap/userpref.g so that it says default:= false; The reason is that our release manager runs build tests in an no internet mode, and something breaks without this pat

Re: [sage-support] Re: Segfault in braid group centralizer calculation

2023-04-17 Thread Dima Pasechnik
filed a bug in https://github.com/sagemath/sage/issues/35529 On Mon, Apr 17, 2023 at 9:42 AM Dima Pasechnik wrote: > > > On Mon, Apr 17, 2023 at 7:40 AM Tracy Hall wrote: > >> (error present at least from SageMath 8.2 until SageMath 9.8) >> > > in 10.0.beta9 one

Re: [sage-support] Re: Segfault in braid group centralizer calculation

2023-04-17 Thread Dima Pasechnik
On Mon, Apr 17, 2023 at 7:40 AM Tracy Hall wrote: > (error present at least from SageMath 8.2 until SageMath 9.8) > in 10.0.beta9 one gets sage: BG = BraidGroup(5) sage: b = BG([3, 3, 4, 3, 3, 2, 1, 4, 3, 2]); b s2^2*s3*s2^2*s1*s0*s3*s2*s1 sage: b.centralizer() double free or corruption (out)

Re: [sage-support] evaluate a string in the current scope

2023-04-16 Thread Dima Pasechnik
On Sun, Apr 16, 2023 at 9:32 PM G. M.-S. wrote: > > > Is there a way to evaluate a string in the current scope? > > So that > sage: expression > and > sage: some_evaluate(str(expression)) > give the same thing at the same place. > I know about sage_eval, but it seems to need a dictionary of everyt

Re: [sage-support] Testing forked branches

2023-04-09 Thread Dima Pasechnik
tion, but zero ways for doing it, so I did not dare >> ask… >> >> Guillermo >> >> On Sat, 8 Apr 2023 at 22:14, Dima Pasechnik wrote: >>> >>> >>> On Sat, 8 Apr 2023, 20:24 Drew Shotwell, wrote: >>>> >>>> I'm

  1   2   3   4   5   6   7   8   9   10   >