[sage-devel] How to know what version of Maxima is sagemath using?

2025-07-30 Thread 'Nasser M. Abbasi' via sage-devel
I am on CachyOS Linux. I do not build anything from source anymore and just use pacman package manager to install all software. I installed sagemath using pacman a week ago and also installed maxima 5.47. Everything was working OK. maxima was working oK on its own also. Last night, I did system

Re: [sage-devel] Why using giac no longer works in sage 10.6?

2025-07-12 Thread 'Nasser M. Abbasi' via sage-devel
Fyi after doing sudo pacman -Sy sagemath-giac Now it works. >which sage /usr/bin/sage >which giac /usr/bin/giac >sage ┌┐ │ SageMath version 10.6, Release Date: 2025-03-31│ │ Using Python 3.13.5. Type "

[sage-devel] Why using giac no longer works in sage 10.6?

2025-07-09 Thread 'Nasser M. Abbasi' via sage-devel
I am on arch based system. Installed sagemath using pacman. I no longer build from source. Also installed giac latest using pacman. (same for Fricas and maxima) But when from inside sagemath I do integrate(sin(x),x,algorithm="giac") it returns back the input. Not sure why. >which sage /us

[sage-devel] Re: installation guide

2025-07-01 Thread 'Nasser M. Abbasi' via sage-devel
since I found Arch based linux distros, I stopped having to deal with building anything from source, including sagemath, fricas, giac, etc... I simply do sudo pacman -S sagemath or yay -S sagemath That is all. same for other software. the package manager does everything, you do not need t

Re: [sage-devel] PROPOSAL: remove python3 spkg from Sage

2025-04-10 Thread 'Nasser M. Abbasi' via sage-devel
Hello; Has anyone considered making sage as container? This will eliminate all these issues being discussed here, I would think. Google AI says this: "Container-based software delivery packages applications and their dependencies into lightweight, isolated environments called containers, enab

[sage-devel] integral fail using fricas 1.3.11 using sagemath 10.5 but works with fricas

2025-01-10 Thread 'Nasser M. Abbasi' via sage-devel
I have installed sagemath 10.5 and also fricas 1.3.11, all using pacman package manager on EOS/Arch based linux. i.e. I did not build sagemath 10.5 from sources. I was trying this integration, where it works using Fricas directly, but when I use sagemath and give the algorithm as "fricas", it

Re: [sage-devel] Re: How to find the exact version of giac used in sagemath 10.5 binary?

2025-01-05 Thread 'Nasser M. Abbasi' via sage-devel
UTC-6 Gonzalo Tornaría wrote: > January 5, 2025 12:07 PM, "Nasser M. Abbasi' via sage-devel" < > sage-...@googlegroups.com> wrote: > > This link shows the Arch sagemath package info that I installed > > > > https://archlinux.org/packages/extra/x86_64/sage

Re: [sage-devel] Re: How to find the exact version of giac used in sagemath 10.5 binary?

2025-01-05 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
nformation. > > --Nasser > > > > > > > > > On Sunday, January 5, 2025 at 1:20:06 AM UTC-6 François Bissey wrote: > >> It is very likely that sagemath installed by pacman from AUR uses the >> system giac. But you can check the list of files installed b

Re: [sage-devel] Re: How to find the exact version of giac used in sagemath 10.5 binary?

2025-01-05 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
acman for > sagemath. > pacman -Ql $package_name > if it includes a private copy of giac, it should appear in the list. > > François > > On 5/01/25 18:48, 'Nasser M. Abbasi' via sage-devel wrote: > > I need to know which giac is used by

[sage-devel] Re: How to find the exact version of giac used in sagemath 10.5 binary?

2025-01-04 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
I need to know which giac is used by sagemath when I do this command >sage ┌┐ │ SageMath version 10.5, Release Date: 2024-12-04│ │ Using Python 3.13.1. Type "help()" for help. │ └─

[sage-devel] How to find the exact version of giac used in sagemath 10.5 binary?

2025-01-04 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
I am on arch linux, and I found that arch pacman package manager has latest sagemath. So I do not have to build sagemath from source, which is much easier. So I used pacman to install sagemath 10.5 , also used it to install giac. The issue is that, I do not know if sagemath is using its own bui

[sage-devel] interface to Fricas question. Special function weierstrassPInverse

2024-01-19 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
Should sagemath translate any special function name returned by external CAS to sagemath known name? Fricas returns result from integrate using special function weierstrassPInverse. This is returned to sagemath as is. But sagemath says this function is not defined when trying it inside sagemath

Re: [sage-devel] how to enter a bug in the future for sagemath in github with no github account?

2023-12-11 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
or email address to send bug reports, that will be much better and much easier for many people I am sure. Thanks --Nasser On Monday, December 11, 2023 at 3:39:04 PM UTC-6 Dima Pasechnik wrote: > > > Dear Nasser, > > On 11 December 2023 21:18:18 GMT, "'Nasser M. Abbasi&#

[sage-devel] how to enter a bug in the future for sagemath in github with no github account?

2023-12-11 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
I got email today that my github account will be terminated if I do not do that 2FA (two factor authentication) each time to login. I am not interested in 2FA, I do not know how to use smart phones and do not want text messages and emails and copying code and so on each time to login. I hate

Re: [sage-devel] why sagemath creates so many file in TMPDIR and how to prevent this?

2023-08-15 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
until the script is done, which takes days. Is there a way not to create these tmp folders? Thanks --Nasser On Tuesday, August 15, 2023 at 8:28:39 AM UTC-5 Michael Orlitzky wrote: > On Tue, 2023-08-15 at 03:33 -0700, 'Nasser M. Abbasi' via sage-devel > wrote: > > Each

[sage-devel] why sagemath creates so many file in TMPDIR and how to prevent this?

2023-08-15 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
Each time I run a sagemath script, I see 10's of thousands of files created in my TMPDIR which I have to keep manually deleting. I am using sagemath on Linux under Virtual box. In my .bashrc I set export TMPDIR=/home/me/TMP/ Each start I start sagemath and run commands in loop, it starts maki

Re: [sage-devel] How to make call to latex() not evaluate its content again?

2023-07-27 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
ght)^{2}\right)} n^{2} \sin\left(2 \, b \log\left(x^{n}\right) + 2 \, a\right)^{2} + b^{2} n^{2}}\,{d x} No error. --Nasser On Thursday, July 27, 2023 at 6:14:09 AM UTC-5 Dima Pasechnik wrote: > > > On Thu, 27 Jul 2023, 11:05 'Nasser M. Abbasi' via sage-devel, < >

Re: [sage-devel] How to make call to latex() not evaluate its content again?

2023-07-27 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
ntegrate(sin(x), x) > sage: latex(_) > \int \sin\left(x\right)\,{d x} > sage: integrate(sin(x), x, algorithm="maxima", hold=True) # Bug? > -cos(x) > > Regards, > TB > > On 27/07/2023 0:59, 'Nasser M. Abbasi' via sage-devel wrote: > > &g

Re: [sage-devel] How to make call to latex() not evaluate its content again?

2023-07-26 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
sted, and turn integrals into \int in latex rather than trying to > evaluate them. > David > > On Wed, Jul 26, 2023 at 7:14 AM Dima Pasechnik wrote: > >> On Wed, Jul 26, 2023 at 6:17 AM 'Nasser M. Abbasi' via sage-devel >> wrote: >> > >>

[sage-devel] How to make call to latex() not evaluate its content again?

2023-07-25 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
Sometimes when calling integrate using algorithm such as maxima, it returns result which is not fully resolved but still have an integrate inside it. Next, when calling latex() on the anti-derivative this cause problems, because sage tried to calls maxima again on the integrate command inside t

[sage-devel] Re: strange error from integrate command with maxima 5.47 and sagemath 10.1 beta 6

2023-07-16 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
"Would you conider posting your *upgrade* to Maxima (5.46.0 to 5.47.0) as a PR ?" I am sorry, I do not understand what you mean? I just followed instructions given in https://github.com/sagemath/sage/blob/1ca4a47dbd7c59f09b4840d66f6ced9edde9686a/build/pkgs/maxima/SPKG.rst To build sagemath wit

[sage-devel] Re: strange error from integrate command with maxima 5.47 and sagemath 10.1 beta 6

2023-07-16 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
fyi, added PR https://github.com/sagemath/sage/issues/35960 On Sunday, July 16, 2023 at 12:30:53 PM UTC-5 Matthias Koeppe wrote: > On Sunday, July 16, 2023 at 5:48:00 AM UTC-7 Nasser M. Abbasi wrote: > > After some struggle, build sagemath with maxima 5.47 upstream. > > > Open a PR with the up

[sage-devel] strange error from integrate command with maxima 5.47 and sagemath 10.1 beta 6

2023-07-16 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
After some struggle, build sagemath with maxima 5.47 upstream. Could someone see if they get same error I see on this one example? >sage │ SageMath version 10.1.beta6, Release Date: 2023-07-09 │ │ Using Python 3.11.3. Type "help()" for help. │ ┃ Warning: this i

[sage-devel] Re: How to use maxima 5.47 with sagemath 10.1 beta?

2023-07-15 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
Maxima uses SBCL lisp: >maxima Maxima 5.47.0 https://maxima.sourceforge.io using Lisp SBCL 2.3.3 Are there any step-by-step instructions then how to make sagemath 10.1 use maxima 4.7? If I do not force sagemath to use system maxima, then it wants to build maxima 5.46 instead but I want to u

[sage-devel] How to use maxima 5.47 with sagemath 10.1 beta?

2023-07-15 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
I see that current beta version of sahemath 10.1 supports maxima 5.47. It says https://groups.google.com/g/sage-release/c/9kYG2vryie8 "29daacb7579 gh-35707: Make Sage work with maxima 5.47" So I downloaded sagemath 10.1 beta 6. I have already installed maxima 5.47 on my system. The prob

Re: [sage-devel] Re: ECL says: Memory limit reached calling expr.full_simplify()

2023-06-23 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
" yes, simplification (particularly full simplification) can involve some algorithms with very high time and space complexities, so seeing memory errors is not surprising by itself." Yes, I know this. But I had to use full_simplify() as simplify() does not do the job on some basic expressions.

Re: [sage-devel] Re: ECL says: Memory limit reached calling expr.full_simplify()

2023-06-23 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
an expression given as a string of length 47K is not an easy > task. > > > > On Fri, 23 Jun 2023, 08:21 'Nasser M. Abbasi' via sage-devel, < > sage-...@googlegroups.com> wrote: > >> Here is the code to reproduce it. Using Fricas 1.3.8 on Linux via sagem

[sage-devel] Re: ECL says: Memory limit reached calling expr.full_simplify()

2023-06-23 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
Here is the code to reproduce it. Using Fricas 1.3.8 on Linux via sagemath var('x a') expr=integrate(x/(a^5+x^5),x, algorithm="fricas"); len(str(expr)) 47199 expr.full_simplify() TypeError: ECL says: Memory limit reached. Please jump to an outer pointer, quit program and enlarge the memory

[sage-devel] ECL says: Memory limit reached calling expr.full_simplify()

2023-06-23 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
I obtained a large expression from CAS system (Fricas) calling it from sagemath. When I did expr.full_simplify() sagemath 10.0 on Linux gave this error TypeError: ECL says: Memory limit reached. Please jump to an outer pointer, quit program and enlarge the memory limits before executing the pro

[sage-devel] Re: What is the status of sympy in sagemath? In particular the integrator.

2023-04-26 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
Here is list of integrals that fail in sagemath from this one file. It seems Piecewise and RootSum are the cause of these failures. sagemath version var('A B a alpha b beta m n x ') integrate(x/((b*x^2+a)^m),x, algorithm="sympy") integrate(1/(b*x^3+a),x, algorithm="sympy") integrate(x/(b*x^3+a)

Re: [sage-devel] What is the status of sympy in sagemath? In particular the integrator.

2023-04-26 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
April 26, 2023 at 1:26:55 PM UTC-5 Dima Pasechnik wrote: > Thanks for showing this. As far as I know, the problem is that Sage does > not support RootSum expressions - although they are very useful for > integration in particular. > > > On Wed, 26 Apr 2023, 19:22 'Nasse

[sage-devel] What is the status of sympy in sagemath? In particular the integrator.

2023-04-26 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
I use sagemath to run the independent CAS integrations tests for Fricas, Giac and Maxima, since it is much easier to use the same script to all CAS systems instead of learning how to use each separate CAS. The result is put on this page

[sage-devel] Re: Why SR('expression') fail on some but not others?

2023-04-26 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
I can't use SR(sage_eval(' expression')) Now all my integral are failing. Here is an example >sage │ SageMath version 9.8, Release Date: 2023-02-11 │ │ Using Python 3.11.1. Type "help()" for help. │ sage: var('x') x sage: SR(sage_eval('sin(x)')) -

[sage-devel] Why SR('expression') fail on some but not others?

2023-04-25 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
I read integrals from a file. They all are stored as strings. Then use SR('expression') inside sagemath to convert them to sagemath symbolic expression before calling integrate. Some give parsing error. Is using SR('expression') not the correct way to convert string to a symbolic expression?

[sage-devel] new REDUCE computer algebra system from sagemath?

2023-02-16 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
Hello; Are there any plans to add support to calling/using REDUCE from inside Sagemath as one can now do with other CAS systems such as maxima/giac/fricas etc.. https://reduce-algebra.sourceforge.io/ --Nasser -- You received this message because you are subscribed to the Google Groups "sage

[sage-devel] why is sagemath 9.8 rc1 still running old maxima build?

2023-02-07 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
>sage │ SageMath version 9.8.rc1, Release Date: 2023-02-05 │ │ Using Python 3.10.9. Type "help()" for help. │ ━━┓ ┃ Warning: this is a prerelease version, and it may be unstable. ┃ ┗━━

Re: [sage-devel] 2 basic questions on sagemath programming with external CAS systems

2022-05-12 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
I need to use ones I build myself since they are newer (maxima for example is now at 5.46, but the one that is build by sagemath is 5.45. Note in the above, maxima was build by sagemath and the timeout still did not work. Should it not have worked? Thanks --Nasser On Thursday, May 12, 2022

[sage-devel] 2 basic questions on sagemath programming with external CAS systems

2022-05-12 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
1) I just want to confirm if this is what happens ( I could find information on this googling). If from sagemath, one makes a call to an external CAS, does sagemath create a subprocess, starts the external CAS executable in it, makes the call, and when the call is over, that subprocess is the

Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-10 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
distutils package is deprecated and > slated for removal in Python 3.12. Use setuptools or check PEP 632 for > potential alternatives > >>> > > Regards, > > phiho > > > On Sun, Apr 10, 2022 at 6:22 PM 'Nasser M. Abbasi' via sage-devel < > sage-..

Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-10 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
hohoa...@gmail.com wrote: > Hi, > > > sudo apt-get install libpython3.10-dev > > ./configure --enable-fricas --with-python=/bin/python3 > > Would you please verify if you have 'distutils.core' on your system and > did the make complete successfully? > &g

Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-10 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
checking ... whether /bin/python3 is good >>>>> > configure:32997: result: no, the version is in the supported range >>>>> but cannot import one of the required modules: sqlite3, ctypes, math, >>>>> hashlib, crypt, socket, zlib, distutils.core,

Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-09 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
for SPKG python3 >>>> > # >>>> > >>>> > Please advise what else needs to be done to fix this issue. >>>> > >>>> > Thank you for your help. >>>> > >>>> > Regards, >>>> >

Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-07 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
a Pasechnik wrote: > > > > On Thu, Apr 7, 2022 at 6:17 AM 'Nasser M. Abbasi' via sage-devel > > wrote: > > > > > > Basic question: > > > > > > I Downloaded beta 7 source code. When I do ./configure, it tells me > that it wants to ins

[sage-devel] question on Python version when installing 9.6 beta 7

2022-04-06 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
Basic question: I Downloaded beta 7 source code. When I do ./configure, it tells me that it wants to install Python 3-3.1.0.3 since no suitable one found. However, I have Python 3.10.4 installed. So why is it building [python3-3.10.3] ? >which python /bin/python >python --version Python 3.10.

[sage-devel] Re: segfault sage using Maxima integrate

2018-06-19 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
Update. I found the cause of the segfault. Posted answer here FYI https://ask.sagemath.org/question/42664/segmentation-fault-core-dumped-sagemath-version-82 So I am all set. No more issues. Case closed. Thank you --Nasser On Tuesday, June 19, 2018 at 9:40:56 PM UTC-5, Nasser M. Abbasi wrote: >

[sage-devel] segfault sage using Maxima integrate

2018-06-19 Thread &#x27;Nasser M. Abbasi&#x27; via sage-devel
I posted problem I am having using sage script calling maxima integrate. Could someone please just run the script that shows the problem and see if they get the segfault as well? I posted the problem at asksagemath.com but was not sure if many will see it there. Here is link to the post http