Ask Your Question

Sevas's profile - activity

2020-01-08 06:07:20 -0600 received badge  Popular Question (source)
2019-07-18 11:34:17 -0600 commented answer How to increase ECL/maxima memory limits in SageMath?

Another strange thing: after I call the "solve" function, the Windows Task Manager shows me the python process actively consuming CPU time, ~30%. However the "maxima" process shows 0% CPU. This continues for one hour. Then the python process starts to consume 90%-95% CPU time, maxima remains at 0%, and after a couple of minutes the memory error appears.

2019-07-18 11:29:21 -0600 commented answer How to increase ECL/maxima memory limits in SageMath?

No, I did not. But meanwhile I tried another method, which should work also without any rebuilding:

in the Sage command line I ran this (recommended on the same page "https://trac.sagemath.org/ticket/6772"): "maxima._eval_line(":lisp (ext:set-limit 'ext:heap-size 10000000000)", wait_for_prompt=False)"

This should work, because when I set the heap size to a smaller value 10000, the memory limit is reached with the simple test suggested on that web page: a=maxima(10)^(10^5) b=a^600

May be, I should not use the "matrix" and "vector" objects when constructing my linear system? But I need it, because the matrix of my linear system is a product of the two matrices. I can print the resulting matrix, it looks OK. But perhaps it is not OK for "maxima"?

2019-07-18 04:15:50 -0600 asked a question How to increase ECL/maxima memory limits in SageMath?

I am looking for a symbolic solution of a linear system 10x10. The coefficients and the right-hand sides are symbolic expressions, and it is critical for my. After one hour run with ~5 GB memory consumption I get an error message: "TypeError: ECL says: Memory limit reached. Please jump to an outer pointer, quit program and enlarge the memory limits before executing the program again." My Windows-10 PC has 64 GB, so it is definitely not the physical memory limitation. According to my Google search results, there are deliberately tight default memory limits in the Embeddable Common Lisp (ECL), which is used in Maxima. This page "https://trac.sagemath.org/ticket/6772" suggests to increase the ECL heap size to 1 GB by adding a line "(ext:set-limit 'ext:heap-size (* 1024 1024 1024))" to the file "maxima/src/ecl-port.lisp". I have found this file under "C:\Program Files\SageMath 8.7\runtime\opt\sagemath-8.7\local\share\maxima\5.41.0\src" and added such line with the 8 GB limit (* 2048 2048 2048). This had absolutely no effect, the same error message appeared after the same run time. I see two such questions answered in this forum. However both answers suggest to reformulate the original problem, which is not what I need. I will appreciate an explanation of how to increase the ECL memory limits in SageMath. Is there something like ".eclrc" configuration file in SageMath? May be, I have to install Maxima standalone and try it there?

2019-07-15 04:34:48 -0600 received badge  Student (source)
2019-07-12 07:51:02 -0600 commented answer How to change the unreadable dark blue colour in the SageMath command line window under Windows-10?

Thank you, this works. Which other color schemes are available in addition to "Linux"? A remaining cosmetic inconvenience is the parrot-like look of the command-line window. I typed a wrong command x:=2 and got a message error. This short dialog occupied just 5 lines, but had 8 different colors! Though I am not a friend of 50 shades of black, but this default multi-coloring is an opposite extremity. Is any reasonable compromise available?

2019-07-12 07:40:32 -0600 commented question How to change the unreadable dark blue colour in the SageMath command line window under Windows-10?

If it is bug, then it is also a bug already in mintty. I tried mintty last year with cygwin (without SageMath) and gave up because of this issue. Some software products follow a principle "never use our default setting".

2019-07-12 05:59:52 -0600 asked a question How to change the unreadable dark blue colour in the SageMath command line window under Windows-10?

I have just installed SageMath 8.7 on my Windows-10 laptop and want to learn it. The font colour of the prompt and of the typed numbers is dark blue on the black background, totally unreadable. Google search delivers tons of such complaints about bash/pythin/mintty/cygwin command lines. All suggest to edit some configuration files, which are hardly possible to locate in SageMath, neither in the SageMath installation directory, nor in my user home directory. There is a file ".sage\profile_default\ipython_config.py" in my Windows home, containing the line c.TerminalInteractiveShell.colors = 'Linux' Changing this line has no effect.