[sage-support] Problem of memory
Hello, I'm a beginner in python and sage. I'm trying to solve a system of ODE by the newton method with python by sage. But i have a problem of memory with Lisp or Maxima when the hessian matrix is calculated. The process doesn't use the whole 12 giga RAM memory of my 64bits linux system and crash with this message error: Maxima ERROR: kill(sage297)$(%i2196) kill(sage290)$batchload(/.sage//temp/14907// interface//tmp14907-827495505);1+140260649; sage-displaysage-displaysage-displayGC Warning: Out of Memory! Returning NIL! Maxima encountered a Lisp error: Memory limit reached. Please jump to an outer point or quit program. Automatically continuing. To reenable the Lisp debugger set *debugger-hook* to nil. sage-display (%o2199) sage: Exiting SAGE (CPU time 1m15.04s, Wall time 5m48.08s). Exiting spawned Maxima process. I have installed sage for linux 64bits system. Someone can help me? Thankx --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: A simple question regarding a brand new install of 4.1
On Aug 9, 2:11 am, William Stein wst...@gmail.com wrote: On Sat, Aug 8, 2009 at 2:36 PM, wizardk...@mubblefubbles.com wizardk...@mubblefubbles.com wrote: Howdy all, perhaps someone far more knowledgable can save me from the hatchetfall, that would my computer split if I can't figure it the problem I mean out. the problem is as follows: just dled and extracted the 32 bit ubuntu tarball sage-4.1-linux-Ubuntu_9.04-i686-Linux.tar.gz extraction was simple and kind... if i go into said directory and terminal wise enter vikings...@behemoth ~/sage-4.1-linux-Ubuntu_9.04-i686-Linux $ ./sage out nice like pops -- | Sage Version 4.1, Release Date: 2009-07-09 | | Type notebook() for the GUI, and license() for information. | -- and then all too soon afterwards /home/vikings666/sage-4.1-linux-Ubuntu_9.04-i686-Linux/local/bin/sage- sage: line 199: 10118 Illegal instruction sage-ipython $@ -i I am running linuxmint on a beat up old t42 and am far from linux savvy, so if more information is nescessary to diagnose my problem, I may need instructions on how to get it. thank you kindly -prl You must rebuild ATLAS and MPIR on your computer from source. To do this, just change to the Sage directory and type: ./sage -f mpir-1.2.p4 ./sage -f atlas-3.8.3.p3 and make sure each step succeeds. William members, same problem on opensuse11.1. Problem solved with only ./sage -f mpir-1.2.p4 Daniël --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: How can I remove or delete worksheet written by pub?
Click Publish then Stop publishing on the editable version of the worksheet. On Tue, Aug 11, 2009 at 4:51 PM, NoSyudon...@gmail.com wrote: Thanks to reply my post. I expect that new version of notebook in October. Have a wonderful day~^^ On 8월12일, 오전2시36분, William Stein wst...@gmail.com wrote: On Tue, Aug 11, 2009 at 4:55 AM, NoSyu don...@gmail.com wrote: Hello. I test the something not use notebook web interface directly. And there is a problem that if I publish the worksheet, there is a new published worksheet by pub id in published worksheet list. So I want to remove that worksheets, but I don't know the pub password or can't login. I just delete the worksheet directory in .sage/ sage_notebook/pub folder, but it didn't work. Now I fix the problem to use some function, but I want to remove the published worksheets written by pub. How can I do? I think deleting published worksheets is not implemented at present, unfortunately. This will get fixed in October. Also, that the worksheet appears to be published by pub is a bug. William 누구나가 다, 자기 옆에서 눈물을 흘리며 신음하는 불행한 사람들에 비해 자기가 훨씬 더 불행하다고 생각하지요. 이게 바로 우리 가련한 인간들의 오만 중 하나입니다. - 몬테크리스토 백작 it is the infirmity of our nature always to believe ourselves much more unhappy than those who groan by our sides! - The Count of Monte Cristo c'est un des orgueils de notre pauvre humanité, que chaque homme se croie plus malheureux qu'un autre malheureux qui pleure et qui gémit à côté de lui - Le Comte de Monte-Cristo 박진영 - Bak JinYeong 학부재학생 - Undergraduate 컴퓨터공학전공 - Department of Computer Engineering 정보통신공학부 - School of Information Communication Engineering 성균관대학교 - SungKyunKwan University 블로그 -http://nosyu.pe.kr 이메일 - don...@skku.edu -- William Stein Associate Professor of Mathematics University of Washingtonhttp://wstein.org --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Why do I get Too many open files?
Hello, I am opening many netcdf files, getting one variable and closing each file in each loop: ctt=[] for j in fileList1: for f in j: ncfile=netcdf_file(path+f,'r') ctt.append( ncfile.variables['Cloud_Top_Types'][:] ) ncfile.close() However, I get the following error message: Traceback (most recent call last):ncfile2=netcdf_file(path +f,'r') File /Users/aguillau/local/sage/sage/local/lib/python2.5/site- packages/scipy/io/netcdf.py, line 44, in __init__ File /Users/aguillau/local/sage/sage/local/lib/python2.5/site- packages/scipy/io/netcdf.py, line 80, in _parse File /Users/aguillau/local/sage/sage/local/lib/python2.5/site- packages/scipy/io/netcdf.py, line 136, in _var_array File /Users/aguillau/local/sage/sage/local/lib/python2.5/site- packages/scipy/io/netcdf.py, line 188, in _read_var File /Users/aguillau/local/sage/sage/local/lib/python2.5/site- packages/scipy/io/netcdf.py, line 260, in __init__ EnvironmentError: [Errno 24] Too many open files This loop works if fileList is smaller than 120 in size and crashes if it's larger. Any help or insight would be appreciated. Alex --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Why do I get Too many open files?
On Wed, Aug 12, 2009 at 6:23 PM, Le Fou Volantalexaguilla...@gmail.com wrote: Hello, I am opening many netcdf files, getting one variable and closing each file in each loop: ctt=[] for j in fileList1: for f in j: ncfile=netcdf_file(path+f,'r') ctt.append( ncfile.variables['Cloud_Top_Types'][:] ) ncfile.close() However, I get the following error message: Traceback (most recent call last): ncfile2=netcdf_file(path +f,'r') File /Users/aguillau/local/sage/sage/local/lib/python2.5/site- packages/scipy/io/netcdf.py, line 44, in __init__ File /Users/aguillau/local/sage/sage/local/lib/python2.5/site- packages/scipy/io/netcdf.py, line 80, in _parse File /Users/aguillau/local/sage/sage/local/lib/python2.5/site- packages/scipy/io/netcdf.py, line 136, in _var_array File /Users/aguillau/local/sage/sage/local/lib/python2.5/site- packages/scipy/io/netcdf.py, line 188, in _read_var File /Users/aguillau/local/sage/sage/local/lib/python2.5/site- packages/scipy/io/netcdf.py, line 260, in __init__ EnvironmentError: [Errno 24] Too many open files This loop works if fileList is smaller than 120 in size and crashes if it's larger. Any help or insight would be appreciated. I would try a google search for Too many open files Os x William --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---