[sage-support] HOWTO remove a package

2010-03-01 Thread Serge A. Salamanka
Hello,

How to properly remove a package ?
In documentation there is no mention on how to do that.

Particularly, I'd like to remove sagenb-0.7.5.1 from my Sage installation.
Should I just remove the directory sagenb in
sage-4.3.3/local/lib/python2.6/site-packages/sagenb-0.7.5.1-py2.6.egg ?

After that I need to build a distribution without sagenb.

Searched the wiki, no success. Please, reply.

#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
URL: http://www.sagemath.org


Re: [sage-support] Re: sage 4.3.3 fortan compilation problem

2010-02-28 Thread Serge A. Salamanka
You need to install a dumy package gfortran after you install gfortran-4.3
sudo apt-get install gfortran

then you'll have
/usr/bin/gfortran
available which seems to be required by make process.

and after that it goes very smoothly.

I guess it should be also noted is README.txt that Sage needs gfortran

#Serge

bourbabis пишет:
> Thanks for replying.
> 
> I don't understand.
> "gfortran" is already installed and fully functional, I've checked it
> before typing "make". See what the following bash commands (->)
> return.
> 
> -> dpkg -l | grep fortran
> 
> ii  gfortran-4.3 4.3.2-1.1
> The GNU Fortran 95 compiler
> ii  libgfortran3 4.3.2-1.1
> Runtime library for GNU Fortran applications
> 
> 
> -> /usr/bin/gfortran-4.3 -v
> 
> Utilisation des specs internes.
> Target: i486-linux-gnu
> Configuré avec: ../src/configure -v --with-pkgversion='Debian
> 4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --
> enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-
> shared --with-system-zlib --libexecdir=/usr/lib --without-included-
> gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/
> usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --
> enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-
> targets=all --enable-cld --enable-checking=release --build=i486-linux-
> gnu --host=i486-linux-gnu --target=i486-linux-gnu
> Modèle de thread: posix
> gcc version 4.3.2 (Debian 4.3.2-1.1)
> 
> 
> -> ldd /usr/lib/libgfortran.so.3
> 
>   linux-gate.so.1 =>  (0xb7eee000)
>   libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7dfa000)
>   libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7c9f000)
>   /lib/ld-linux.so.2 (0xb7eef000)
> 
> 
> Everything seems correct. So I've thought, Sage doesn't succeed to
> locate the fortan compiler and thus I must explicitly set the two
> environment variables. Or is it a problem of gfortran version ?
> 

-- 
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
URL: http://www.sagemath.org


[sage-support] Re: error loading the sage libraries (setting up public Sage server) notebook directory outside of .sage don't work

2009-09-08 Thread Serge A. Salamanka



William Stein пишет:
> On Tue, Aug 4, 2009 at 2:42 AM, Serge A. Salamanka wrote:
>>
>> William Stein пишет:
>>> On Mon, Aug 3, 2009 at 9:26 AM, Serge A. Salamanka wrote:
>>>> Dear support,
>>>>
>>>> I'm having a bit of a problem with setting up Sage public server with
>>>> several pool accounts.
>>>>
>>>> Everything is done according to recommendations on
>>>> http://wiki.sagemath.org/DanDrake/JustEnoughSageServer
>>>> except that I have to set up 750 permission for the group of sageusers
>>>> on /home/sageadm (chmod 750 /home/sageadm )
>>>> Otherwise the notebook cells show error "Permission denied"
>>>>
>>>> So I have created dir /home/sageadm/sagenbfiles for notebook server and
>>>> setup 2775 permission.
>>>>
>>>> The server is run by the user sageadm with pool accounts of several
>>>> others with no password by ssh.
>>>>
>>>> I can sign up on the server and the interface but I can't execute simple
>>>> code "2-1" or anything other in the notebook cell.
>>>> It says:
>>>> " Traceback (most recent call last): 2-1
>>>> NameError: name 'os' is not defined
>>>> There was an error loading the sage libraries. Try starting from the
>>>> command line to see what the error is."
>>> Can you manually ssh to the pool accounts and type "sage" to run Sage?
>>>  The pool accounts *must* be able to run Sage by just typing "sage".
>>>
>>> William
>>>
>> I can ssh to pool accounts and run sage with no problem.
>>
>> Still no result:
>>
>> Traceback (most recent call last):2-1
>> NameError: name 'os' is not defined
>> THERE WAS AN ERROR LOADING THE SAGE LIBRARIES.  Try starting Sage from
>> the command line to see what the error is.
>>
>>
>> #
>>
>> I tried to evaluate .py file from the command line under pool account:
>>
>> [sage...@sagenb ~]$ cat
>> /home/sageadm/sagenbfiles/worksheets/salsa/1/code/8.py
>> # -*- coding: utf_8 -*-
>> from __future__ import with_statement
>> print "b12"
>> os.chdir("/home/sageadm/sagenbfiles/worksheets/salsa/1/cells/11")
>> sage.server.notebook.interact.SAGE_CELL_ID=11
>> print _support_.syseval(sh, ur'''ls''',
>> '/home/sageadm/sagenbfiles/worksheets/salsa/1/cells/11')
>>
>> print "e12"
>> [sage...@sagenb ~]$
>> [sage...@sagenb ~]$ sage -python
>> /home/sageadm/sagenbfiles/worksheets/salsa/1/code/8.py
>> b12
>> Traceback (most recent call last):
>>  File "/home/sageadm/sagenbfiles/worksheets/salsa/1/code/8.py", line 4,
>> in 
>>os.chdir("/home/sageadm/sagenbfiles/worksheets/salsa/1/cells/11")
>> NameError: name 'os' is not defined
> 
> The above looks like a pretty good hint.  If you can't do
> 
>sage -python
> 
> from the server pool accounts, nothing is going to work.  You need to
> get to the bottom of why "sage -python" doesn't work.
> 
> William
> 

I came back to this problem again.

Searched through the source code  and found the exact ssh command which
executes to run sage code:
command = 'sage-native-execute ssh -t %s "ulimit %s; %s"'%(server,
ulimit, command)
# from expect.py

sage-native-execute script looks like this:

#!/bin/sh

LD_LIBRARY_PATH=$SAGE_ORIG_LD_LIBRARY_PATH; export LD_LIBRARY_PATH
if [ `uname` = 'Darwin' ]; then
  DYLD_LIBRARY_PATH=$SAGE_ORIG_DYLD_LIBRARY_PATH
fi

"$@"

As I understand the problem in environment settings which are transfered
to pool account, is that correct ?


> > 
> 

--~--~-~--~~~---~--~~
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: error loading the sage libraries (setting up public Sage server) notebook directory outside of .sage don't work

2009-08-04 Thread Serge A. Salamanka


William Stein пишет:
> On Mon, Aug 3, 2009 at 9:26 AM, Serge A. Salamanka wrote:
>> Dear support,
>>
>> I'm having a bit of a problem with setting up Sage public server with
>> several pool accounts.
>>
>> Everything is done according to recommendations on
>> http://wiki.sagemath.org/DanDrake/JustEnoughSageServer
>> except that I have to set up 750 permission for the group of sageusers
>> on /home/sageadm (chmod 750 /home/sageadm )
>> Otherwise the notebook cells show error "Permission denied"
>>
>> So I have created dir /home/sageadm/sagenbfiles for notebook server and
>> setup 2775 permission.
>>
>> The server is run by the user sageadm with pool accounts of several
>> others with no password by ssh.
>>
>> I can sign up on the server and the interface but I can't execute simple
>> code "2-1" or anything other in the notebook cell.
>> It says:
>> " Traceback (most recent call last): 2-1
>> NameError: name 'os' is not defined
>> There was an error loading the sage libraries. Try starting from the
>> command line to see what the error is."
> 
> Can you manually ssh to the pool accounts and type "sage" to run Sage?
>  The pool accounts *must* be able to run Sage by just typing "sage".
> 
> William
> 

I can ssh to pool accounts and run sage with no problem.

Still no result:

Traceback (most recent call last):2-1
NameError: name 'os' is not defined
THERE WAS AN ERROR LOADING THE SAGE LIBRARIES.  Try starting Sage from
the command line to see what the error is.


#

I tried to evaluate .py file from the command line under pool account:

[sage...@sagenb ~]$ cat
/home/sageadm/sagenbfiles/worksheets/salsa/1/code/8.py
# -*- coding: utf_8 -*-
from __future__ import with_statement
print "b12"
os.chdir("/home/sageadm/sagenbfiles/worksheets/salsa/1/cells/11")
sage.server.notebook.interact.SAGE_CELL_ID=11
print _support_.syseval(sh, ur'''ls''',
'/home/sageadm/sagenbfiles/worksheets/salsa/1/cells/11')

print "e12"
[sage...@sagenb ~]$
[sage...@sagenb ~]$ sage -python
/home/sageadm/sagenbfiles/worksheets/salsa/1/code/8.py
b12
Traceback (most recent call last):
  File "/home/sageadm/sagenbfiles/worksheets/salsa/1/code/8.py", line 4,
in 
os.chdir("/home/sageadm/sagenbfiles/worksheets/salsa/1/cells/11")
NameError: name 'os' is not defined
[sage...@sagenb ~]$
[sage...@sagenb ~]$
#these are env. vars (some of them most important):
[sage...@sagenb ~]$ env
HOSTNAME=sagenb.sageworldmath.org
SHELL=/bin/bash
USER=sagenb1
PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/sagenb1/bin
PWD=/home/sagenb1
HOME=/home/sagenb1
LOGNAME=sagenb1
[sage...@sagenb ~]$
[sage...@sagenb ~]$

#not sure but seems to be the wrong way. group should have write permission:
[sage...@sagenb ~]$ ll
/home/sageadm/sagenbfiles/worksheets/salsa/1/code/8.py
-rw-r--r-- 1 sageadm sageusers 298 Aug  4 12:16
/home/sageadm/sagenbfiles/worksheets/salsa/1/code/8.py
[sage...@sagenb ~]$


Something might have changed since Dan Drake wrote his notes on the
server set up:
http://wiki.sagemath.org/DanDrake/JustEnoughSageServer

I'm sorry to bother with such problems.
Just give your ideas here.

# Serge

>> well, you can check out yourself at
>> https://sagenb.sageworldmath.org:8000/
>>
>> The point is when I run server with default dir in .sage and no pool
>> accounts, it works good.
>> But when I point to the dir outside of the /home/sageadm/.sage it shows
>> error.
>>
>> Any ideas ?
>>
>> I use Sage-4.1 (latest download) and Scientific Linux 5.3
>>
>> # 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] error loading the sage libraries (setting up public Sage server) notebook directory outside of .sage don't work

2009-08-03 Thread Serge A. Salamanka

Dear support,

I'm having a bit of a problem with setting up Sage public server with
several pool accounts.

Everything is done according to recommendations on
http://wiki.sagemath.org/DanDrake/JustEnoughSageServer
except that I have to set up 750 permission for the group of sageusers
on /home/sageadm (chmod 750 /home/sageadm )
Otherwise the notebook cells show error "Permission denied"

So I have created dir /home/sageadm/sagenbfiles for notebook server and
setup 2775 permission.

The server is run by the user sageadm with pool accounts of several
others with no password by ssh.

I can sign up on the server and the interface but I can't execute simple
code "2-1" or anything other in the notebook cell.
It says:
" Traceback (most recent call last): 2-1
NameError: name 'os' is not defined
There was an error loading the sage libraries. Try starting from the
command line to see what the error is."

well, you can check out yourself at
https://sagenb.sageworldmath.org:8000/

The point is when I run server with default dir in .sage and no pool
accounts, it works good.
But when I point to the dir outside of the /home/sageadm/.sage it shows
error.

Any ideas ?

I use Sage-4.1 (latest download) and Scientific Linux 5.3

# 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: Citing Sage

2009-05-20 Thread Serge A. Salamanka

That is it.
I'm glad I could help.

#Serge

avra пишет:
> maybe this
> 
> http://www.sagenb.org/home/pub/553/
> http://www.sagenb.org/home/pub/554/
> 
> i am so sorry for wasting everyone's time with this!
> 
> avra
> 
> On May 20, 4:54 pm, "Serge A. Salamanka"  wrote:
>> avra пишет:
>>
>>> I am sorry!!!
>>> I will try this again:
>>> http://www.sagenb.org/home/avracadavra/18/
>>> http://www.sagenb.org/home/avracadavra/13/
>>> i know this is maybe a dumb question, but does the worksheet have to
>>> be shared as well?
>> I get an error while accessing those links.
>> Surely worksheets should be published first.
>>
>> #Serge
>>
>>
>>
>>> thank you
>>> avra
>>> On May 20, 4:24 pm, Jason Grout  wrote:
>>>> avra wrote:
>>>>> Alright,
>>>>> here is the link to two of the worksheets that have everything that I
>>>>> have been using on them.
>>>>> http://:8000/home/pub/553
>>>>> http://:8000/home/pub/554
>>>> Those links won't work by themselves (no hostname).  I think it's
>>>> because sagenb is started up with address='', which means (I think) that
>>>> the public notebook does not know its own hostname (at least, it doesn't
>>>> know what hostname to use).
>>>> It's annoying, but you could open up the worksheets and copy the URL
>>>> from the browser address bar instead.
>>>> Jason
>>>> --
>>>> Jason Grout
>>
> > 
> 

--~--~-~--~~~---~--~~
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: Citing Sage

2009-05-20 Thread Serge A. Salamanka

Publish the worksheet.
At the home page you see the list of your worksheets.
Copy the link of the required published worksheet and that will be a
public link to this document.

#Serge

avra пишет:
> hmmm... they are both published
> i am not quite sure what to do. I got an error when i first clicked on
> it, but then I clicked the GET link and it seemed to work.
> 
> I am so sorry, I am not quite sure what to do.
> 
> Avra
> 
> On May 20, 4:54 pm, "Serge A. Salamanka"  wrote:
>> avra пишет:
>>
>>> I am sorry!!!
>>> I will try this again:
>>> http://www.sagenb.org/home/avracadavra/18/
>>> http://www.sagenb.org/home/avracadavra/13/
>>> i know this is maybe a dumb question, but does the worksheet have to
>>> be shared as well?
>> I get an error while accessing those links.
>> Surely worksheets should be published first.
>>
>> #Serge
>>
>>
>>
>>> thank you
>>> avra
>>> On May 20, 4:24 pm, Jason Grout  wrote:
>>>> avra wrote:
>>>>> Alright,
>>>>> here is the link to two of the worksheets that have everything that I
>>>>> have been using on them.
>>>>> http://:8000/home/pub/553
>>>>> http://:8000/home/pub/554
>>>> Those links won't work by themselves (no hostname).  I think it's
>>>> because sagenb is started up with address='', which means (I think) that
>>>> the public notebook does not know its own hostname (at least, it doesn't
>>>> know what hostname to use).
>>>> It's annoying, but you could open up the worksheets and copy the URL
>>>> from the browser address bar instead.
>>>> Jason
>>>> --
>>>> Jason Grout
>>
> > 
> 

--~--~-~--~~~---~--~~
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: Citing Sage

2009-05-20 Thread Serge A. Salamanka



avra пишет:
> I am sorry!!!
> 
> I will try this again:
> 
> http://www.sagenb.org/home/avracadavra/18/
> http://www.sagenb.org/home/avracadavra/13/
> 
> i know this is maybe a dumb question, but does the worksheet have to
> be shared as well?

I get an error while accessing those links.
Surely worksheets should be published first.

#Serge

> 
> thank you
> 
> avra
> 
> On May 20, 4:24 pm, Jason Grout  wrote:
>> avra wrote:
>>> Alright,
>>> here is the link to two of the worksheets that have everything that I
>>> have been using on them.
>>> http://:8000/home/pub/553
>>> http://:8000/home/pub/554
>> Those links won't work by themselves (no hostname).  I think it's
>> because sagenb is started up with address='', which means (I think) that
>> the public notebook does not know its own hostname (at least, it doesn't
>> know what hostname to use).
>>
>> It's annoying, but you could open up the worksheets and copy the URL
>> from the browser address bar instead.
>>
>> Jason
>>
>> --
>> Jason Grout
> > 
> 

--~--~-~--~~~---~--~~
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: Logging in to a browser session

2009-05-16 Thread Serge A. Salamanka

You've got to have access to the command line.
The way I start notebook server:

I call sage from command line.
then under sage promt I type:
notebook()

It then creates user admin and promts for the password.

that is it.

But it is an ordinary linux way.
I don't know your situation and I haven't dealt with VM images.

#Serge

kilucas пишет:
> 
> 
> On May 16, 2:58 pm, "Serge A. Salamanka"  wrote:
>> When you start notebook server from the command line the very first time
>> you get a promt to choose password for admin user.
> 
> Is the "command line" you're refering to the login prompt that I see
> below the menu of 4 options (notebook, off, manage, sage)? If so, when
> I type "notebook" at this point I just see lots of text scroll past
> and eventually I get the same 4 menu options and the same login prompt
> back. Nothing prompts me for an admin password.
> 
> Have I misunderstood what you mean or is my implementation behaving
> oddly perhaps?
> 
> Thanks
> Kevin
> 
>> Thus, login as admin
>>
>> Serge
>>
>> kilucas пишет:
>>
>>
>>
>>> I'm struggling to get sage running on a lan-connected notebook and so
>>> have been pointing Firefox at a whole variety of IP addresses, port
>>> numbers and http/https combinations to see if I can find anything that
>>> will respond. Occasionally attempts to reach IP addresses associated
>>> with VMNet8 or VMNet1 will ask me to log in. This made me realise that
>>> I don't know whether I will have to log in to a browser page the first
>>> time I use my own copy of Sage and, if so, which credentials I should
>>> use.
>>> I've trioed the "login"/"sage" combination and I've tried the Windows
>>> credentials but neither works.
>>> So will I need to login through Firefox and if so, which credentials
>>> should I use please?
>>> Thanks
>>> Kevin- Hide quoted text -
>> - Show quoted text -
> > 
> 

--~--~-~--~~~---~--~~
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 is Sage called a Computer *Algebra* system? What is def of "algebra"?

2009-05-16 Thread Serge A. Salamanka



Chris Seberino пишет:
> Sage does calculus and geometry calculations so I don't understand why
> the term "Computer Algebra System" is so prevalent.

Probably because it is abbreviated as CAS that is already a history to
call mathematics software.

Serge

> 
> What is the definition of "algebra"? Perhaps "algebra" means something
> like "the manipulation of a finite number of objects" ?
> 
> Chris
> 
> > 
> 

--~--~-~--~~~---~--~~
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 for Scientific Grid

2009-05-16 Thread Serge A. Salamanka



Serge A. Salamanka пишет:
> Hello, Ian
> 
> It could be interesting to see your Django-based web-portal.
> 
> 1) I didn't understand about dynamically created Sage Notebook pages.
> What do you mean by that ? Could you be more specific please.
> 
> The correlation between submitting job and showing the results in the
> notebook worksheet could be achieved, as I see, by writing some python
> functions that utilize Grid functionality and return the results.

I'm thinking of the best way to call this function.
The options are:

gdsage
(just a short alternative to gridsage and easily associated with dsage
because they will be very much connected)

gridsage
(I also like this one for explicit meaning)

dsagegrid
(just a third option, can't thin of anything else)

So, may be you have any suggestions, Ian ?

I came up to call it gdsage but guess I need to ask others for this.
Because it might interfere with dsage in code and probably will be the
cause for further problems.

> 
> 2) I hope someone answers your question in more detail. I'd also like to
> have such opportunity.
> 
> Serge
> 
> Ian Stokes-Rees пишет:
>> I'm thinking about some similar things, but from a different
>> perspective.
>>
>> I have Sage installed on the main UI/portal node for grid job
>> submission.  Users can submit jobs from the command line or from a
>> Django-based web-portal.
>>
>> 1) I would love to present results as dynamically created Sage
>> Notebook pages, and have a 1-1 correlation between a grid job and a
>> Sage Notebook worksheet.
>>
>> 2) In addition, I would love it if Sage Notebook could be running
>> through mod_python, and therefore integrated directly into the whole
>> web framework (I'd even use the Sage version of Python for Django, if
>> that was possible).
>>
>> So the two questions are:
>>
>> 1) Is it reasonable to construct Sage Notebook pages from outside of
>> Sage?  Is this a "one-time" operation?  (i.e. don't try going back and
>> reading then modifying them, or having automated interaction
>> concurrent with user-interaction)
>>
>> 2) Is it conceivable to have Sage Notebook run from inside Apache
>> httpd with mod_python?  I would like to be able to use my existing
>> authentication framework, and not have two login systems.
>>
>> Ian
> 
> 
> > 
> 

--~--~-~--~~~---~--~~
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 on BalticGrid - need to create rpm package

2009-05-16 Thread Serge A. Salamanka

Thank you, William

I need to ask for help with creating rpm package.

First thing is to disable any sort of functions to start web-services.
I just need a distribution of Sage python library and other tools that
can be accessed through ipython.

Should I create a different topic for this or it is ok to write here ?

Serge


William Stein пишет:
> Very nice!!
> 
> On Sat, May 16, 2009 at 9:26 AM, Serge A. Salamanka  wrote:
>> A presentation was made on the BalticGrid 2nd All Hands Meeting in Riga,
>> Latvia on 12-14 May 2009.
>> As the result Sage was recommended for BalticGrid gLite-sites as a
>> service that could be installed by all administrators. You can follow
>> the progress of SAGE installations on http://infosite.balticgrid.org/
>> looking up for SAGE in software environment.
>> The chosen tools from RESPECT program were confirmed to be appropiate
>> for the task of SAGE's gridification.
>>
>> The next thing to be done is to create an rpm package for automatic
>> installation of SAGE on SL4.7 disabled of web server functionality.
>>
>> See presentation here:
>> http://salsa-dev.at.tut.by/pub/SAGEforScientificGrid_BG2AHMRiga2009.pdf
>>
>> 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: Sage on BalticGrid

2009-05-16 Thread Serge A. Salamanka

A presentation was made on the BalticGrid 2nd All Hands Meeting in Riga,
Latvia on 12-14 May 2009.
As the result Sage was recommended for BalticGrid gLite-sites as a
service that could be installed by all administrators. You can follow
the progress of SAGE installations on http://infosite.balticgrid.org/
looking up for SAGE in software environment.
The chosen tools from RESPECT program were confirmed to be appropiate
for the task of SAGE's gridification.

The next thing to be done is to create an rpm package for automatic
installation of SAGE on SL4.7 disabled of web server functionality.

See presentation here:
http://salsa-dev.at.tut.by/pub/SAGEforScientificGrid_BG2AHMRiga2009.pdf

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: Sage for Scientific Grid

2009-05-16 Thread Serge A. Salamanka

Hello, Ian

It could be interesting to see your Django-based web-portal.

1) I didn't understand about dynamically created Sage Notebook pages.
What do you mean by that ? Could you be more specific please.

The correlation between submitting job and showing the results in the
notebook worksheet could be achieved, as I see, by writing some python
functions that utilize Grid functionality and return the results.

2) I hope someone answers your question in more detail. I'd also like to
have such opportunity.

Serge

Ian Stokes-Rees пишет:
> I'm thinking about some similar things, but from a different
> perspective.
> 
> I have Sage installed on the main UI/portal node for grid job
> submission.  Users can submit jobs from the command line or from a
> Django-based web-portal.
> 
> 1) I would love to present results as dynamically created Sage
> Notebook pages, and have a 1-1 correlation between a grid job and a
> Sage Notebook worksheet.
> 
> 2) In addition, I would love it if Sage Notebook could be running
> through mod_python, and therefore integrated directly into the whole
> web framework (I'd even use the Sage version of Python for Django, if
> that was possible).
> 
> So the two questions are:
> 
> 1) Is it reasonable to construct Sage Notebook pages from outside of
> Sage?  Is this a "one-time" operation?  (i.e. don't try going back and
> reading then modifying them, or having automated interaction
> concurrent with user-interaction)
> 
> 2) Is it conceivable to have Sage Notebook run from inside Apache
> httpd with mod_python?  I would like to be able to use my existing
> authentication framework, and not have two login systems.
> 
> Ian
> > 
> 


--~--~-~--~~~---~--~~
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: Logging in to a browser session

2009-05-16 Thread Serge A. Salamanka

When you start notebook server from the command line the very first time
you get a promt to choose password for admin user.
Thus, login as admin

Serge

kilucas пишет:
> I'm struggling to get sage running on a lan-connected notebook and so
> have been pointing Firefox at a whole variety of IP addresses, port
> numbers and http/https combinations to see if I can find anything that
> will respond. Occasionally attempts to reach IP addresses associated
> with VMNet8 or VMNet1 will ask me to log in. This made me realise that
> I don't know whether I will have to log in to a browser page the first
> time I use my own copy of Sage and, if so, which credentials I should
> use.
> 
> I've trioed the "login"/"sage" combination and I've tried the Windows
> credentials but neither works.
> 
> So will I need to login through Firefox and if so, which credentials
> should I use please?
> 
> Thanks
> 
> Kevin
> > 
> 

--~--~-~--~~~---~--~~
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 for Scientific Grid

2009-05-07 Thread Serge A. Salamanka



William Stein пишет:
> On Wed, May 6, 2009 at 6:43 PM, Serge A. Salamanka  wrote:
>> Hi all,
>>
>> To start with I'd like to describe my ideas about gridification of Sage.
>>
>> This task is a very common one nowadays but it is a challenge for me.
>>
>> The very first thing I'm asking myself is how to simplify this
>> gridification.
>> There are lots of tools that can be used at the moment and that is why
>> the biggest question comes in mind: which one to use ?
>>
>>
>> ... read further here:
>>
>> http://sageworldmath.blogspot.com/2009/05/sage-for-scientific-grid.html
>>
>>
>>
>> May be someone already has experience of enabling applications for Grid ?
>>
> 
> What are you trying to compute?
> 
> William
> 

I'm trying to provide my colleagues from HEP with an alternative, free
and sufficient computer algebra system that will also utilize Grid
functionality.

They all use Mathematica. There is an interest in GridMathematica but it
is not available at all (due to its cost and very controlled distribution).
I used it a lot but when I have to build a knowledge base on that
expensive system, I always feel that some day it will be waisted at all.
So I'd rather be on the hard way rather then someday come to a dead end.

Computations can be of any sort...
... when you have > 3000 CPUs

# 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] Sage for Scientific Grid

2009-05-06 Thread Serge A. Salamanka

Hi all,

To start with I'd like to describe my ideas about gridification of Sage.

This task is a very common one nowadays but it is a challenge for me.

The very first thing I'm asking myself is how to simplify this
gridification.
There are lots of tools that can be used at the moment and that is why
the biggest question comes in mind: which one to use ?


... read further here:

http://sageworldmath.blogspot.com/2009/05/sage-for-scientific-grid.html



May be someone already has experience of enabling applications for Grid ?

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

2009-05-04 Thread Serge A. Salamanka

I describe the idea and technical issues in more details here:

http://sageworldmath.blogspot.com/

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

2009-05-04 Thread Serge A. Salamanka

See inline below.


Robert Bradshaw пишет:
> On Apr 30, 2009, at 10:13 PM, William Stein wrote:
> 
>> On Thu, Apr 30, 2009 at 10:05 PM, Robert Bradshaw
>>  wrote:
>>> On Apr 29, 2009, at 3:00 PM, Serge Salamanka wrote:
>>>
 Is it a good idea to share objects between python processes with the
 help of any database ?
 Can't still find any decent tool for sharing objects. Saving and
 loading
 them in Sage seems to be a simple approach for user but not for an
 application to run.
>>> Though this isn't quite what you're looking for, it would be nice to
>>> be able to "publish" an object just like one publishes a worksheet on
>>> a public server. It would then give a url where the .sobj can be
>>> downloaded (by anyone, so to send you an object I would write in a
>>> notebook cell)
>>>
>>> publish(a)
>>> http://sagenb.org/pub/unique_name.sobj
>>>
>>> which would return a url that's good as long as the server is live,
>>> and you could send it to someone (e.g. via email or chat) and they
>>> could load it with load("http://sagenb.org/pub/unique_name.sobj";).
>>>  From the command line it could perhaps just save it as a file and
>>> return the filename.
>>>
>> You can already do this.  In a worksheet, just do
>>
>> save(a,'a.sobj')
>>
>> then publish the worksheet that contains a, then there will be a link
>> to the sobj.
>> E.g., I just published http://sagenb.org/home/pub/505/ which contains
>> such a link:
>>
>>http://sagenb.org/home/pub/505/cells/2/a.sobj
>>
>> Now anybody can do:
>>
>> teragon:~ wstein$ sage
>> --
>> | Sage Version 3.4.1, Release Date: 2009-04-21   |
>> | Type notebook() for the GUI, and license() for information.|
>> --
>> sage: a = load('http://sagenb.org/home/pub/505/cells/2/a.sobj')
>> Attempting to load remote file: http://sagenb.org/home/pub/505/ 
>> cells/2/a.sobj
>> Loading: [.]
>> sage: a
>> 'e!'
> 
> Ah, yes, you can. I still think it might be handy to be able to just  
> publish objects detached from worksheets though. Taken one step  

Yes, this could be useful indeed.


> further, being able to  "push" them too to a public place (though  
> this opens a whole can of authentication/security issues).

Well, this is very easy in gLite.
One would have to  just save an object and copy it to the public space
in Grid storage information system.

I might make this possible for SAGE some time.

There is also an idea to use RSS feeds for spreading information about
published objects and notebooks. (see my post "Sage RSS reader in
firefox and .xml .rss in SAGE")

# Serge

> 
> - Robert
> 
> 
> > 
> 

--~--~-~--~~~---~--~~
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 in Ubuntu 9.04

2009-05-04 Thread Serge A. Salamanka

Hi,
This is great to hear about.
I have created a blog this night.
http://sageworldmath.blogspot.com/

Will be posting my experience with SAGE. I also run KUBUNTU 8.04 and
might add some documentation to the page you provided.

I suppose it is still better to compile latest version of SAGE rather
than install outdated one. But the docs will be useful in terms of
configuration and installation of SAGE on UBUNTU.

Regards,

Serge A. Salamanka


saratchand пишет:
> Dear Sage Community,
> You are aware that Sage has been included in Ubuntu 9.04. I have
> created a
> Ubuntu community documentation page for Sage at:
> https://help.ubuntu.com/community/SAGE
> It was a rush job at best, by someone whose interest in Sage sprung
> from the
> possibility of using Sage to run Maxima.
> I request someone from the Sage team to clean up the Ubuntu community
> documentation page for Sage and also make it known widely that Sage is
> available from Ubuntu 9.04; in case this has not been done as yet.
> Yours,
> C. Saratchand
> 
> > 
> 

--~--~-~--~~~---~--~~
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-29 Thread Serge A. Salamanka
May be I reinventing bicycle ?

Could anyone comment whether something familiar has been already known ?

I want to play mathematics with my kid and colleagues with the help of Sage.
Is it a bad idea ?

Serge A. Salamanka

Serge Salamanka пишет:
> This is very simple and effective but not for the task I'm heading for.
> 
> It might be better to start from the idea itself.
> 
> SageWorld is mathematical world where everyone could create mathematical
> objects and operate them to win a certain battle.
> For example, the world in 3D space with physical laws and its constants:
> SageWarrior creates there an object according to the rules existing in
> this SageWorld. SageWarrior owns this object until he is available to
> control its behavior. The task and challenge is to occupy more space or
> to control more objects.
> In a way it is just for the game )))
> But perhaps would be practically useful.
> 
> So I need tools to make one separate session for SageWorld with its own
> behavior and the tools to connect to this session by users and
> manipulate objects.
> Thus the SageWar begins. :)
> 
> Serge
> 
> William Stein пишет:
>> On Mon, Apr 27, 2009 at 5:01 PM, Serge Salamanka  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
-~--~~~~--~~--~--~---

begin:vcard
fn:Serge A. Salamanka
n:Salamanka;Serge A.
org:National Academy of Sciences of Belarus;Laboratory of High Performance Systems
adr:;;;Minsk;;;Belarus
email;internet:salsa-...@tut.by
title:Software engineer
x-mozilla-html:FALSE
version:2.1
end:vcard



[sage-support] Sage on Grid. EGEE. gLite.org

2009-04-20 Thread Serge A. Salamanka
Hello sagers,

Bearing in mind an idea to put Sage into Grid I want to ask everyone:

Does anyone have a need in lots of computing power using Sage ?

Does anyone know about EGEE and gLite software for Grid ?

Has it been ever discussed to implement Grid functionality into Sage ? 
(except dsage which is quite different from Grid in EGEE sense)

For more info on gLite see glite.org

Regards,

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

begin:vcard
fn:Serge A. Salamanka
n:Salamanka;Serge A.
org:National Academy of Sciences of Belarus;Laboratory of High Performance Systems
adr:;;;Minsk;;;Belarus
email;internet:salsa-...@tut.by
title:Software engineer
x-mozilla-html:FALSE
version:2.1
end:vcard



[sage-support] Re: dSage howto?

2009-04-17 Thread Serge A. Salamanka
No bother, please.

I found a page on googlegroups that has discussion about dsage on cluster.

Anyone using dSage on a cluster?
http://groups.google.com/group/sage-edu/browse_thread/thread/31b6be66ff32aa9f

This question would be more relevant there.

And also I found mailing list
http://groups.google.com/group/sage-dsageng


Serge Salamanka пишет:
> Hi
> 
> Has anyone tried to implement dsage on cluster ?
> Where can I read about it ?
> 
> Serge A. Salamanka
> 
> 
> calcp...@aol.com пишет:
>> Hi Everyone!
>>
>> I've been playing with MATLAB and Octave for a while now to introduce
>> my students (AP Computer Science and AP Calculus) to the world of
>> Scientific Computing.
>>
>> Our computer lab has just undergone a significant upgrade and my
>> students are now interested in learning to program a cluster as well!
>> We have 25 dual-core 64-bit 2GHz athlons with 750MB RAM each and
>> GigaBit switched ethernet LAN but we don't know what do do with it
>> all.
>>
>> I stumbled upon Yi Qiang's talk about dSage and see that dSage can
>> possibly fill our needs for both a Scientific Computing and Cluster
>> programming.
>>
>> Can someone please help us get started with using Sage in general and
>> dSage in particular?  It sounds like this platform is easy to install
>> and use.  My first question is how does dSage parallelize code - is it
>> MPI based or does it use some other paradigm?  I've used the openMosix
>> linux kernel in the past with some success, but MPI has always been a
>> problem to set up on our LAN...
>>
>> Any help will be greatly appreciated!
>>
>> TIA,
>> A. Jorge Garcia
>> Teacher and Professor
>> Applied Math, Comp Sci and Physics
>> Baldwin High and Nassau Community
>>
> 
> > 
> 

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

begin:vcard
fn:Serge A. Salamanka
n:Salamanka;Serge A.
org:National Academy of Sciences of Belarus;Laboratory of High Performance Systems
adr:;;;Minsk;;;Belarus
email;internet:salsa-...@tut.by
title:Software engineer
x-mozilla-html:FALSE
version:2.1
end:vcard