[sage-support] Re: Why this numerical integral bombs?

2009-04-27 Thread Chris Seberino



On Apr 26, 1:36 am, mabshoff michael.absh...@mathematik.uni-
dortmund.de wrote:
 I do not see how that rules out clisp 2.47 - or am I just not getting
 what you are driving at :)

I meant if I can recreate the problem from 3.4 source as well as 3.4.1
source then doesn't that mean I can recreate the problem in both
version of clisp?  Hence clisp is innocent?

cs
--~--~-~--~~~---~--~~
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 this numerical integral bombs?

2009-04-27 Thread mabshoff



On Apr 26, 11:05 pm, Chris Seberino cseber...@gmail.com wrote:
 On Apr 26, 1:36 am, mabshoff michael.absh...@mathematik.uni-

 dortmund.de wrote:
  I do not see how that rules out clisp 2.47 - or am I just not getting
  what you are driving at :)

 I meant if I can recreate the problem from 3.4 source as well as 3.4.1
 source then doesn't that mean I can recreate the problem in both
 version of clisp?  Hence clisp is innocent?

No, my guess is that either clisp release triggers the same problem.
Any recent clisp source release is incredibly easy to miscompile and
we are building it with -O0 with any compiler to maximize our chances
to make it work. But no clisp release since 2.41 has ever even build
on the build farm or SkyNet, much less various OSX releases or Solaris
(at least not with anything beyond gcc 4.x). That is the reason we are
switching and numerous other projects have prevented me from doing the
clisp - ecl switch, but finally its time has come since that is the
only way to support Solaris properly.

 cs

Cheers,

Michael
--~--~-~--~~~---~--~~
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: bug is subs_expr() ?

2009-04-27 Thread mabshoff



On Apr 26, 9:10 pm, Alex Raichev tortoise.s...@gmail.com wrote:
 Hi all:

Hi Alex,

 It looks like there's a tiny bug in subs_expr(): it hangs when given
 the empty dictionary.

 Alex

 --
 | Sage Version 3.4, Release Date: 2009-03-11                         |
 | Type notebook() for the GUI, and license() for information.        |
 --
 sage: x.subs_expr({x:1})
 1
 sage: x.subs_expr({})

 ...No response.

Yeah, this is a bug in the Sage - Maxima interface. The new
symbolics code might fix this, but I still put this in trac as #5909.

Cheers,

Michael
--~--~-~--~~~---~--~~
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: group cohomology for two particular groups

2009-04-27 Thread Mathieu Dutour
For sage, I do not know, but why not try GAP? It has a package HAP for doing
homology computations and it might solve your problem.

On Wed, Apr 8, 2009 at 8:16 PM, Ursula Whitcher
urs...@math.washington.eduwrote:


 I'd like to know H^3(G,Z) for two particular finite groups, namely L_2
 (7), also known as the Chevalley group PSL(2,F_7), and M_20, a
 subgroup of the Mathieu group M_24 which is isomorphic to a semidirect
 product of (Z/2Z)^4 with the alternating group A_5.

 Is Sage capable of these computations?  If so, how do I express these
 groups (or how should I start trying to express them)?  If not, does
 anyone have a suggestion for a place to look this up, or another
 computation tool I should use?

 Thanks!
 Ursula
 


--~--~-~--~~~---~--~~
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 this numerical integral bombs?

2009-04-27 Thread Jason Grout

mabshoff wrote:
 
 
 On Apr 25, 12:23 am, Paul Zimmermann paul.zimmerm...@loria.fr wrote:
Michael,
 
 Hi Paul,
 
 And Sage 3.4:
 | Sage Version 3.4, Release Date: 2009-03-11 |
 | Type notebook() for the GUI, and license() for information.|
 --
 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
 0.85397903781471396
 So I cannot reproduce this. What platform are you on and are you using
 a binary, build from source, etc?
 the example that failed has 'exp' instead of 'cos'. However with Sage 3.4
 it works for me:

 --
 | Sage Version 3.4, Release Date: 2009-03-11 |
 | Type notebook() for the GUI, and license() for information.|
 --
 sage: numerical_integral(sin(pi*exp(x/2)),0,2)[0]
 -0.43734547482524966

 Paul Zimmermann
 
 I ran this on 3.4, 3.4.1 and a couple other rc releases in between:
 
 sage: for i in (0..200):
 : numerical_integral(sin(pi*exp(x/2)),0,2)[0]
 :
 
 and I could not get a failure. Note that the most likely culprit here
 is clisp IMHO. Just today I found out that clisp 2.47 doesn't build on
 the latest Mandriva release in 32 and 64 bit flavors. Oh well ...
 
 We should have an Ubuntu 9.04 test image in the not too distant
 future, so maybe we will hit it there.


I just upgraded to Jaunty over the weekend, and then compiled 3.4.1 from 
scratch.  Both expressions work for me:

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION=Ubuntu 9.04
$ sage
--
| Sage Version 3.4.1, Release Date: 2009-04-21   |
| Type notebook() for the GUI, and license() for information.|
--
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*exp(x/2)),0,2)[0]
-0.4373454748252496
sage: numerical_integral(sin(pi*exp(x/2)),0,2)[0]
-0.4373454748252496
sage: numerical_integral(sin(pi*exp(x/2)),0,2)[0]
-0.4373454748252496
sage:


-Jason


--~--~-~--~~~---~--~~
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: sage tutorial on amazon

2009-04-27 Thread David Joyner

Finally this is on the amazon site:

http://www.amazon.com/Sage-tutorial-version-3-4-Group/dp/1442141948/ref=sr_1_2?ie=UTF8s=booksqid=1240843883sr=8-2

Hope this link comes out okay via email.

On Thu, Apr 2, 2009 at 10:37 AM, David Joyner wdjoy...@gmail.com wrote:
 Hi:

 The Sage tutorial on amazon is a bit out of date.
 Amazon requires the online publisher createspace,
 which uses an extremely finiky automated web-based
 program to process the manuscript. Any overfull
 box, if memory serves, will create an immediate
 rejection. There is an overfull box on page 33.
 I have in the past just fiddled with the latex
 file and remove any overfull boxes by hand.
 If no one objects to this twieeking, or volunteers to
 update the tutorial themselves, I'll probably get
 started on that this weekend. Also, I'll try to remember
 to make detailed notes and post them on the wiki
 for future reference.

 - David Joyner


--~--~-~--~~~---~--~~
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: sage tutorial on amazon

2009-04-27 Thread William Stein

On Mon, Apr 27, 2009 at 8:04 AM, David Joyner wdjoy...@gmail.com wrote:

 Finally this is on the amazon site:

 http://www.amazon.com/Sage-tutorial-version-3-4-Group/dp/1442141948/ref=sr_1_2?ie=UTF8s=booksqid=1240843883sr=8-2

 Hope this link comes out okay via email.


It did.  Can you sign up and make it so users can look inside and
search inside the book?  Also, can you allow the book to be sold on
kindle devices?

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
-~--~~~~--~~--~--~---



[sage-support] problem with server_pool.

2009-04-27 Thread Thierry Dumont
I am trying to use Sage (3.4) with a server pool *and* ldap identification.

- As user sage I run the notebook with the following parameters:
notebook(port=8001,secure=True,address='',server_pool=['sa...@localhost'],open_viewer=False,accounts=True)

sage1 is an other Unix user, and I can ssh from sage user to sage1
without password.

- Suppose that this is the first time I log in sage; I give my login
and password, look for them in the ldap directory and, if everything is
ok, I proceed exactly as for a public server, that is to say that Sage
creates a new user (a new Sage user).

I can verify that Sage is running as sage1.

But the new user is created in the .sage/sage-notebook/worksheets of the
*sage* user (not the *sage1*).
I can connect to the server, but then, and for me it is not surprising,
I have no rights and can do nothing:

Example:

2+1
(evaluate)
Traceback (click to the left for traceback)
...
IOError: [Errno 13] Permission denied:
'/home/sage/.sage/sage_notebook/worksheets/Thierry.Dumont/2/code/1.py'
---


On the public sage-server (your server), it seems that sage is running
as worksheet (that is what says: system('whoami')), but the home
directories belong to sage. So there is something I do not understand.

An other (small) problem: I had to unsubscribe from sage-support list
for some time. I subscribed again (by mail), but I do not receive
answers to my mails, as before unsubscribing. But this not important, I
can look at the messages on the web.

Yours
t.d.

-
French universities are on a permanent strike!
Have a look at the International Call:
http://math.univ-lyon1.fr/appel
-


begin:vcard
fn:Thierry Dumont
n:Dumont;Thierry
org;quoted-printable:CNRS - Universit=C3=A9 Lyon 1. / Villeurbanne France.;Institut Camille Jordan
adr:;;43 Bd du 11 Novembre;Villeurbanne Cedex;F;69621;France
email;internet:tdum...@math.univ-lyon1.fr
title;quoted-printable:Ing=C3=A9nieur de Recherche/Research Ingineer
tel;work:(33) 4 72 44 85 23
x-mozilla-html:FALSE
url:http://math.univ-lyon1.fr/~tdumont
version:2.1
end:vcard



smime.p7s
Description: S/MIME Cryptographic Signature


[sage-support] Re: sage error 6520

2009-04-27 Thread Mikie

Hi,

I just put Sage3.4.1 on and I am getting line 198: 3626 Illegral
instruction sage-ip0ython #@ -i..  Do you think I should get the
source and recompile it?
Mikie


On Apr 25, 1:01 am, mabshoff michael.absh...@mathematik.uni-
dortmund.de wrote:
 On Apr 24, 2:55 pm, mabshoff michael.absh...@mathematik.uni-

 dortmund.de wrote:

 Hi,

  Sage 3.4.1 which binaries I should post in the next couple hours has
  been build to use only SSE2, so that one should work for you.

 Who would have thought, but it took longer than planned. Anyway, 32 as
 well as 64 bit SSE2 only Centos binaries are in

  http://www.sagemath.org/bin/linux/

  Cheers,

  Michael

 Cheers,

 Michael
--~--~-~--~~~---~--~~
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: sage tutorial on amazon

2009-04-27 Thread David Joyner

On Mon, Apr 27, 2009 at 11:12 AM, William Stein wst...@gmail.com wrote:

 On Mon, Apr 27, 2009 at 8:04 AM, David Joyner wdjoy...@gmail.com wrote:

 Finally this is on the amazon site:

 http://www.amazon.com/Sage-tutorial-version-3-4-Group/dp/1442141948/ref=sr_1_2?ie=UTF8s=booksqid=1240843883sr=8-2

 Hope this link comes out okay via email.


 It did.  Can you sign up and make it so users can look inside and
 search inside the book?


I think I just did that.


 Also, can you allow the book to be sold on kindle devices?


This seems to be more complicated. Createspace seems happy to write a
check to the Sage Foundation. The dtp.amazon.com site (which handles the
kindle setup) wants a checking account for an electronic transfer. The
UW Sage Foundation site doesn't have that info. (Maybe that info can be filled
out during SD15?)

Also, you can request that amazon offer a kindle version on the book
webpage.




 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
-~--~~~~--~~--~--~---



[sage-support] Re: paths in graphs

2009-04-27 Thread William Stein
On Mon, Apr 27, 2009 at 7:45 AM, Robert Miller r...@rlmiller.org wrote:
 On Mon, Apr 27, 2009 at 6:47 AM, William Stein wst...@gmail.com wrote:
 Hi Robert,

 Did you guys every write any code to plot *paths* in graphs?

 No, but you can color the edges of the path differently.

That is pretty bad, IMHO.  E.g., try this:

g = graphs.CompleteGraph(5)
g.plot(edge_colors={'red':[(0,1)]})

If you try to color any edges, then it *deletes* all other edges that
aren't colored.

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
-~--~~~~--~~--~--~---

inline: Picture 2.png

[sage-support] Re: paths in graphs

2009-04-27 Thread Jason Grout

William Stein wrote:
 On Mon, Apr 27, 2009 at 7:45 AM, Robert Miller r...@rlmiller.org wrote:
 On Mon, Apr 27, 2009 at 6:47 AM, William Stein wst...@gmail.com wrote:
 Hi Robert,

 Did you guys every write any code to plot *paths* in graphs?
 No, but you can color the edges of the path differently.
 
 That is pretty bad, IMHO.  E.g., try this:
 
 g = graphs.CompleteGraph(5)
 g.plot(edge_colors={'red':[(0,1)]})
 
 If you try to color any edges, then it *deletes* all other edges that
 aren't colored.
 

Well, deletes is a pretty strong word.  More accurately, it doesn't 
show any edges for which you didn't specify a color.

I've found this to be a slight annoyance when I wanted to create pretty 
edge-colored graphs, as I have to specifically color my other edges black.

Jason



--~--~-~--~~~---~--~~
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: paths in graphs

2009-04-27 Thread William Stein

On Mon, Apr 27, 2009 at 10:02 AM, Jason Grout
jason-s...@creativetrax.com wrote:

 William Stein wrote:
 On Mon, Apr 27, 2009 at 7:45 AM, Robert Miller r...@rlmiller.org wrote:
 On Mon, Apr 27, 2009 at 6:47 AM, William Stein wst...@gmail.com wrote:
 Hi Robert,

 Did you guys every write any code to plot *paths* in graphs?
 No, but you can color the edges of the path differently.

 That is pretty bad, IMHO.  E.g., try this:

 g = graphs.CompleteGraph(5)
 g.plot(edge_colors={'red':[(0,1)]})

 If you try to color any edges, then it *deletes* all other edges that
 aren't colored.


 Well, deletes is a pretty strong word.  More accurately, it doesn't
 show any edges for which you didn't specify a color.

 I've found this to be a slight annoyance when I wanted to create pretty
 edge-colored graphs, as I have to specifically color my other edges black.


So do you also consider it a bug?  I don't want to report bugs about
graph theory until getting some graph theorists to agree, since I'm
not a graph theorist.

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
-~--~~~~--~~--~--~---



[sage-support] Re: Why this numerical integral bombs?

2009-04-27 Thread Chris Seberino



On Apr 27, 2:33 am, Jason Grout jason-s...@creativetrax.com wrote:
 I just upgraded to Jaunty over the weekend, and then compiled 3.4.1 from
 scratch.  Both expressions work for me:

Hmm.  Does Sage leave a log build regarding the compilation?  Perhaps
my build had some errors yours doesn't have I should look for?

cs
--~--~-~--~~~---~--~~
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] Failure running sage-vmware-sse2-3.4.1

2009-04-27 Thread madison . michael

On starting sage-vmware-sse2-3.4.1 I get the text menus in vmware.
However, on starting either Sage or Notebook it starts and then
returns me to the text menus again.  When running Sage from the text
menu I don't get any error messages before it fails. My vmware sage
worked fine for sage 3.2.3.  I am using:

sage-vmware-sse2-3.4.1 binary
Intel Celeron M 1.5 GHz, 1 GB Ram
Microsoft Windows XP Professional 5.1.2600, Service Pack 3
VMWARE 2.5.1 build-126130

Previously I could not get sate 3.4 to work on my windows machine.

Thanks Mike Madison
--~--~-~--~~~---~--~~
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: DSage on Amazon EC2

2009-04-27 Thread Ahmed Fasih

As Sage continues to replace commercial and/or hand-rolled distributed
numerical applications, this question becomes more and more important.
I have neither EC2-specific nor general cloud-oriented comments---my
use of Sage on a cluster was limited to very dumb file-based data-
sharing. I'm hoping someone can describe a network-based task
allocation method/code soon.

I would greatly appreciate hearing about what you find with EC2. 20
cents per hour per dual-core 1.7 GB RAM node has applicability for our
group's applications.

On Apr 25, 2:26 pm, Andrzej Giniewicz ggi...@gmail.com wrote:
 Hi,

 I just wonder - does anyone have experience on running DSage on Amazon
 EC2 (on preferably more than one instance) or similar Cloud-Computing
 service? I'm preparing to try out the platform but because of it's non-
 zero cost I'd prefer not go in blind, would be very happy if someone
 who did it already could share some or any informations about how it
 runs there, with what optimizations, etc

 regards,
 Andrzej.
--~--~-~--~~~---~--~~
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: Failure running sage-vmware-sse2-3.4.1

2009-04-27 Thread madison . michael

I typed needed to type:
Login
Sage
su
sage
and I got:

Authentication failure
Sorry

The above resposes were to login and passward.  By the way I also
check the MD5 and it was correct.

Thanks Mike



On Apr 27, 10:27 am, William Stein wst...@gmail.com wrote:
 On Mon, Apr 27, 2009 at 10:25 AM,  madison.mich...@gmail.com wrote:

  On starting sage-vmware-sse2-3.4.1 I get the text menus in vmware.
  However, on starting either Sage or Notebook it starts and then
  returns me to the text menus again.  When running Sage from the text
  menu I don't get any error messages before it fails. My vmware sage
  worked fine for sage 3.2.3.  I am using:

  sage-vmware-sse2-3.4.1 binary
  Intel Celeron M 1.5 GHz, 1 GB Ram
  Microsoft Windows XP Professional 5.1.2600, Service Pack 3
  VMWARE 2.5.1 build-126130

  Previously I could not get sate 3.4 to work on my windows machine.

 What happens when you type:

 login: admin

 $    su -

 sage

 ?
--~--~-~--~~~---~--~~
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: Failure running sage-vmware-sse2-3.4.1

2009-04-27 Thread madison . michael

Sorry  I forgot to type sudo

I got:

/usr/local/sage/local/bin/sage-sage: line 198: 3586 Illegal
instruction sage-ipython $@ -i

Mike Madison

On Apr 27, 10:27 am, William Stein wst...@gmail.com wrote:
 On Mon, Apr 27, 2009 at 10:25 AM,  madison.mich...@gmail.com wrote:

  On starting sage-vmware-sse2-3.4.1 I get the text menus in vmware.
  However, on starting either Sage or Notebook it starts and then
  returns me to the text menus again.  When running Sage from the text
  menu I don't get any error messages before it fails. My vmware sage
  worked fine for sage 3.2.3.  I am using:

  sage-vmware-sse2-3.4.1 binary
  Intel Celeron M 1.5 GHz, 1 GB Ram
  Microsoft Windows XP Professional 5.1.2600, Service Pack 3
  VMWARE 2.5.1 build-126130

  Previously I could not get sate 3.4 to work on my windows machine.

 What happens when you type:

 login: admin

 $    su -

 sage

 ?
--~--~-~--~~~---~--~~
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: Failure running sage-vmware-sse2-3.4.1

2009-04-27 Thread William Stein

On Mon, Apr 27, 2009 at 10:56 AM,  madison.mich...@gmail.com wrote:

 Sorry  I forgot to type sudo

 I got:

 /usr/local/sage/local/bin/sage-sage: line 198: 3586 Illegal
 instruction sage-ipython $@ -i

This means you can't run the Sage vmware image on your computer, i.e.,
it is was built for a processor that is newer than yours.  What does
the output of

   cat /proc/cpuinfo

say?

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
-~--~~~~--~~--~--~---



[sage-support] Re: snapshot saving

2009-04-27 Thread kcrisman

Just as a postscript, I was really glad to have the autosave a few
minute ago, where I nearly deleted an entire lecture's worth of notes
and computations which I hadn't saved, by accidentally brushing
against a browser shortcut to a favorites page on the wrong window.
(This could happen with reload or other shortcuts, too, I suspect.)
When I used the browser back button, I had literally nothing, but
the autosave had captured my previous revision!

- kcrisman
--~--~-~--~~~---~--~~
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: snapshot saving

2009-04-27 Thread William Stein

On Mon, Apr 27, 2009 at 11:29 AM, kcrisman kcris...@gmail.com wrote:

 Just as a postscript, I was really glad to have the autosave a few
 minute ago, where I nearly deleted an entire lecture's worth of notes
 and computations which I hadn't saved, by accidentally brushing
 against a browser shortcut to a favorites page on the wrong window.
 (This could happen with reload or other shortcuts, too, I suspect.)
 When I used the browser back button, I had literally nothing, but
 the autosave had captured my previous revision!

You could have just pressed reload and you would have had your
worksheet back entirely.   It was still sitting there on the server in
RAM.   Never use the back button with the sage notebook, unless you
immediately press refresh.

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
-~--~~~~--~~--~--~---



[sage-support] Re: Failure running sage-vmware-sse2-3.4.1

2009-04-27 Thread madison . michael

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model: 13
model name  : Intel(R) Celeron(R) M processor 1.50GHz
stepping: 8
cpu MHz   : 1476.382
cache size: 1024 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug : no
fpu: yes
fpu_exception : yes
cpuid level  : 2
wp : yes
flags  : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr
pge mca cmov  pat clflush dts acpi mmx fxsr sse sse2 ss nx up
bogomips   : 3007.50

Thanks Mike Madison

On Apr 27, 11:20 am, William Stein wst...@gmail.com wrote:
 On Mon, Apr 27, 2009 at 10:56 AM,  madison.mich...@gmail.com wrote:

  Sorry  I forgot to type sudo

  I got:

  /usr/local/sage/local/bin/sage-sage: line 198: 3586 Illegal
  instruction sage-ipython $@ -i

 This means you can't run the Sage vmware image on your computer, i.e.,
 it is was built for a processor that is newer than yours.  What does
 the output of

    cat /proc/cpuinfo

 say?

 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
-~--~~~~--~~--~--~---



[sage-support] Re: Why this numerical integral bombs?

2009-04-27 Thread Jason Grout

Chris Seberino wrote:
 
 
 On Apr 27, 2:33 am, Jason Grout jason-s...@creativetrax.com wrote:
 I just upgraded to Jaunty over the weekend, and then compiled 3.4.1 from
 scratch.  Both expressions work for me:
 
 Hmm.  Does Sage leave a log build regarding the compilation?  Perhaps
 my build had some errors yours doesn't have I should look for?
 


Yes, in install.log in your root sage directory, if I recall correctly. 
  Do you see any errors in there (it's a *huge* text file, though).

Jason


--~--~-~--~~~---~--~~
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] Accessing a Sage 'instance' over the web; URL=???

2009-04-27 Thread rvaug...@gmail.com

I have successfully installed the latest sage on a Fedora Core 9
machine
(name of machine: strings358).  It seems to work fine.

One of my users wishes to access this remotely from his Mac OS laptop.

When he runs sage on his laptop, it tells him to open his browser
to http://localhost:8000.

What do I tell him?  How can he access the sage instance on strings358
via his browser over the web?

And is there *any* documentation re installation/configuration of
Sage?

Thanks,
-Richard Vaughn
--~--~-~--~~~---~--~~
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: snapshot saving

2009-04-27 Thread Jason Grout

William Stein wrote:
 On Mon, Apr 27, 2009 at 11:29 AM, kcrisman kcris...@gmail.com wrote:
 Just as a postscript, I was really glad to have the autosave a few
 minute ago, where I nearly deleted an entire lecture's worth of notes
 and computations which I hadn't saved, by accidentally brushing
 against a browser shortcut to a favorites page on the wrong window.
 (This could happen with reload or other shortcuts, too, I suspect.)
 When I used the browser back button, I had literally nothing, but
 the autosave had captured my previous revision!
 
 You could have just pressed reload and you would have had your
 worksheet back entirely.   It was still sitting there on the server in
 RAM.   Never use the back button with the sage notebook, unless you
 immediately press refresh.
 

Tom or some other javascript ninja:

Isn't there some sort of javascript that disables the back button? 
That's a common problem in web applications, and I'd be very surprised 
if it isn't a solved problem already.

Jason


--~--~-~--~~~---~--~~
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: snapshot saving

2009-04-27 Thread kcrisman


 You could have just pressed reload and you would have had your
 worksheet back entirely.   It was still sitting there on the server in
 RAM.   Never use the back button with the sage notebook, unless you
 immediately press refresh.

 william

ok, that seems reasonable!  But of course accidents do happen.

- kcrisman
--~--~-~--~~~---~--~~
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: snapshot saving

2009-04-27 Thread William Stein

On Mon, Apr 27, 2009 at 11:45 AM, Jason Grout
jason-s...@creativetrax.com wrote:

 William Stein wrote:
 On Mon, Apr 27, 2009 at 11:29 AM, kcrisman kcris...@gmail.com wrote:
 Just as a postscript, I was really glad to have the autosave a few
 minute ago, where I nearly deleted an entire lecture's worth of notes
 and computations which I hadn't saved, by accidentally brushing
 against a browser shortcut to a favorites page on the wrong window.
 (This could happen with reload or other shortcuts, too, I suspect.)
 When I used the browser back button, I had literally nothing, but
 the autosave had captured my previous revision!

 You could have just pressed reload and you would have had your
 worksheet back entirely.   It was still sitting there on the server in
 RAM.   Never use the back button with the sage notebook, unless you
 immediately press refresh.


 Tom or some other javascript ninja:

 Isn't there some sort of javascript that disables the back button?
 That's a common problem in web applications, and I'd be very surprised
 if it isn't a solved problem already.

 Jason


Not, there is no javascript to do that.  Also, disabling the back
button is irrelevant to the above problem, which would only have been
prevented by disabling being able to leave the page by clicking on a
favorites.   There is javascript to attempt to prevent users from
leaving pages -- lots of spam sites use it.  Of course it doesn't work
well though, and is often extremely annoying.

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
-~--~~~~--~~--~--~---



[sage-support] Re: paths in graphs

2009-04-27 Thread William Stein

On Mon, Apr 27, 2009 at 12:06 PM, Jason Grout
jason-s...@creativetrax.com wrote:

 William Stein wrote:
 On Mon, Apr 27, 2009 at 10:02 AM, Jason Grout
 jason-s...@creativetrax.com wrote:
 William Stein wrote:
 On Mon, Apr 27, 2009 at 7:45 AM, Robert Miller r...@rlmiller.org wrote:
 On Mon, Apr 27, 2009 at 6:47 AM, William Stein wst...@gmail.com wrote:
 Hi Robert,

 Did you guys every write any code to plot *paths* in graphs?
 No, but you can color the edges of the path differently.
 That is pretty bad, IMHO.  E.g., try this:

 g = graphs.CompleteGraph(5)
 g.plot(edge_colors={'red':[(0,1)]})

 If you try to color any edges, then it *deletes* all other edges that
 aren't colored.

 Well, deletes is a pretty strong word.  More accurately, it doesn't
 show any edges for which you didn't specify a color.

 I've found this to be a slight annoyance when I wanted to create pretty
 edge-colored graphs, as I have to specifically color my other edges black.


 So do you also consider it a bug?  I don't want to report bugs about
 graph theory until getting some graph theorists to agree, since I'm
 not a graph theorist.

 I don't know that it is a bug (i.e., an unintended consequence or
 mistake), but it is an interface decision that I think is annoying and
 surprising.  For that reason, I'd be +1 on changing it.

 I think vertex_colors also has the same convention of hiding vertices
 that are not specified.

It's even worse.  It leaves in the vertex label but forgets to draw
the circle around it.  Ouch.

 You might also be interested in the highlight function from the bottom
 of #2378, which is a first step towards implementing functionality like
 the mathematica Highlight and AnimateGraph commands:

 http://reference.wolfram.com/mathematica/Combinatorica/ref/Highlight.html

 http://reference.wolfram.com/mathematica/Combinatorica/ref/AnimateGraph.html

 Jason


 




-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://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] Re: Accessing a Sage 'instance' over the web; URL=???

2009-04-27 Thread Justin C. Walker


On Apr 27, 2009, at 11:46 , rvaug...@gmail.com wrote:


 I have successfully installed the latest sage on a Fedora Core 9
 machine
 (name of machine: strings358).  It seems to work fine.

 One of my users wishes to access this remotely from his Mac OS laptop.

 When he runs sage on his laptop, it tells him to open his browser
 to http://localhost:8000.

 What do I tell him?  How can he access the sage instance on strings358
 via his browser over the web?

In order to access the sage instance running on 'string358', from his  
laptop running somewhere else in the network, he needs to be able to  
access 'string358'.

Normally, this would be something like http://string358.google.edu;  
for web access.  Then just append the :8000:.

The :8000 says to use port 8000, instead of the well-known port 80  
for http access (we do this to avoid conflicts on systems that already  
run a webserver).

 And is there *any* documentation re installation/configuration of  
 Sage?


The is a fair amount of documentation that comes with sage and is  
separately available on the sage website:
  http://www.sagemath.org/doc

The documentation you want may not be there, or it may not be where  
you expect it to be.  If either is the case, send mail to this list  
indicating the problems you see.

HTH

Justin

--
Justin C. Walker
Curmudgeon-at-large
Director
Institute for the Absorption of Federal Funds

186,000 Miles per Second
Not just a good idea:
   it's the law!



--~--~-~--~~~---~--~~
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: Accessing a Sage 'instance' over the web; URL=???

2009-04-27 Thread mabshoff



On Apr 27, 12:31 pm, Justin C. Walker jus...@mac.com wrote:
 On Apr 27, 2009, at 11:46 , rvaug...@gmail.com wrote:



  I have successfully installed the latest sage on a Fedora Core 9
  machine
  (name of machine: strings358).  It seems to work fine.

  One of my users wishes to access this remotely from his Mac OS laptop.

  When he runs sage on his laptop, it tells him to open his browser
  tohttp://localhost:8000.

  What do I tell him?  How can he access the sage instance on strings358
  via his browser over the web?

 In order to access the sage instance running on 'string358', from his  
 laptop running somewhere else in the network, he needs to be able to  
 access 'string358'.

 Normally, this would be something like http://string358.google.edu;  
 for web access.  Then just append the :8000:.

 The :8000 says to use port 8000, instead of the well-known port 80  
 for http access (we do this to avoid conflicts on systems that already  
 run a webserver).

Read

  notebook?

from inside a Sage session.

Cheers,

Michael
--~--~-~--~~~---~--~~
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: Accessing a Sage 'instance' over the web; URL=???

2009-04-27 Thread John H Palmieri

On Apr 27, 12:34 pm, mabshoff michael.absh...@mathematik.uni-
dortmund.de wrote:
 On Apr 27, 12:31 pm, Justin C. Walker jus...@mac.com wrote:



  On Apr 27, 2009, at 11:46 , rvaug...@gmail.com wrote:

   I have successfully installed the latest sage on a Fedora Core 9
   machine
   (name of machine: strings358).  It seems to work fine.

   One of my users wishes to access this remotely from his Mac OS laptop.

   When he runs sage on his laptop, it tells him to open his browser
   tohttp://localhost:8000.

   What do I tell him?  How can he access the sage instance on strings358
   via his browser over the web?

  In order to access the sage instance running on 'string358', from his  
  laptop running somewhere else in the network, he needs to be able to  
  access 'string358'.

  Normally, this would be something like http://string358.google.edu;  
  for web access.  Then just append the :8000:.

  The :8000 says to use port 8000, instead of the well-known port 80  
  for http access (we do this to avoid conflicts on systems that already  
  run a webserver).

 Read

   notebook?

 from inside a Sage session.

From a brief look, I think the docstring could be more helpful.  For
instance, the second sentence refers you to the (as far as I can tell)
non-existent chapter  Running the SAGE Notebook Securely in the
installation guide.  I like the examples later on, though.

  John

--~--~-~--~~~---~--~~
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: request for SAGE DVD

2009-04-27 Thread nasqret

Thank you, I've tested it yesterday and it work very fine. I will
prepare this Live CD copies, they are quite easy to handle for high
school students.

BN

On 27 Kwi, 03:24, cch cchu...@mail.cgu.edu.tw wrote:
 We have also made a live Sage DVD (hosted on slax-linux). DVD owns
 Sage-3.4.1, python-2.6 environment, most open-source CAS (Maxima-5.18,
 octave-5.0.5, Scilab-5.1) and gcc/libtool.
 Feel free to download from the following site:

 http://diffusion.cgu.edu.tw/ftp/TeXmacs-CAS-py26-Sage.iso

 cch
--~--~-~--~~~---~--~~
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: request for SAGE DVD

2009-04-27 Thread nasqret

Thank you, I've tested it yesterday and it work very fine!

BN

On 27 Kwi, 03:24, cch cchu...@mail.cgu.edu.tw wrote:
 We have also made a live Sage DVD (hosted on slax-linux). DVD owns
 Sage-3.4.1, python-2.6 environment, most open-source CAS (Maxima-5.18,
 octave-5.0.5, Scilab-5.1) and gcc/libtool.
 Feel free to download from the following site:

 http://diffusion.cgu.edu.tw/ftp/TeXmacs-CAS-py26-Sage.iso

 cch
--~--~-~--~~~---~--~~
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: DSage on Amazon EC2

2009-04-27 Thread Serge Salamanka

Do you intend to build a cluster this way or just want to test/develop
dsage ?

Serge

Andrzej Giniewicz пишет:
 Hi,
 
 I just wonder - does anyone have experience on running DSage on Amazon
 EC2 (on preferably more than one instance) or similar Cloud-Computing
 service? I'm preparing to try out the platform but because of it's non-
 zero cost I'd prefer not go in blind, would be very happy if someone
 who did it already could share some or any informations about how it
 runs there, with what optimizations, etc
 
 regards,
 Andrzej.
 
  
 

--~--~-~--~~~---~--~~
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] SageWorld

2009-04-27 Thread Serge Salamanka

Hello,

I wonder how it is possible to make a common shared objects space for
all of the users on the Sage server ?

The idea is to make available the mathematical space to users providing
that they all can have access from within their own sessions to a common
session.

As far as I understand:
I propose to install server as multiuser app with unix accounts.
Each user runs IPython shell when working with Sage (also from notebook).
There is a need to make the user objects accessible to others (say, like
to work in the same session).
The best would be even to use ACLs for controlling access to objects
(say, another user cannot modify object but only read and use it).

Could you please point me to the right direction.

I suppose I should look for this somewhere in python functionality ?

Comments are welcome.

Serge

--~--~-~--~~~---~--~~
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: problem with server_pool.

2009-04-27 Thread Serge Salamanka

I suppose sage user doesn't have rights to create users or Sage itself
doesn't create unix users.

just a comment

Serge

Thierry Dumont пишет:
 I am trying to use Sage (3.4) with a server pool *and* ldap identification.
 
 - As user sage I run the notebook with the following parameters:
 notebook(port=8001,secure=True,address='',server_pool=['sa...@localhost'],open_viewer=False,accounts=True)
 
 sage1 is an other Unix user, and I can ssh from sage user to sage1
 without password.
 
 - Suppose that this is the first time I log in sage; I give my login
 and password, look for them in the ldap directory and, if everything is
 ok, I proceed exactly as for a public server, that is to say that Sage
 creates a new user (a new Sage user).
 
 I can verify that Sage is running as sage1.
 
 But the new user is created in the .sage/sage-notebook/worksheets of the
 *sage* user (not the *sage1*).
 I can connect to the server, but then, and for me it is not surprising,
 I have no rights and can do nothing:
 
 Example:
 
 2+1
 (evaluate)
 Traceback (click to the left for traceback)
 ...
 IOError: [Errno 13] Permission denied:
 '/home/sage/.sage/sage_notebook/worksheets/Thierry.Dumont/2/code/1.py'
 ---
 
 
 On the public sage-server (your server), it seems that sage is running
 as worksheet (that is what says: system('whoami')), but the home
 directories belong to sage. So there is something I do not understand.
 
 An other (small) problem: I had to unsubscribe from sage-support list
 for some time. I subscribed again (by mail), but I do not receive
 answers to my mails, as before unsubscribing. But this not important, I
 can look at the messages on the web.
 
 Yours
 t.d.
 
 -
 French universities are on a permanent strike!
 Have a look at the International Call:
 http://math.univ-lyon1.fr/appel
 -
 
 

--~--~-~--~~~---~--~~
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: DSage on Amazon EC2

2009-04-27 Thread Andrzej Giniewicz

Hi,

 Do you intend to build a cluster this way or just want to test/develop
 dsage ?

right now just for tests, later for personal use in simulations to get
more processing power reserve to speed up some simulation for cost of
one beer and who know what more if it will be working - surely will be
interested in dsage based algorithms and dsage itself :)...

anyway I'm still at research stage, found cpuinfo of EC2 instances -
http://www.cloudiquity.com/2009/01/amazon-ec2-instances-and-cpuinfo/ -
that's output from inside virtual host that seem to be Xen based. One
can upload totally custom OS image so it might be working, still
reading message boards and pages though

cheers,
Andrzej.

--~--~-~--~~~---~--~~
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: SageWorld

2009-04-27 Thread William Stein

On Mon, Apr 27, 2009 at 5:01 PM, Serge Salamanka salsa-...@tut.by wrote:

 Hello,

 I wonder how it is possible to make a common shared objects space for
 all of the users on the Sage server ?

If X is any object in any Sage session then any user can type

save(X, '/tmp/name.sobj')

and any other user can load X by typing

X = load('/tmp/name.sobj')

That basically accomplishes what you asked for, right?

 -- William

 The idea is to make available the mathematical space to users providing
 that they all can have access from within their own sessions to a common
 session.

 As far as I understand:
 I propose to install server as multiuser app with unix accounts.
 Each user runs IPython shell when working with Sage (also from notebook).
 There is a need to make the user objects accessible to others (say, like
 to work in the same session).
 The best would be even to use ACLs for controlling access to objects
 (say, another user cannot modify object but only read and use it).

 Could you please point me to the right direction.

 I suppose I should look for this somewhere in python functionality ?

 Comments are welcome.

 Serge

 




-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://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] Re: problem with server_pool.

2009-04-27 Thread Robert Bradshaw

On Apr 27, 2009, at 5:08 PM, Serge Salamanka wrote:

 I suppose sage user doesn't have rights to create users or Sage itself
 doesn't create unix users.

Sage itself doesn't create the users--thats something that you have  
to set up yourself beforehand. (It would be cool if it could, but it  
takes a lot of permissions to create users...)


 just a comment

 Serge

 Thierry Dumont пишет:
 I am trying to use Sage (3.4) with a server pool *and* ldap  
 identification.

 - As user sage I run the notebook with the following parameters:
 notebook(port=8001,secure=True,address='',server_pool= 
 ['sa...@localhost'],open_viewer=False,accounts=True)

 sage1 is an other Unix user, and I can ssh from sage user to  
 sage1
 without password.

 - Suppose that this is the first time I log in sage; I give my login
 and password, look for them in the ldap directory and, if  
 everything is
 ok, I proceed exactly as for a public server, that is to say that  
 Sage
 creates a new user (a new Sage user).

 I can verify that Sage is running as sage1.

 But the new user is created in the .sage/sage-notebook/worksheets  
 of the
 *sage* user (not the *sage1*).
 I can connect to the server, but then, and for me it is not  
 surprising,
 I have no rights and can do nothing:

 Example:
 
 2+1
 (evaluate)
 Traceback (click to the left for traceback)
 ...
 IOError: [Errno 13] Permission denied:
 '/home/sage/.sage/sage_notebook/worksheets/Thierry.Dumont/2/code/ 
 1.py'
 ---


 On the public sage-server (your server), it seems that sage is  
 running
 as worksheet (that is what says: system('whoami')), but the home
 directories belong to sage. So there is something I do not  
 understand.

 An other (small) problem: I had to unsubscribe from sage-support list
 for some time. I subscribed again (by mail), but I do not receive
 answers to my mails, as before unsubscribing. But this not  
 important, I
 can look at the messages on the web.

 Yours
 t.d.

 -
 French universities are on a permanent strike!
 Have a look at the International Call:
 http://math.univ-lyon1.fr/appel
 -



 


--~--~-~--~~~---~--~~
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: problem with server_pool.

2009-04-27 Thread William Stein

On Mon, Apr 27, 2009 at 5:02 PM, Robert Bradshaw
rober...@math.washington.edu wrote:

 On Apr 27, 2009, at 5:08 PM, Serge Salamanka wrote:

 I suppose sage user doesn't have rights to create users or Sage itself
 doesn't create unix users.

 Sage itself doesn't create the users--thats something that you have
 to set up yourself beforehand. (It would be cool if it could, but it
 takes a lot of permissions to create users...)

It would be great if Sage could create users.  Then we could finally easily
have more than 100,000 Sage users!  (Our next goal.)

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
-~--~~~~--~~--~--~---



[sage-support] Re: DSage on Amazon EC2

2009-04-27 Thread Serge Salamanka

I have a setup of ten Sage worker nodes with one server.
Make experiments with gLite-based Grid.

If one could be in BalticGrid virtual organization he could use the
worker nodes.

As I understand dsage can only submit jobs to worker nodes and get the
results without any communication between them.
If you need to speed up simulation with parts of code running separately
you are better off in Grid with its huge resources.

Andrzej Giniewicz пишет:
 Hi,
 
 Do you intend to build a cluster this way or just want to test/develop
 dsage ?
 
 right now just for tests, later for personal use in simulations to get
 more processing power reserve to speed up some simulation for cost of
 one beer and who know what more if it will be working - surely will be
 interested in dsage based algorithms and dsage itself :)...
 
 anyway I'm still at research stage, found cpuinfo of EC2 instances -
 http://www.cloudiquity.com/2009/01/amazon-ec2-instances-and-cpuinfo/ -
 that's output from inside virtual host that seem to be Xen based. One
 can upload totally custom OS image so it might be working, still
 reading message boards and pages though
 
 cheers,
 Andrzej.
 
  
 

--~--~-~--~~~---~--~~
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: SageWorld

2009-04-27 Thread Serge Salamanka

I found Pyro with exceptional functionality.
pyro.sourceforge.net
This might be used for the purpose?

I just need to make easily accessible the objects that other user
creates during his session and also share my objects.
Better this would be fully automated rather than loading/saving

William Stein пишет:
 On Mon, Apr 27, 2009 at 5:01 PM, Serge Salamanka salsa-...@tut.by wrote:
 Hello,

 I wonder how it is possible to make a common shared objects space for
 all of the users on the Sage server ?
 
 If X is any object in any Sage session then any user can type
 
 save(X, '/tmp/name.sobj')
 
 and any other user can load X by typing
 
 X = load('/tmp/name.sobj')
 
 That basically accomplishes what you asked for, right?
 
  -- William
 The idea is to make available the mathematical space to users providing
 that they all can have access from within their own sessions to a common
 session.

 As far as I understand:
 I propose to install server as multiuser app with unix accounts.
 Each user runs IPython shell when working with Sage (also from notebook).
 There is a need to make the user objects accessible to others (say, like
 to work in the same session).
 The best would be even to use ACLs for controlling access to objects
 (say, another user cannot modify object but only read and use it).

 Could you please point me to the right direction.

 I suppose I should look for this somewhere in python functionality ?

 Comments are welcome.

 Serge

 
 
 

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---