[sage-support] How do I make a modified code effective?

2009-04-20 Thread Kwankyu

Hi,

After I modify some codes in a Sage library file, I can rebuild by the
command !sage -b right in the running Sage. Then could I make the
modified code be effective without exiting the running Sage? Or do I
have to exit and rerun Sage?

Kwankyu
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: How do I make a modified code effective?

2009-04-20 Thread mabshoff



On Apr 20, 12:00 am, Kwankyu ekwan...@gmail.com wrote:
 Hi,

Hi Kwankyu,

 After I modify some codes in a Sage library file, I can rebuild by the
 command !sage -b right in the running Sage. Then could I make the
 modified code be effective without exiting the running Sage? Or do I
 have to exit and rerun Sage?

You have to exit Sage and restart.

 Kwankyu

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: beginner problems

2009-04-20 Thread ma...@mendelu.cz

On 20 Dub, 08:17, Florian Beutler florian.beut...@gmx.de wrote:
 if I use
 rho = 0.0058/((r/2.4)*(1+(r/2.4))^2)
 integral(rho,r,0,10)


btw: your integral is divergent (behaves like 1/r near zero).

R.



--~--~-~--~~~---~--~~
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: beginner problems

2009-04-20 Thread ma...@mendelu.cz

Hi, try this

r=var('r')
rho = 0.0058/((r/2.4)*(1+(r/2.4))^2)
integral(rho,r,0.01,10).n()

Robert Marik

On 20 Dub, 08:17, Florian Beutler florian.beut...@gmx.de wrote:
 hallo
 I just installed sage today and probably the problem I have at the
 moment is a typical beginner problem, but unfortunately the tutorial
 was not helpful concerning this points.
 I am very in favor for sage, especially because it is written in
 python but I think I need a somehow better (more details) tutorial.
 Can anybody link me to another one (I read the tutorial provided on
 the sage webpage)?
 I define a equation which I would like to integrate... I simplified
 the equation to reduce the possible errors

 if I use
 rho = 0.0058/((r/2.4)*(1+(r/2.4))^2)
 integral(rho,r,0,10)

 this does not work because for r=0 rho is not defined. But anyway I
 want to integrate over the complete radius. What do I have to do?
 I can avoid the problem by using

 integral(rho,r,0.01,10)
 this gives:
 0.01392*(10.6953303525 - (125003*log(500012) - 125003*log(10) - 3)/
 125003)
 how is it possible to force sage to give me one value and not this
 helpless term above?
 thanks
 regards
 florian
--~--~-~--~~~---~--~~
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 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: jsmath fonts bafflement

2009-04-20 Thread dpvc

 By works correctly, I mean that Firefox displays the nicely rendered  
 equations, while IE only displays raw latex code.

OK, thanks for the clarification.  I had misunderstood.  In Firefox,
can you click on the jsMath button in the lower right and tell me
what font mode is reported next to the jsMath version number?

 For some reason, the fall back to image fonts is not working for me,  
 using my sage server on OS X, and viewing the worksheet on a PC  
 running IE7.  I don't know if there is a problem with the image font  
 installation in sage, a jsMath problem, or an IE problem.  But, as  
 long as Firefox will work, I am happy, and feel no need to spend more  
 time on this issue.  But, if you think there could be a jsMath bug  
 that you want to investigate, I would be happy to help out.

I suspect it is probably an installation problem with the image
fonts.  In any case, I'm happy not to spend any more time on it
myself.

Davide
--~--~-~--~~~---~--~~
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: jsmath fonts bafflement

2009-04-20 Thread Jason Grout

dpvc wrote:
 By works correctly, I mean that Firefox displays the nicely rendered  
 equations, while IE only displays raw latex code.
 
 OK, thanks for the clarification.  I had misunderstood.  In Firefox,
 can you click on the jsMath button in the lower right and tell me
 what font mode is reported next to the jsMath version number?
 
 For some reason, the fall back to image fonts is not working for me,  
 using my sage server on OS X, and viewing the worksheet on a PC  
 running IE7.  I don't know if there is a problem with the image font  
 installation in sage, a jsMath problem, or an IE problem.  But, as  
 long as Firefox will work, I am happy, and feel no need to spend more  
 time on this issue.  But, if you think there could be a jsMath bug  
 that you want to investigate, I would be happy to help out.
 
 I suspect it is probably an installation problem with the image
 fonts.  In any case, I'm happy not to spend any more time on it
 myself.
 

If an installation problem is the conclusion, then I'd like to spend at 
least a bit more of my time on it, as it would clearly be a Sage problem 
then.  It seems funny to me that it would work in one browser, but not 
another.

I think Davide's suggestion above (look at the font mode and jsmath 
version number for both IE and Firefox) might help pinpoint the problem.

Do you see the same problem with sagenb.org?  That server has the image 
fonts installed as well.

Thanks,

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: beginner problems

2009-04-20 Thread Jose Guzman

hi Florian

Florian Beutler wrote:
 hallo
 I just installed sage today and probably the problem I have at the
 moment is a typical beginner problem, but unfortunately the tutorial
 was not helpful concerning this points.
   
I was in the same situation 3 weeks ago. I have the same feeling with 
the manual, and as soon as I get a little bit more familiar with Sage 
and the programming/documentation I will try to make some contributions 
to the manual. I would recommend you 2 things.

1.- Take a look to Sage For Newbies. Google it, its for free and it 
takes approximately 20 min to read the guide and become familiar with 
the easy things of Sage.

2.- Log in into the Sage database (sagenb.org) and have a look to the 
literally thousands of worksheets there. Many people (included myself) 
leave its guides and ways to solve certain task with Sage.

 if I use
 rho = 0.0058/((r/2.4)*(1+(r/2.4))^2)
 integral(rho,r,0,10)

 this does not work because for r=0 rho is not defined. But anyway I
 want to integrate over the complete radius. What do I have to do?
 I can avoid the problem by using
   
Use the following to define r as symbolic variable
r=var('r')

rho = 0.0058/((r/2.4)*(1+(r/2.4))^2


and solve the integral numerically with the n() method (see The Sage 
Tutorial page 6)

sage: integral(rho,r,1E-5,1E5).n()
0.158526563291981

 integral(rho,r,0.01,10)
 this gives:
 0.01392*(10.6953303525 - (125003*log(500012) - 125003*log(10) - 3)/
 125003)
 how is it possible to force sage to give me one value and not this
 helpless term above?
 thanks
 regards
 florian

 
   


--~--~-~--~~~---~--~~
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: jsmath fonts bafflement

2009-04-20 Thread Kevin Horton

On 20 Apr 2009, at 10:16, Jason Grout wrote:

 dpvc wrote:
 By works correctly, I mean that Firefox displays the nicely rendered
 equations, while IE only displays raw latex code.

 OK, thanks for the clarification.  I had misunderstood.  In Firefox,
 can you click on the jsMath button in the lower right and tell me
 what font mode is reported next to the jsMath version number?

 For some reason, the fall back to image fonts is not working for me,
 using my sage server on OS X, and viewing the worksheet on a PC
 running IE7.  I don't know if there is a problem with the image font
 installation in sage, a jsMath problem, or an IE problem.  But, as
 long as Firefox will work, I am happy, and feel no need to spend  
 more
 time on this issue.  But, if you think there could be a jsMath bug
 that you want to investigate, I would be happy to help out.

 I suspect it is probably an installation problem with the image
 fonts.  In any case, I'm happy not to spend any more time on it
 myself.


 If an installation problem is the conclusion, then I'd like to spend  
 at
 least a bit more of my time on it, as it would clearly be a Sage  
 problem
 then.  It seems funny to me that it would work in one browser, but not
 another.

 I think Davide's suggestion above (look at the font mode and jsmath
 version number for both IE and Firefox) might help pinpoint the  
 problem.

 Do you see the same problem with sagenb.org?  That server has the  
 image
 fonts installed as well.

When I attempt to load a worksheet from my server with IE7, I get a  
dialog In order for jsMath to be able to load the additional  
components that it may need, the jsMath.js file must be loaded from a  
server in the same domain as the page that contains it.  Because that  
is not the case for this page, the mathematics displayed here may not  
appear correctly.  When I view worksheets in IE, I see raw latex  
where I should see rendered latex.

In IE, nothing happens when I click on the jsMath button at the bottom  
right - i.e. I cannot open the jsMath control panel. Also note that  
the jsMath button is only seen when I scroll all the way to the end of  
the worksheet, unlike with other browsers where it is always visible  
at the bottom right of the screen.  I assume IE is not properly  
rendering this element.

In Firefox, no jsMath font dialogs appear, and the latex code is  
rendered.  The font mode is shown as Image symbol fonts, and the  
jsMath version is 3.6a.

At sabenb.org, I get no jsMath font warnings in IE.  Initially, I see  
raw latex, but eventually it is replaced with properly rendered  
latex.  The control panel shows the font mode as Image symbol fonts.

I viewed my server again in IE, and had the same problems that I  
reported above.

I conclude that I have a problem with the image font installation on  
my server.  But I have no idea how to troubleshoot it.

For info, my public worksheets are at https://99.240.209.8:8000/pub/

--
Kevin Horton
Ottawa, Canada



--~--~-~--~~~---~--~~
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: jsmath fonts bafflement

2009-04-20 Thread William Stein

On Mon, Apr 20, 2009 at 8:15 AM, Kevin Horton khorto...@rogers.com wrote:

 On 20 Apr 2009, at 10:16, Jason Grout wrote:

 dpvc wrote:
 By works correctly, I mean that Firefox displays the nicely rendered
 equations, while IE only displays raw latex code.

 OK, thanks for the clarification.  I had misunderstood.  In Firefox,
 can you click on the jsMath button in the lower right and tell me
 what font mode is reported next to the jsMath version number?

 For some reason, the fall back to image fonts is not working for me,
 using my sage server on OS X, and viewing the worksheet on a PC
 running IE7.  I don't know if there is a problem with the image font
 installation in sage, a jsMath problem, or an IE problem.  But, as
 long as Firefox will work, I am happy, and feel no need to spend
 more
 time on this issue.  But, if you think there could be a jsMath bug
 that you want to investigate, I would be happy to help out.

 I suspect it is probably an installation problem with the image
 fonts.  In any case, I'm happy not to spend any more time on it
 myself.


 If an installation problem is the conclusion, then I'd like to spend
 at
 least a bit more of my time on it, as it would clearly be a Sage
 problem
 then.  It seems funny to me that it would work in one browser, but not
 another.

 I think Davide's suggestion above (look at the font mode and jsmath
 version number for both IE and Firefox) might help pinpoint the
 problem.

 Do you see the same problem with sagenb.org?  That server has the
 image
 fonts installed as well.

 When I attempt to load a worksheet from my server with IE7, I get a
 dialog In order for jsMath to be able to load the additional
 components that it may need, the jsMath.js file must be loaded from a
 server in the same domain as the page that contains it.  Because that
 is not the case for this page, the mathematics displayed here may not
 appear correctly.  When I view worksheets in IE, I see raw latex
 where I should see rendered latex.

 In IE, nothing happens when I click on the jsMath button at the bottom
 right - i.e. I cannot open the jsMath control panel. Also note that
 the jsMath button is only seen when I scroll all the way to the end of
 the worksheet, unlike with other browsers where it is always visible
 at the bottom right of the screen.  I assume IE is not properly
 rendering this element.

 In Firefox, no jsMath font dialogs appear, and the latex code is
 rendered.  The font mode is shown as Image symbol fonts, and the
 jsMath version is 3.6a.

 At sabenb.org, I get no jsMath font warnings in IE.  Initially, I see
 raw latex, but eventually it is replaced with properly rendered
 latex.  The control panel shows the font mode as Image symbol fonts.

That's because I installed the jsmath-image-fonts-1.3 spkg into
sagenb.org's sage install.   I have jsmath-image-fonts-1.3 and not
jsmath-image-fonts-1.3p1 installed; that could make a difference.

I'm guessing that whatever jsmath-image-fonts-1.3* you're installing
is totally broken.  Try typing

sage -f jsmath-image-fonts-1.3

 -- William


 I viewed my server again in IE, and had the same problems that I
 reported above.

 I conclude that I have a problem with the image font installation on
 my server.  But I have no idea how to troubleshoot it.

 For info, my public worksheets are at https://99.240.209.8:8000/pub/

 --
 Kevin Horton
 Ottawa, Canada



 




-- 
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: jsmath fonts bafflement

2009-04-20 Thread Jason Grout

William Stein wrote:

 
 That's because I installed the jsmath-image-fonts-1.3 spkg into
 sagenb.org's sage install.   I have jsmath-image-fonts-1.3 and not
 jsmath-image-fonts-1.3p1 installed; that could make a difference.


Really?  Are you sure you have jsmath-image-fonts-1.3.spkg installed? 
If I recall correctly, one of the differences between 
jsmath-image-fonts-1.3.spkg and jsmath-image-fonts-1.3p1.spkg was where 
the image fonts went.  However, for sagenb.org, I'm showing an image 
location corresponding to the new location (i.e., p1), not the old location.



Thanks,

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: jsmath fonts bafflement

2009-04-20 Thread Kevin Horton

On 20 Apr 2009, at 11:32, William Stein wrote:

 On Mon, Apr 20, 2009 at 8:15 AM, Kevin Horton khorto...@rogers.com  
 wrote:

 On 20 Apr 2009, at 10:16, Jason Grout wrote:

 dpvc wrote:
 By works correctly, I mean that Firefox displays the nicely  
 rendered
 equations, while IE only displays raw latex code.

 OK, thanks for the clarification.  I had misunderstood.  In  
 Firefox,
 can you click on the jsMath button in the lower right and tell me
 what font mode is reported next to the jsMath version number?

 For some reason, the fall back to image fonts is not working for  
 me,
 using my sage server on OS X, and viewing the worksheet on a PC
 running IE7.  I don't know if there is a problem with the image  
 font
 installation in sage, a jsMath problem, or an IE problem.  But, as
 long as Firefox will work, I am happy, and feel no need to spend
 more
 time on this issue.  But, if you think there could be a jsMath bug
 that you want to investigate, I would be happy to help out.

 I suspect it is probably an installation problem with the image
 fonts.  In any case, I'm happy not to spend any more time on it
 myself.


 If an installation problem is the conclusion, then I'd like to spend
 at
 least a bit more of my time on it, as it would clearly be a Sage
 problem
 then.  It seems funny to me that it would work in one browser, but  
 not
 another.

 I think Davide's suggestion above (look at the font mode and jsmath
 version number for both IE and Firefox) might help pinpoint the
 problem.

 Do you see the same problem with sagenb.org?  That server has the
 image
 fonts installed as well.

 When I attempt to load a worksheet from my server with IE7, I get a
 dialog In order for jsMath to be able to load the additional
 components that it may need, the jsMath.js file must be loaded from a
 server in the same domain as the page that contains it.  Because that
 is not the case for this page, the mathematics displayed here may not
 appear correctly.  When I view worksheets in IE, I see raw latex
 where I should see rendered latex.

 In IE, nothing happens when I click on the jsMath button at the  
 bottom
 right - i.e. I cannot open the jsMath control panel. Also note that
 the jsMath button is only seen when I scroll all the way to the end  
 of
 the worksheet, unlike with other browsers where it is always visible
 at the bottom right of the screen.  I assume IE is not properly
 rendering this element.

 In Firefox, no jsMath font dialogs appear, and the latex code is
 rendered.  The font mode is shown as Image symbol fonts, and the
 jsMath version is 3.6a.

 At sabenb.org, I get no jsMath font warnings in IE.  Initially, I see
 raw latex, but eventually it is replaced with properly rendered
 latex.  The control panel shows the font mode as Image symbol  
 fonts.

 That's because I installed the jsmath-image-fonts-1.3 spkg into
 sagenb.org's sage install.   I have jsmath-image-fonts-1.3 and not
 jsmath-image-fonts-1.3p1 installed; that could make a difference.

 I'm guessing that whatever jsmath-image-fonts-1.3* you're installing
 is totally broken.  Try typing

 sage -f jsmath-image-fonts-1.3

I ran this command, which appeared to run successfully.  See tail end  
of transcript:

Finished extraction

Host system
uname -a:
Darwin iMac.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24  
17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386


GCC Version
gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5490~1/src/configure --disable- 
checking -enable-werror --prefix=/usr --mandir=/share/man --enable- 
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ 
$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ 
lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic -- 
host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5490)

Extracting and installing jsMath Image Fonts to:
/Applications/sage/data/extcode/notebook/javascript/jsmath
Finished installing jsMath Image Fonts.

real0m18.726s
user0m1.417s
sys 0m3.278s
Successfully installed jsmath-image-fonts-1.3
Now cleaning up tmp files.
Making Sage/Python scripts relocatable...
Making script relocatable
Finished installing jsmath-image-fonts-1.3.spkg


I restarted sage, and the PC with the problem, but the problems in IE  
remain the same as before.

One small clarification to what I reported earlier: I reported that in  
IE7, a click on the jsMath button does not bring up the jsMath control  
panel.  This is true when connected to my server.  But, the jsMath  
button does work correctly when connected to sagenb.org.  Perhaps this  
is a more 

[sage-support] Re: jsmath fonts bafflement

2009-04-20 Thread Jason Grout

Kevin Horton wrote:
 
 I am happy with the workaround of using Firefox, so this is only worth  
 working on if it may represent a bug, or a problem with the  
 installation instructions, etc.

Given that things work fine on sagenb.org, I'll not spend more time on 
this, as it sounds like something specific to your server, for some 
reason.  If other people report problems, we can revisit the issue.

Thanks,

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] Errors building sage on Linux: jinja and clisp

2009-04-20 Thread meanerelk

I have been following the instructions for making Sage on Arch Linux
i686, fully updated and with all the necessary dependencies installed.
However, I see the following errors during make:

ImportError: No module named jinja
and also:
Error building clisp

then when running notebook() in sage I get the same jinja
ImportError

Here is my install.log: http://www.sendspace.com/file/qr1hv9

Also, here is the traceback: http://www.sendspace.com/file/hhaesw

Any advice would be most welcome.

--~--~-~--~~~---~--~~
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: Errors building sage on Linux: jinja and clisp

2009-04-20 Thread William Stein

On Mon, Apr 20, 2009 at 12:59 PM, meanerelk meaner...@gmail.com wrote:

 I have been following the instructions for making Sage on Arch Linux
 i686, fully updated and with all the necessary dependencies installed.
 However, I see the following errors during make:

 ImportError: No module named jinja
 and also:
 Error building clisp

 then when running notebook() in sage I get the same jinja
 ImportError

 Here is my install.log: http://www.sendspace.com/file/qr1hv9


The build error is:

make
make check
Working around nohup problem and the infamous UNIX error 45 bug in OSX
by sending make output to
/home/kemal/Applications/sage-3.4/spkg/build/clisp-2.46.p7/build.log.
Error building clisp

real0m26.757s
user0m16.372s
sys 0m10.563s
sage: An error occurred while installing clisp-2.46.p7

--

What does the file

/home/kemal/Applications/sage-3.4/spkg/build/clisp-2.46.p7/build.log

contain?

That will at least tell us why/how your clisp build failed.  Without
getting passed that failure, there's no hope.

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: Sage on Grid. EGEE. gLite.org

2009-04-20 Thread CalcPage
 
 
In a message dated 4/20/2009 7:22:23 A.M. Eastern Daylight Time,  
salsa-...@tut.by writes:

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



Well sure, there is dSage!  The problem with it is there aren't many  
examples of how to use it or much documentation in general for  
distributedSage
 
HTH,
A.  Jorge Garcia
calcp...@aol.com
http://calcpage.tripod.com

Teacher   Professor
Applied Mathematics, Physics  Computer  Science
Baldwin Senior High School  Nassau Community College



**Access 350+ FREE radio stations anytime from anywhere on the 
web. Get the Radio Toolbar! 
(http://toolbar.aol.com/aolradio/download.html?ncid=emlcntusdown0003)

--~--~-~--~~~---~--~~
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/moin moin wiki, jsmath question

2009-04-20 Thread gerhard

This used to work?

I started the moinmoin wiki from sage,
and generated a page. I tried to insert $y = e^s$,
expecting to see the equation rendered.
Instead, I got the text as is (verbatim).

There is no jsmath button at the bottom right of the screen.
Is there an installation step I forgot about?

Thanks,
-gerhard
--~--~-~--~~~---~--~~
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 Grid. EGEE. gLite.org

2009-04-20 Thread Serge Salamanka

Thank you, Jorge

But dSage is more of a distributed system for a cluster but not for the
whole Grid (a collection of resources).
There is no support for virtual organizations and resource allocation
information system.
I suppose people involved in LHC should know much better what I'm saying
about. But here is few links:
http://www.gridcafe.org/
http://www.eu-egee.org/
http://glite.web.cern.ch/glite/

For those that have dealt with VOs and gLite middleware for grid computing:
I'm talking about putting Sage on top of User Interface (glite-UI) using
benefits of Sage to execute shell commands in code.
Thus one would have a full access to Grid power.
But it also could be useful to implement Grid interface into Sage.
The tools for that do exist: see http://www.geclipse.org/

Basically I have already installed Sage on the SKIF supercomputer nodes
and working towards installation on UI from which our users have access
to BalticGrid resources ( http://balticgrid.org/ )

Here you can see that Grid users can do computation in Sage on the
cluster: http://infosite.balticgrid.org/infosite/?mod=swinfosw=SAGE-3.4

My apologies for such an unstructured explanation.

*I'm simply looking here for people who know what the gLite is and also
for an answer how this functionality could be useful to mathematician
having access with Sage through gLite to lots of worker nodes.*

Regards,
Serge

calcp...@aol.com пишет:
 In a message dated 4/20/2009 7:22:23 A.M. Eastern Daylight Time,
 salsa-...@tut.by writes:
 
 Has it been ever discussed to implement Grid functionality into Sage ?
 (except dsage which is quite different from Grid in EGEE sense)
 
 Well sure, there is dSage!  The problem with it is there aren't many
 examples of how to use it or much documentation in general for
 distributedSage
  
 *HTH,
 A. Jorge Garcia
 calcp...@aol.com
 http://calcpage.tripod.com
 
 Teacher  Professor
 Applied Mathematics, Physics  Computer Science
 Baldwin Senior High School  Nassau Community College*
  
  
 
 
 Access 350+ FREE radio stations anytime from anywhere on the web. Get
 the Radio Toolbar
 http://toolbar.aol.com/aolradio/download.html?ncid=emlcntusdown0003!
  

--~--~-~--~~~---~--~~
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: Errors building sage on Linux: jinja and clisp

2009-04-20 Thread meanerelk

Here is clisp's build.log and error.log:

http://www.sendspace.com/file/fct6vu
http://www.sendspace.com/file/gnroy3

The only error is:

sspvw_sigsegv.d:94: error: too few arguments to function
‘sigsegv_leave_handler’

I have libsigsegv 2.6-1 installed.

A bit of googling shows that sigsgv_leave_handler has changed in 2.6
http://www.mail-archive.com/info-...@gnu.org/msg00565.html

However, it has been out for months, so I am surprised no one else
seems to have had this problem.

If this is a new problem, I can try to submit a patch in a few days.
(too busy right now)


On Apr 20, 4:07 pm, William Stein wst...@gmail.com wrote:
 On Mon, Apr 20, 2009 at 12:59 PM, meanerelk meaner...@gmail.com wrote:

  I have been following the instructions for making Sage on Arch Linux
  i686, fully updated and with all the necessary dependencies installed.
  However, I see the following errors during make:

  ImportError: No module named jinja
  and also:
  Error building clisp

  then when running notebook() in sage I get the same jinja
  ImportError

  Here is my install.log:http://www.sendspace.com/file/qr1hv9

 The build error is:

     make
     make check
 Working around nohup problem and the infamous UNIX error 45 bug in OSX
 by sending make output to
 /home/kemal/Applications/sage-3.4/spkg/build/clisp-2.46.p7/build.log.
 Error building clisp

 real    0m26.757s
 user    0m16.372s
 sys     0m10.563s
 sage: An error occurred while installing clisp-2.46.p7

 --

 What does the file

 /home/kemal/Applications/sage-3.4/spkg/build/clisp-2.46.p7/build.log

 contain?

 That will at least tell us why/how your clisp build failed.  Without
 getting passed that failure, there's no hope.

 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] faster alternative to using maxima's part function

2009-04-20 Thread bsdz

Hi,

Is anyone aware of an alternative to maxima's part function.

http://maxima.sourceforge.net/docs/manual/en/maxima_6.html#IDX182

It allows one to access any part of an algebraic expression using
various indexes. A list of indexes uniquely defines any part of an
expression such as a sum part or exponent.

I ask because a while back I implemented a useful function but felt it
was too slow because it had to constantly send requests to maxima's
lisp interpreter.

Thanks
Blair
--~--~-~--~~~---~--~~
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: Errors building sage on Linux: jinja and clisp

2009-04-20 Thread mabshoff



On Apr 20, 3:46 pm, meanerelk meaner...@gmail.com wrote:

Hi,

 Here is clisp's build.log and error.log:

 http://www.sendspace.com/file/fct6vuhttp://www.sendspace.com/file/gnroy3

 The only error is:

 sspvw_sigsegv.d:94: error: too few arguments to function
 ‘sigsegv_leave_handler’

 I have libsigsegv 2.6-1 installed.

 A bit of googling shows that sigsgv_leave_handler has changed in 2.6
 http://www.mail-archive.com/info-...@gnu.org/msg00565.html

 However, it has been out for months, so I am surprised no one else
 seems to have had this problem.

Well, clisp is quite buggy to say the least. We tell clisp at
configure time to not use libsigsev, but apparently it is still picked
up. Sage 3.4.1 out in hours updates clisp to the 2.47 release which
AFAIK fixes that specific problem, i.e. it does not bomb out with that
version of libsigsev present, but still uses it.

 If this is a new problem, I can try to submit a patch in a few days.
 (too busy right now)

Don't worry about it, we are dumping clisp in Sage 4.0 and will be
using ecl instead.

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: faster alternative to using maxima's part function

2009-04-20 Thread mabshoff



On Apr 20, 3:53 pm, bsdz blai...@googlemail.com wrote:
 Hi,

Hi Blair,

 Is anyone aware of an alternative to maxima's part function.

 http://maxima.sourceforge.net/docs/manual/en/maxima_6.html#IDX182

 It allows one to access any part of an algebraic expression using
 various indexes. A list of indexes uniquely defines any part of an
 expression such as a sum part or exponent.

 I ask because a while back I implemented a useful function but felt it
 was too slow because it had to constantly send requests to maxima's
 lisp interpreter.

The pynac switch is coming in Sage 4.0 and you should be able to do
things like that in Sage natively. There are certainly plans to play
with the expressin tree, but Mike Hansen can probably tell you how far
along that part of the code is.

 Thanks
 Blair

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: Errors building sage on Linux: jinja and clisp

2009-04-20 Thread mabshoff



On Apr 20, 3:56 pm, mabshoff michael.absh...@mathematik.uni-
dortmund.de wrote:
 On Apr 20, 3:46 pm, meanerelk meaner...@gmail.com wrote:

Hi

SNIP

  However, it has been out for months, so I am surprised no one else
  seems to have had this problem.

 Well, clisp is quite buggy to say the least. We tell clisp at
 configure time to not use libsigsev, but apparently it is still picked
 up.

Well, technically we tell clisp to ignore the absence of libsigsev, so
I guess the behavior you see is correct that libsigsev is used.
Obviously the configure test doesn't work too well since it fails due
to header issues. Oh well, bye bye clisp :)

SNIP

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