[sage-devel] Re: DSage server: start clean?

2007-10-23 Thread William Stein
On 10/23/07, John Voight <[EMAIL PROTECTED]> wrote: > I think I figured out a brutal way: Just delete the $HOME/.dsage/dsage > directory! > > There must be a better way... I had precisely the same complaint very recently, and Yi added a new command to deal with exactly this problem: sage: d = DS

[sage-devel] Re: DSage server: start clean?

2007-10-23 Thread John Voight
I think I figured out a brutal way: Just delete the $HOME/.dsage/dsage directory! There must be a better way... JV --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECT

[sage-devel] Re: DSage under Windows/VMware

2007-10-12 Thread Yi Qiang
Thanks William, John: I just tested it and it works fine with execfile. Cheers, Yi -- http://www.yiqiang.org On 10/12/07, William Stein <[EMAIL PROTECTED]> wrote: > > > On 10/12/07, John Voight <[EMAIL PROTECTED]> wrote: > > > > Thanks Yi, > > > > It's definitely a start. I absolutely need Cyth

[sage-devel] Re: DSage under Windows/VMware

2007-10-12 Thread William Stein
On 10/12/07, John Voight <[EMAIL PROTECTED]> wrote: > > Thanks Yi, > > It's definitely a start. I absolutely need Cython compatibility--the > whole reason I'm using SAGE is the ease at which I can write optimized > code. Very interesting :-) > > Should we make this a trac ticket? Why can't the

[sage-devel] Re: DSage under Windows/VMware

2007-10-12 Thread John Voight
Thanks Yi, It's definitely a start. I absolutely need Cython compatibility--the whole reason I'm using SAGE is the ease at which I can write optimized code. Should we make this a trac ticket? Why can't the dsage worker just execute a load command? JV --~--~-~--~~~---

[sage-devel] Re: DSage under Windows/VMware

2007-10-12 Thread Yi Qiang
If you downloaded the patch in the last 5 minutes, download it again please. I bundled it before doing a commit, doh! Also, this will not work with .spyx yet because I am not sure how to compile & load a spyx file in SAGE without using the magic 'load' command. Cheers, Yi -- http://www.yiqiang.or

[sage-devel] Re: DSage under Windows/VMware

2007-10-12 Thread Yi Qiang
It fixed several bugs William ran into while he was using DSAGE for doing his calculations on sage.math. I don't have a Changelog handy but all the history is in hg_sage.log() and I try to write sensible commit messages (no guarantees though;). It basically fixed a few cases where the workers woul

[sage-devel] Re: DSage under Windows/VMware

2007-10-11 Thread John Voight
Thanks Yi, I was able to install your patch. What exactly did this fix? Do I still have to follow the long instructions about modifying the job in case I want to include functions from a file--or is that still under development? JV --~--~-~--~~~---~--~~ To pos

[sage-devel] Re: DSage & Zombie issue on sage.math

2007-10-11 Thread Yi Qiang
Yup, you are right. The processes are dead but have an entry in the process table. I fixed this issue btw. Cheers, Yi -- http://www.yiqiang.org On 10/11/07, Justin C. Walker <[EMAIL PROTECTED]> wrote: > > > > On Oct 11, 2007, at 10:19 AM, William Stein wrote: > > > > > On 10/11/07, Yi Qiang <[E

[sage-devel] Re: DSage & Zombie issue on sage.math

2007-10-11 Thread Justin C. Walker
On Oct 11, 2007, at 10:19 AM, William Stein wrote: > > On 10/11/07, Yi Qiang <[EMAIL PROTECTED]> wrote: >> Hi Michael, >> I think there is a problem with the way the individual workers are >> restarted >> which leaves them as zombie processes. I'll look into this. >> >> Cheers, >> Yi > > Yep.

[sage-devel] Re: DSage & Zombie issue on sage.math

2007-10-11 Thread William Stein
On 10/11/07, Yi Qiang <[EMAIL PROTECTED]> wrote: > Hi Michael, > I think there is a problem with the way the individual workers are restarted > which leaves them as zombie processes. I'll look into this. > > Cheers, > Yi Yep. I killed them all, since my entire huge job finished (yes!). But yeah

[sage-devel] Re: DSage & Zombie issue on sage.math

2007-10-11 Thread Yi Qiang
Hi Michael, I think there is a problem with the way the individual workers are restarted which leaves them as zombie processes. I'll look into this. Cheers, Yi -- http://www.yiqiang.org On 10/11/07, mabshoff <[EMAIL PROTECTED]> wrote: > > > Hello, > > zombies have taken over sage.math: > > top -

[sage-devel] Re: DSage under Windows/VMware

2007-10-10 Thread Yi Qiang
John, I also wanted to mention that you should apply this latest dsage bundle since it fixes a lot of the rough edges that William mentioned. http://sage.math.washington.edu/home/yqiang/dsage_latest.hg There is documentation on how to do this here: http://www.sagemath.org/doc/html/ref/module-sag

[sage-devel] Re: DSage under Windows/VMware

2007-10-10 Thread John Voight
Thanks! Yes, if you can actually believe it, I was asking (quite gently) about running the DSage client/server under Windows. Other than my dual- boot machine at home, I don't have access to a Linux machine here at UVM--in particular the 31-machine lab where I'd like to run projects from is all

[sage-devel] Re: DSage under Windows/VMware

2007-10-10 Thread Yi Qiang
Hi John, I have only tested DSage with workers running in VMWare and not servers. Everyone else does live in the 'happy' place :) I will try to get both the server and workers running in Windows if I can this weekend and document the process. Cheers, Yi -- http://www.yiqiang.org On 10/10/07, Joh

[sage-devel] Re: dsage

2007-10-10 Thread Fernando Perez
On 10/10/07, William Stein <[EMAIL PROTECTED]> wrote: > > On 10/10/07, didier deshommes <[EMAIL PROTECTED]> wrote: > > > > 2007/10/10, John Voight <[EMAIL PROTECTED]>: > > > > > > What is "screen"? Unfortunately, it is not an easy thing to Google! > > > > Here is a link to screen : > > http://www

[sage-devel] Re: DSage under Windows/VMware

2007-10-10 Thread William Stein
On 10/10/07, John Voight <[EMAIL PROTECTED]> wrote: > Anyone get DSage to work under Windows/VMware? > > I'm able to get workers (under Windows) to connect to sage.math when I > run the client/server there, so that works. But repeating the same > client/server steps on a Windows machine has yield

[sage-devel] Re: dsage

2007-10-10 Thread William Stein
On 10/10/07, didier deshommes <[EMAIL PROTECTED]> wrote: > > 2007/10/10, John Voight <[EMAIL PROTECTED]>: > > > > What is "screen"? Unfortunately, it is not an easy thing to Google! > > Here is a link to screen : > http://www.gnu.org/software/screen/ > > There's a quick tutorial here: > http://ww

[sage-devel] Re: dsage

2007-10-10 Thread didier deshommes
2007/10/10, John Voight <[EMAIL PROTECTED]>: > > What is "screen"? Unfortunately, it is not an easy thing to Google! Here is a link to screen : http://www.gnu.org/software/screen/ There's a quick tutorial here: http://www.kuro5hin.org/story/2004/3/9/16838/14935 didier --~--~-~--~~

[sage-devel] Re: dsage

2007-10-10 Thread John Voight
What is "screen"? Unfortunately, it is not an easy thing to Google! JV --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at ht

[sage-devel] Re: dsage stats

2007-04-25 Thread Justin C. Walker
On Apr 25, 2007, at 19:06 , Robert Bradshaw wrote: > > On Apr 25, 2007, at 6:18 PM, Yi Qiang wrote: > >> On Apr 25, 2007, at 4:49 PM, Justin C. Walker wrote: >> >>> On Apr 25, 2007, at 13:28 , alex clemesha wrote: >>> >>> Having said that, might it be a good idea to allow 'locking' of this >>> f

[sage-devel] Re: dsage stats

2007-04-25 Thread boothby
On Wed, 25 Apr 2007, Robert Bradshaw wrote: > > On Apr 25, 2007, at 6:18 PM, Yi Qiang wrote: > >> On Apr 25, 2007, at 4:49 PM, Justin C. Walker wrote: >> >>> On Apr 25, 2007, at 13:28 , alex clemesha wrote: >>> >>> Having said that, might it be a good idea to allow 'locking' of this >>> featur

[sage-devel] Re: dsage stats

2007-04-25 Thread Robert Bradshaw
On Apr 25, 2007, at 6:18 PM, Yi Qiang wrote: > On Apr 25, 2007, at 4:49 PM, Justin C. Walker wrote: > >> On Apr 25, 2007, at 13:28 , alex clemesha wrote: >> >> Having said that, might it be a good idea to allow 'locking' of this >> feature (perhaps with password protection)? I can foresee situat

[sage-devel] Re: dsage stats

2007-04-25 Thread Justin C. Walker
On Apr 25, 2007, at 18:18 , Yi Qiang wrote: > > > On Apr 25, 2007, at 4:49 PM, Justin C. Walker wrote: > >> >> >> On Apr 25, 2007, at 13:28 , alex clemesha wrote: >> >>> Hi all, >>> I've been working on making a web interface to dsage, check it out: >>> http://sage.math.washington.edu:/ >>>

[sage-devel] Re: dsage stats

2007-04-25 Thread Yi Qiang
On Apr 25, 2007, at 4:49 PM, Justin C. Walker wrote: > > > On Apr 25, 2007, at 13:28 , alex clemesha wrote: > >> Hi all, >> I've been working on making a web interface to dsage, check it out: >> http://sage.math.washington.edu:/ >> made with Twisted, MochiKit and sqlite. > > Really nice! > >

[sage-devel] Re: dsage stats

2007-04-25 Thread Yi Qiang
A couple more comments: 1) Could you make the job_id column entries links to the specific job? It is a lot easier to click on it than to copy paste it into the box. 2) Could you make the default refresh time to be like 10 seconds or so? 5 seconds feels to short and was disconcerting since

[sage-devel] Re: dsage stats

2007-04-25 Thread Justin C. Walker
On Apr 25, 2007, at 13:28 , alex clemesha wrote: > Hi all, > I've been working on making a web interface to dsage, check it out: > http://sage.math.washington.edu:/ > made with Twisted, MochiKit and sqlite. Really nice! I like the fact that you can see the code that's behind the job. Havi

[sage-devel] Re: dsage stats

2007-04-25 Thread Timothy Clemans
The web user should also be able to change the format of time stamps. Creation time should not have underscore and same with monitor_id. For completed job there should be a time stamp for how long the job took. On 4/25/07, Timothy Clemans <[EMAIL PROTECTED]> wrote: > I like it a lot. A lot of job

[sage-devel] Re: dsage stats

2007-04-25 Thread Timothy Clemans
I like it a lot. A lot of job ids are repeated. It says 449 jobs but I don't see nearly that many. You need an HTML title. I don't have access to sage.math so I can't start jobs. There should be say a WebSAGE server that this app would be apart of and admin(s) chose whether or not to enable it, t

[sage-devel] Re: dsage stats

2007-04-25 Thread Yi Qiang
Wow! Fantastic! I love that you can actually look at the job detail, it will be very useful for debugging and general inspection. Great work! Yi On Apr 25, 2007, at 1:28 PM, alex clemesha wrote: > Hi all, > I've been working on making a web interface to dsage, check it out: > http://sage.mat

[sage-devel] Re: DSage question (WAS: Silly Question)

2007-03-25 Thread Yi Qiang
On Mar 25, 2007, at 11:35 AM, Robert Miller wrote: > Yi, > > I'm completely new to parallel algorithms. I'm doing a computation > on sage.math right now, and it's very modular-- it involves a large > number of independent computations. What can I do to take advantage > of this? Use DSage.

[sage-devel] Re: DSAGE Questions

2007-03-18 Thread Yi Qiang
On Mar 18, 2007, at 2:21 PM, Mike Hansen wrote: > >> That really shouldn't be happening. It looks like Worker 1 and >> Worker 14 are getting the same job which is definitely not right. >> Your job database might have gotten screwed up. I think the easiest >> thing to try right now is to remove

[sage-devel] Re: DSAGE Questions

2007-03-18 Thread Mike Hansen
> That really shouldn't be happening. It looks like Worker 1 and > Worker 14 are getting the same job which is definitely not right. > Your job database might have gotten screwed up. I think the easiest > thing to try right now is to remove the $HOME/.sage/dsage/db and > $HOME/.sage/dsage/tmp_wo

[sage-devel] Re: DSAGE Questions

2007-03-18 Thread William Stein
On 3/18/07, Yi Qiang <[EMAIL PROTECTED]> wrote: > > > Are you trying to run DSAGE between different versions of SAGE? The > way that jobs are handled changed quite a bit, which is why it > complains about some attributes not being there. Try it again using > sage-2.3 throughout. I suspect that

[sage-devel] Re: DSAGE Questions

2007-03-18 Thread Yi Qiang
On Mar 18, 2007, at 6:57 AM, Mike Hansen wrote: > > I seem to be getting a few errors in sage-2.3. I've set worker.conf > to have 15 workers and started them with dsage.worker(). It says it > initialized all 15 on startup. However, when I test things out with > DistributedFactor(D, 11^150+1),

[sage-devel] Re: DSAGE Questions

2007-03-18 Thread Mike Hansen
I seem to be getting a few errors in sage-2.3. I've set worker.conf to have 15 workers and started them with dsage.worker(). It says it initialized all 15 on startup. However, when I test things out with DistributedFactor(D, 11^150+1), I get the following errors: 2007/03/18 06:46 -0700 [Broke

[sage-devel] Re: DSAGE Questions

2007-03-17 Thread Yi Qiang
On Mar 16, 2007, at 10:33 PM, Mike Hansen wrote: > > Hello, > I'm running some computations in SAGE for my research, and they are > quite time consuming, but proudly parallel. I'd obviously like to use > DSAGE to speed them up, but I have a few questions. Hi Mike, I am glad you are making use o

[sage-devel] Re: dsage docstring

2007-01-31 Thread Iftikhar Burhanuddin
On Wed, 31 Jan 2007, Yi Qiang wrote: > Hey what docstrings were not available? When I type dsage? I get a > docstring, as well as dsage.server? and dsage.worker? Yi, My opinion was that "Release early, release often" is great but one should keep an key on documentation and testing. In particula