[sage-support] Re: lost connection to maxima

2009-01-13 Thread ma...@mendelu.cz
> > In the text "The calculators are divided into several groups, the > desription is available", the word "description" is missing the "c". > Fixed, thanks. Robert --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscr

[sage-support] Re: lost connection to maxima

2009-01-13 Thread mabshoff
On Jan 13, 11:28 pm, "ma...@mendelu.cz" wrote: Hi Robert, > Thank you for all your answers. I will upgrade my hardware > > > 512MB is very very piddly for a server. > > Yes. I thought that this could be enough, because another my server, > Mathematical Assistant on Web > (http://user.mendelu

[sage-support] Re: lost connection to maxima

2009-01-13 Thread Jason Grout
ma...@mendelu.cz wrote: > Thank you for all your answers. I will upgrade my hardware > > >> 512MB is very very piddly for a server. >> > > Yes. I thought that this could be enough, because another my server, > Mathematical Assistant on Web ( > http://user.mendelu.cz/marik/maw/index.php?lang=en

[sage-support] Re: lost connection to maxima

2009-01-13 Thread ma...@mendelu.cz
Thank you for all your answers. I will upgrade my hardware > 512MB is very very piddly for a server. > Yes. I thought that this could be enough, because another my server, Mathematical Assistant on Web ( http://user.mendelu.cz/marik/maw/index.php?lang=en&form=derivace ) runs pretty well with m

[sage-support] Re: lost connection to maxima

2009-01-13 Thread Robert Bradshaw
On Jan 13, 2009, at 6:04 PM, mabshoff wrote: > On Jan 13, 5:50 pm, Jason Grout wrote: >> Jason Grout wrote: > > > >>> I noticed that for my Sage server, each open worksheet took about >>> 140MB >>> of RAM. When I ran out of memory, the server froze and lots of >>> errors >>> happened. To

[sage-support] Re: lost connection to maxima

2009-01-13 Thread mabshoff
On Jan 13, 5:50 pm, Jason Grout wrote: > Jason Grout wrote: > > I noticed that for my Sage server, each open worksheet took about 140MB > > of RAM.  When I ran out of memory, the server froze and lots of errors > > happened.  To me, it sounds like you probably ran out of memory if you > > ha

[sage-support] Re: lost connection to maxima

2009-01-13 Thread mabshoff
On Jan 13, 5:00 pm, "William Stein" wrote: > > Either way, the result of get_memory_usage() should be consistent > > across platforms and not return a string in some cases and something > > else on Linux. It should be a float of the memory used in MB. > > +1  Create a trac ticket.  This will

[sage-support] Re: lost connection to maxima

2009-01-13 Thread Jason Grout
Jason Grout wrote: > ma...@mendelu.cz wrote: >> >> On 13 Led, 17:47, "William Stein" wrote: >>> On Tue, Jan 13, 2009 at 8:36 AM, ma...@mendelu.cz wrote: >>> Dear all, I had a lecture in computer lab. There were about 15 students on one sage server. After about 20 minutes we got m

[sage-support] Re: lost connection to maxima

2009-01-13 Thread William Stein
> sage: get_memory_usage() > '81M' > > While there should be a difference between 32 and 64 bit, i.e 64 bit > code is larger and consumes more memory, the result from Linux is not > even close to the truth, i.e. I don't think 32 bit Solaris is roughly > a magnitude more efficient than 64 bit Linux

[sage-support] Re: lost connection to maxima

2009-01-13 Thread mabshoff
On Jan 13, 3:50 pm, "William Stein" wrote: > On Tue, Jan 13, 2009 at 3:42 PM, mabshoff > > In general we are using crappy interfaces to measure memory > > consumption from Sage, i.e. get_memory_usage(). We are even parsing > > the output from "top" on non-Linux platforms! > > Sage uses /proc

[sage-support] Re: SAGE server

2009-01-13 Thread Dan Drake
On Tue, 13 Jan 2009 at 01:43PM -0600, Jason Grout wrote: > Nathan Carter wrote: > > Dear Jason, > > > > I believe we met on the shuttle to our hotels at the Joint Meetings > > last week, and talked about setting up a sage server for use in a > > class. You gave a talk on it, but I was unable to att

[sage-support] Re: lost connection to maxima

2009-01-13 Thread William Stein
On Tue, Jan 13, 2009 at 3:42 PM, mabshoff wrote: > > > > On Jan 13, 3:05 pm, Jason Grout wrote: >> mabshoff wrote: > > > >> > This is not how this works, i.e. a lot of the memory Sage uses is >> > shared mappings between libraries, so the first notebook process is >> > much, much more expensive

[sage-support] Re: lost connection to maxima

2009-01-13 Thread mabshoff
On Jan 13, 3:05 pm, Jason Grout wrote: > mabshoff wrote: > > This is not how this works, i.e. a lot of the memory Sage uses is > > shared mappings between libraries, so the first notebook process is > > much, much more expensive than subsequent ones. top and the default > > interface it uses

[sage-support] Re: lost connection to maxima

2009-01-13 Thread William Stein
On Tue, Jan 13, 2009 at 11:39 AM, ma...@mendelu.cz wrote: > > Many thanks, memory seems to be a big problem on my server (I did > tests you suggested on my laptop and each worksheet is consumig a lot > of memory). I have seen that sagenb.org has 2GB memory - like my PC. > How many users wirk simu

[sage-support] Re: lost connection to maxima

2009-01-13 Thread Jason Grout
mabshoff wrote: > > > On Jan 13, 10:52 am, Jason Grout wrote: >> ma...@mendelu.cz wrote: > > > >> I noticed that for my Sage server, each open worksheet took about 140MB >> of RAM. When I ran out of memory, the server froze and lots of errors >> happened. To me, it sounds like you probably

[sage-support] Re: lost connection to maxima

2009-01-13 Thread mabshoff
On Jan 13, 10:52 am, Jason Grout wrote: > ma...@mendelu.cz wrote: > I noticed that for my Sage server, each open worksheet took about 140MB > of RAM.  When I ran out of memory, the server froze and lots of errors > happened.  To me, it sounds like you probably ran out of memory if you > had

[sage-support] Re: lost connection to maxima

2009-01-13 Thread Robert Bradshaw
On Jan 13, 2009, at 11:39 AM, ma...@mendelu.cz wrote: > Many thanks, memory seems to be a big problem on my server (I did > tests you suggested on my laptop and each worksheet is consumig a lot > of memory). I have seen that sagenb.org has 2GB memory - like my PC. > How many users wirk simultaneo

[sage-support] SAGE server

2009-01-13 Thread Jason Grout
Nathan Carter wrote: > > Dear Jason, > > I believe we met on the shuttle to our hotels at the Joint Meetings last week, and talked about setting up a sage server for use in a class. You gave a talk on it, but I was unable to attend. You suggested that I look at Dan Drake's wiki post on h

[sage-support] Re: lost connection to maxima

2009-01-13 Thread ma...@mendelu.cz
Many thanks, memory seems to be a big problem on my server (I did tests you suggested on my laptop and each worksheet is consumig a lot of memory). I have seen that sagenb.org has 2GB memory - like my PC. How many users wirk simultaneously on sagenb.org? * I think that I can set up my personal co

[sage-support] VMPlayer uses same NIC address for VMNet1 andVMNet8 on all computers

2009-01-13 Thread Jim Pruitt
All computers report VMNet1 adapter address as: 00-50-56-C0-00-01 and VMNet8 adapter address as 00-50-56-C0-00-08 I have an inventory program called OCSreports or OCS and every computer with Sagemath on it is reporting as a duplicate and the VMNet8 address is given. For that reason I am sur

[sage-support] Re: lost connection to maxima

2009-01-13 Thread Jason Grout
ma...@mendelu.cz wrote: > > > On 13 Led, 17:47, "William Stein" wrote: >> On Tue, Jan 13, 2009 at 8:36 AM, ma...@mendelu.cz wrote: >> >>> Dear all, >>> I had a lecture in computer lab. There were about 15 students on one >>> sage server. After about 20 minutes we got messages, that Sage lost

[sage-support] Re: lost connection to maxima

2009-01-13 Thread ma...@mendelu.cz
On 13 Led, 17:47, "William Stein" wrote: > On Tue, Jan 13, 2009 at 8:36 AM, ma...@mendelu.cz wrote: > > > Dear all, > > > I had a lecture in computer lab. There were about 15 students on one > > sage server.  After about 20 minutes we got messages, that Sage lost > > connection to Maxima. I di

[sage-support] Re: calling sage from PHP

2009-01-13 Thread William Stein
On Tue, Jan 13, 2009 at 7:15 AM, ben wrote: > > Hello, > > I'm trying to communicate with sage using PHP. I want it to calculate > 1+2. I've written this little bash script: > > #!/bin/bash > cd /usr/local/sage-3.2.1 > ./sage -q << END > 1+2 > END > read -p "Press enter to continue" > > which ou

[sage-support] Re: lost connection to maxima

2009-01-13 Thread William Stein
On Tue, Jan 13, 2009 at 8:36 AM, ma...@mendelu.cz wrote: > > Dear all, > > I had a lecture in computer lab. There were about 15 students on one > sage server. After about 20 minutes we got messages, that Sage lost > connection to Maxima. I did not know how to establish the connection > again and

[sage-support] lost connection to maxima

2009-01-13 Thread ma...@mendelu.cz
Dear all, I had a lecture in computer lab. There were about 15 students on one sage server. After about 20 minutes we got messages, that Sage lost connection to Maxima. I did not know how to establish the connection again and I restarted the virtual server (I run sage on virtual server under Deb

[sage-support] Re: calling sage from PHP

2009-01-13 Thread Marshall Hampton
It may be better to try to use the sage api that Robert Bradshaw wrote but which not many people have explored. Some explanation of it is in the trac patch: http://trac.sagemath.org/sage_trac/ticket/2346 and some discussion at: http://groups.google.com/group/sage-edu/browse_thread/thread/f2935

[sage-support] Re: calling sage from PHP

2009-01-13 Thread Jason Grout
ben wrote: > Hello, > > I'm trying to communicate with sage using PHP. I want it to calculate > 1+2. I've written this little bash script: > > #!/bin/bash > cd /usr/local/sage-3.2.1 > ./sage -q << END > 1+2 > END > read -p "Press enter to continue" > > which outputs: > > sage: 3 > sage: > Exi

[sage-support] calling sage from PHP

2009-01-13 Thread ben
Hello, I'm trying to communicate with sage using PHP. I want it to calculate 1+2. I've written this little bash script: #!/bin/bash cd /usr/local/sage-3.2.1 ./sage -q << END 1+2 END read -p "Press enter to continue" which outputs: sage: 3 sage: Exiting SAGE (CPU time 0m0.04s, Wall time 0m0.04

[sage-support] Re: Pb with libpng on Mac OS (10.5 and 10.4) for tkinter installation

2009-01-13 Thread William Stein
On Tue, Jan 13, 2009 at 4:42 AM, sonnen wrote: > > > > On 13 jan, 12:20, mabshoff dortmund.de> wrote: >> On Jan 13, 2:53 am, sonnen wrote: >> >> > Hi Michael, >> >> Hi Eric, >> >> > thank you for your quick answer. >> > I found that the xft font library used by Tk is requiring a link with >> >

[sage-support] Re: VMPlayer uses same NIC address for VMNet1 and VMNet8 on all computers

2009-01-13 Thread William Stein
On Tue, Jan 13, 2009 at 3:18 AM, mabshoff wrote: > > > > On Jan 12, 8:38 pm, Southerner wrote: > > Hi, > >> I have installed Sagemath 3.2.2 on over 100 computers in 2 of our >> labs. VMPlayer is genearating the same NIC address for all computers >> for VMNet1 and VMNet8 with VMNet8 showing up o

[sage-support] Re: Pb with libpng on Mac OS (10.5 and 10.4) for tkinter installation

2009-01-13 Thread sonnen
On 13 jan, 12:20, mabshoff wrote: > On Jan 13, 2:53 am, sonnen wrote: > > > Hi Michael, > > Hi Eric, > > > thank you for your quick answer. > > I found that the xft font library used by Tk is requiring a link with > > ImageIO which causes the trouble. The fix could then be to compile a > > new

[sage-support] Re: Pb with libpng on Mac OS (10.5 and 10.4) for tkinter installation

2009-01-13 Thread mabshoff
On Jan 13, 2:53 am, sonnen wrote: > Hi Michael, Hi Eric, > thank you for your quick answer. > I found that the xft font library used by Tk is requiring a link with > ImageIO which causes the trouble. The fix could then be to compile a > new version of Tk without the xft font library. > ./conf

[sage-support] Re: VMPlayer uses same NIC address for VMNet1 and VMNet8 on all computers

2009-01-13 Thread mabshoff
On Jan 12, 8:38 pm, Southerner wrote: Hi, > I have installed Sagemath 3.2.2 on over 100 computers in 2 of our > labs.  VMPlayer is genearating the same NIC address for all computers > for VMNet1 and VMNet8 with VMNet8 showing up on our network and being > duplicated over 100 times. What do y

[sage-support] VMPlayer uses same NIC address for VMNet1 and VMNet8 on all computers

2009-01-13 Thread Southerner
I have installed Sagemath 3.2.2 on over 100 computers in 2 of our labs. VMPlayer is genearating the same NIC address for all computers for VMNet1 and VMNet8 with VMNet8 showing up on our network and being duplicated over 100 times. Thsi is giving us fits. I see nothing in VMPlayer 2.5.1 that al

[sage-support] Re: Pb with libpng on Mac OS (10.5 and 10.4) for tkinter installation

2009-01-13 Thread sonnen
Hi Michael, thank you for your quick answer. I found that the xft font library used by Tk is requiring a link with ImageIO which causes the trouble. The fix could then be to compile a new version of Tk without the xft font library. ./configure --enable-framework --disable-xft (Tcl/Tk as a framew