[sage-support] Re: Porting Sage to AIX

2008-11-03 Thread Sameer
Michael, An update. I rebuilt liblinboxsage.a by omiting Communicator.o and using a simple g++ -shared -o command that tied in the .o files. I think the crash occured at Communicator.c but I saw a - DDISABLE_COMMUNICATOR. So, I rebuilt the .a file and then it loaded properly until the next cra

[sage-support] Re: new user: latex fails

2008-11-03 Thread William Stein
On Mon, Nov 3, 2008 at 8:42 PM, Craig Citro <[EMAIL PROTECTED]> wrote: > > This should do something pretty close: > > %% margins > \oddsidemargin 0.0in > \evensidemargin 0.0in > \textwidth 6.45in > \topmargin 0.0in > \headheight 0.0in > \headsep0.0in > \textheight 9.0in > > -cc Thanks.

[sage-support] Re: new user: latex fails

2008-11-03 Thread Craig Citro
This should do something pretty close: %% margins \oddsidemargin 0.0in \evensidemargin 0.0in \textwidth 6.45in \topmargin 0.0in \headheight 0.0in \headsep0.0in \textheight 9.0in -cc On Mon, Nov 3, 2008 at 7:57 PM, William Stein <[EMAIL PROTECTED]> wrote: > > On Mon, Nov 3, 2008 at 5:

[sage-support] Re: new user: latex fails

2008-11-03 Thread William Stein
On Mon, Nov 3, 2008 at 5:23 PM, Matthew J <[EMAIL PROTECTED]> wrote: > > If anyone else comes across this problem and installing gs and > imagemagick does not solve it, I also had to install tetex-extra. > > > I realized when I was getting the error: fullpage.sty could not be > found. Thanks. Ma

[sage-support] Re: Porting Sage to AIX

2008-11-03 Thread mabshoff
On Nov 3, 7:04 pm, Sameer <[EMAIL PROTECTED]> wrote: > Hi Michael,> >    Here is an update on AIX. I found why sage startup was > crashing in > > > real_mpfi.so. I rebuilt libmpfi.so and recompiled real_mpfi.pyx and > > > complex_double.pyx. The illegal instruction error was due to an error > >

[sage-support] Re: Porting Sage to AIX

2008-11-03 Thread Sameer
Hi Michael, > >    Here is an update on AIX. I found why sage startup was crashing in > > real_mpfi.so. I rebuilt libmpfi.so and recompiled real_mpfi.pyx and > > complex_double.pyx. The illegal instruction error was due to an error > > in building libmpfi.so caused by arguments given by libtool. B

[sage-support] Re: arcsinh(1) == ln(1+sqrt(2)) ?

2008-11-03 Thread Robert Dodier
William Stein wrote: > If expr is a symbolic expression in Sage, then > > bool(expr) > > evaluates to True only if expr can be proved to be True. > Otherwise it always evaluates to False. > > The actual code that decides this is currently in Maxima. Actually Maxima is equipped to return unkn

[sage-support] Re: Porting Sage to AIX

2008-11-03 Thread mabshoff
On Nov 3, 6:39 pm, Sameer <[EMAIL PROTECTED]> wrote: > Michael, William, Hi Sameer, good that we are back on the list again. >    Here is an update on AIX. I found why sage startup was crashing in > real_mpfi.so. I rebuilt libmpfi.so and recompiled real_mpfi.pyx and > complex_double.pyx. The

[sage-support] Re: Porting Sage to AIX

2008-11-03 Thread Sameer
Michael, William, Here is an update on AIX. I found why sage startup was crashing in real_mpfi.so. I rebuilt libmpfi.so and recompiled real_mpfi.pyx and complex_double.pyx. The illegal instruction error was due to an error in building libmpfi.so caused by arguments given by libtool. By testing

[sage-support] Re: new user: latex fails

2008-11-03 Thread Matthew J
If anyone else comes across this problem and installing gs and imagemagick does not solve it, I also had to install tetex-extra. I realized when I was getting the error: fullpage.sty could not be found. Thanks, -Matthew J --~--~-~--~~~---~--~~ To post to this gr

[sage-support] Re: !

2008-11-03 Thread Robert Bradshaw
On Nov 2, 2008, at 12:02 PM, William Stein wrote: > > On Sun, Nov 2, 2008 at 11:58 AM, Kevin Buzzard > <[EMAIL PROTECTED]> wrote: >>> That would be inconsistent with the choice made by every other >>> math software system ever written and with common mathematical >>> usage as well. It would th

[sage-support] Re: After notebook is started, there's no command prompt

2008-11-03 Thread Robert Bradshaw
There are two ways to use Sage, via the notebook or via a command prompt. Which is better depends on personal preference, but I don't think they can be used at the same time (without starting a new copy of Sage), as the prompt console is used by the notebook server. To get the prompt, one s

[sage-support] Re: Memory overflow workaround?

2008-11-03 Thread mabshoff
On Nov 3, 9:35 am, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Nov 3, 9:13 am, "John Cremona" <[EMAIL PROTECTED]> wrote: > > > > > Does this help you: > > > Suppose (for a toy example) I have defined a Python function like this: > > sage: def f(M): > > :         d = M.det() > >

[sage-support] Re: Memory overflow workaround?

2008-11-03 Thread mabshoff
On Nov 3, 9:13 am, "John Cremona" <[EMAIL PROTECTED]> wrote: > Does this help you: > > Suppose (for a toy example) I have defined a Python function like this: > sage: def f(M): > :         d = M.det() > :     return d > > And I have a file called testin.sage containing a large number of

[sage-support] Re: sage 3.1.4 ...can't get notebook to run...

2008-11-03 Thread William Stein
On Mon, Nov 3, 2008 at 9:23 AM, <[EMAIL PROTECTED]> wrote: > > William, I went to "Devices" and then "Network Adapter" and changed > the setting from NAT to bridged and the intial command notebook now > works. I assune this means Sage notebooks will only work if I am > connected to my router.

[sage-support] Re: sage 3.1.4 ...can't get notebook to run...

2008-11-03 Thread madison . michael
William, I went to "Devices" and then "Network Adapter" and changed the setting from NAT to bridged and the intial command notebook now works. I assune this means Sage notebooks will only work if I am connected to my router. The !ifconfig showed I had a ip address of 127.0.0.1 which clearly did

[sage-support] Re: Memory overflow workaround?

2008-11-03 Thread John Cremona
Does this help you: Suppose (for a toy example) I have defined a Python function like this: sage: def f(M): : d = M.det() : return d And I have a file called testin.sage containing a large number of lines like this: [[1,2],[3,4]] [[5,6],[7,8]] [[1,2],[3,4]] [[5,6],[7,8]] [[1

[sage-support] Re: Memory overflow workaround?

2008-11-03 Thread Daniel Allcock
Thank you Simon, I will try that. For those who are looking to reproduce my problem, the code is very very simple: load SPOCs.sage save (SPOC,'SPOCs.sobj') SPOCs.sage, approx 12MB, defines SPOC as a list of matrices. It is available at http://www.math.utexas.edu/~allcock/SPOCs.sage Thanks folk

[sage-support] Re: Memory overflow workaround?

2008-11-03 Thread Daniel Allcock
Thank you Simon, I will try that. For those who are looking to reproduce my problem, the code is very very simple: load SPOCs.sage save (SPOC,'SPOCs.sobj') SPOCs.sage, approx 12MB, defines SPOC as a list of matrices. It is available at http://www.math.utexas.edu/~allcock/SPOCs.sage Thanks folk

[sage-support] Re: running sage on port 80 - is it possible?

2008-11-03 Thread William Stein
On Mon, Nov 3, 2008 at 5:05 AM, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Nov 3, 4:59 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: >> > Any port up to and including port 1000 requires root privileges to >> > open on Linux (same on OSX and Unix by the way). So in order to work >> > you e

[sage-support] Re: running sage on port 80 - is it possible?

2008-11-03 Thread mabshoff
On Nov 3, 4:59 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > Any port up to and including port 1000 requires root privileges to > > open on Linux (same on OSX and Unix by the way). So in order to work > > you either need to sudo or run Sage as root - both options I would > > highly disc

[sage-support] Re: running sage on port 80 - is it possible?

2008-11-03 Thread [EMAIL PROTECTED]
> Any port up to and including port 1000 requires root privileges to > open on Linux (same on OSX and Unix by the way). So in order to work > you either need to sudo or run Sage as root - both options I would > highly discourage. Hm, it seems that http://www.sagenb.org/ runs on port 80 and the n

[sage-support] Re: running sage on port 80 - is it possible?

2008-11-03 Thread [EMAIL PROTECTED]
> Any port up to and including port 1000 requires root privileges to > open on Linux (same on OSX and Unix by the way). So in order to work > you either need to sudo or run Sage as root - both options I would > highly discourage. Thank you. I will not run sage as root, of course :) Robert --~-

[sage-support] Re: Variable for .sage/ ?

2008-11-03 Thread Simon King
Thank you, Mike! Cheers Simon --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-su

[sage-support] Re: Variable for .sage/ ?

2008-11-03 Thread Mike Hansen
Hi Simon, On Mon, Nov 3, 2008 at 3:37 AM, Simon King <[EMAIL PROTECTED]> wrote: > Is there a variable in Sage pointing to $HOME/.sage/? I mean, > analogous to SAGE_ROOT or SAGE_TMP? Or should I infer the path from > $HOME, i.e., from os.environ['HOME'] ? The DOT_SAGE environment variable is what

[sage-support] Variable for .sage/ ?

2008-11-03 Thread Simon King
Dear team, I was told that when I produce a package that writes a lot of data into a folder tree such that (1) the user does not need to know where exactly the data are and (2) the data should be permanent, then I should put the folder tree into $HOME/.sage/ Is there a variable in Sage pointing

[sage-support] Re: running sage on port 80 - is it possible?

2008-11-03 Thread mabshoff
On Nov 3, 3:10 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Dear sage gurus, I am trying to run sage on port 80 instead of default > 8000 (I have a virtual server with sage for our PC lab which is behind > firewall and we cannot forward ports 8000) > > apache, which has default 80 is at

[sage-support] running sage on port 80 - is it possible?

2008-11-03 Thread [EMAIL PROTECTED]
Dear sage gurus, I am trying to run sage on port 80 instead of default 8000 (I have a virtual server with sage for our PC lab which is behind firewall and we cannot forward ports 8000) apache, which has default 80 is at 81 or not running. If I start notebook by notebook(address='', port=8000, ac

[sage-support] After notebook is started, there's no command prompt

2008-11-03 Thread systemwizard
I have just fininshed upgrading to Sage 3.1.4 from Sage 2.8.15 in WinXP. When I double click on the Sage icon, I see a momemtary flash of a dos window, and then Firefox opens with a URL of "http:// 192.168.80.128/home/admin/ and the Sage notebook appears. I have looked through the tutorials, and

[sage-support] Re: Memory overflow workaround?

2008-11-03 Thread Simon King
Dear Daniel, On Nov 2, 5:12 pm, Daniel Allcock <[EMAIL PROTECTED]> wrote: > Hi all, just got started with SAGE and I hope someone has a suggestion > for me.  I have a .sage file defining a big list of approx 170,000 4x4 > matrices with rational number entries, which I will want SAGE to do > vario