[sage-support] Re: Error related with singular, gap and resultant

2008-03-05 Thread Simon King
Dear William, On Mar 5, 11:51 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > OK, I just tried to replicate your problem above on sage.math (64-bit linux), > 32-bit athlon linux, and 32-bit OS X 10.5, and in every case your code above > works fine -- i.e., nothing goes wrong.Can you really r

[sage-support] FreeBSD Linux Emulation

2008-03-05 Thread bryan newbold
I've had some luck running the sage-2.10.2-linux-32bit-debian-i686-Linux binaries under FreeBSD 6.3-RELEASE (manually upgraded) using linux emulation (linux_base-fc-4_10 = fedora core 4.10 distribution files); basic calculus and arithmetic work from the interactive shell, the notebook runs with 3D

[sage-support] Re: Spline question

2008-03-05 Thread William Stein
On Wed, Mar 5, 2008 at 8:10 PM, dean moore <[EMAIL PROTECTED]> wrote: > Well, I've been tempted to do something with a machine gun ... > > Grabbed m4-1.4.10 & unpacked it. Still get the same error, "SAGE BUILD > ERROR: > Command 'm4' not found" when cd-ing into sage's directory & typing make, as

[sage-support] Re: MAC PC configuration problem.

2008-03-05 Thread William Stein
On Wed, Mar 5, 2008 at 6:31 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > William Stein wrote: > > On Wed, Mar 5, 2008 at 7:55 AM, Neal Laurance <[EMAIL PROTECTED]> wrote: > >> I have just installed SAGE on my MAC book, and it works fine there. But > >> I would like to use it from my desk P

[sage-support] Re: MAC PC configuration problem.

2008-03-05 Thread Jason Grout
William Stein wrote: > On Wed, Mar 5, 2008 at 7:55 AM, Neal Laurance <[EMAIL PROTECTED]> wrote: >> I have just installed SAGE on my MAC book, and it works fine there. But >> I would like to use it from my desk PC (Windows XP). The PC has a bigger >> display. I opened Firefox on the PC, entered

[sage-support] Re: Mixed 32/64 bit .o files under Linux PowerPC

2008-03-05 Thread William Stein
On Wed, Mar 5, 2008 at 4:40 PM, Sameer <[EMAIL PROTECTED]> wrote: > > William, > Thanks a lot for your suggestion. I had not set it. Some more > problems with the compile on powerpc Linux. I get: > ./lisp.run -on-error appease -B . -N locale -E 1:1 -Efile UTF-8 - > Eterminal UTF-8 -norc -m 1

[sage-support] Re: Mixed 32/64 bit .o files under Linux PowerPC

2008-03-05 Thread Sameer
William, Thanks a lot for your suggestion. I had not set it. Some more problems with the compile on powerpc Linux. I get: ./lisp.run -on-error appease -B . -N locale -E 1:1 -Efile UTF-8 - Eterminal UTF-8 -norc -m 1800KW -x "(and (load \"init.lisp\") (sys:: %saveinitmem) (ext::exit)) (ext::exit t

[sage-support] Re: Minimum installation size

2008-03-05 Thread Justin C. Walker
On Mar 5, 2008, at 2:47 PM, Martin Albrecht wrote: > >> A couple of questions: >> >> What's the problem with deleting static libraries after the build? >> They aren't used once the compilation is done. > > If you touch e.g. integer.pyx and "sage -b" you'll need libgmp.a, > that's all. > If not

[sage-support] Re: mympi in addition to mpi4py as optional package in sage?

2008-03-05 Thread William Stein
On Wed, Mar 5, 2008 at 7:22 AM, AEatUALR <[EMAIL PROTECTED]> wrote: > > Do you see the mympi python/mpi module showing up as an optional > package in sage? > > http://peloton.sdsc.edu/~tkaiser/mympi/ > > I see openmpi and mpi4py there (which is great). Do you have any interest in being the o

[sage-support] Re: Spline question

2008-03-05 Thread William Stein
On Wed, Mar 5, 2008 at 12:31 PM, dean moore <[EMAIL PROTECTED]> wrote: > Not sending this to the whole group -- no reason. > > Sure, will document it let you know when I have something "nice." The word > "spline" > seems to occur in two pages I find. Thanks! > > In other news, I finally dual-bo

[sage-support] Re: Error related with singular, gap and resultant

2008-03-05 Thread William Stein
On Wed, Mar 5, 2008 at 1:38 PM, Simon King <[EMAIL PROTECTED]> wrote: > > Dear sage supporters, > > a strange error occurs in sage 2.10.2 in the following way: > > sage: R. = QQ[] > sage: f = x^3 + x + 1; g = x^3 - x - 1 > sage: r = f.resultant(g) > sage: R.__dict__ > {'_PolynomialRing_gen

[sage-support] Re: Minimum installation size

2008-03-05 Thread Martin Albrecht
> A couple of questions: > > What's the problem with deleting static libraries after the build? > They aren't used once the compilation is done. If you touch e.g. integer.pyx and "sage -b" you'll need libgmp.a, that's all. If nothing gets ever compiled you are good. However, adding a block "%cyt

[sage-support] Re: SAGE chokes on French character

2008-03-05 Thread Jason Grout
Jason Grout wrote: > William Stein wrote: >> On Wed, Mar 5, 2008 at 2:24 PM, Jason Grout <[EMAIL PROTECTED]> wrote: >>> dean moore wrote: >>> > When I was writing some other code this came out; finally decided to >>> > report it. Do the following >>> > in an online SAGE notebook: >>> > >>>

[sage-support] Re: SAGE chokes on French character

2008-03-05 Thread didier deshommes
On Wed, Mar 5, 2008 at 5:37 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > > didier deshommes wrote: > > On Wed, Mar 5, 2008 at 5:24 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > >> > >> dean moore wrote: > >> > When I was writing some other code this came out; finally decided to > >> > rep

[sage-support] Re: SAGE chokes on French character

2008-03-05 Thread William Stein
On Wed, Mar 5, 2008 at 2:37 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > > didier deshommes wrote: > > On Wed, Mar 5, 2008 at 5:24 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > >> > >> dean moore wrote: > >> > When I was writing some other code this came out; finally decided to > >> > re

[sage-support] Re: Mixed 32/64 bit .o files under Linux PowerPC

2008-03-05 Thread William Stein
On Wed, Mar 5, 2008 at 1:45 PM, Sameer <[EMAIL PROTECTED]> wrote: > > Hi Michael, >The other problem I am facing on powerpc Linux is with compiling > with Fortran. Some parts of SAGE accept gfortran and others do not. It is definitely possible to build all of Sage only using gfortran, since

[sage-support] Re: SAGE chokes on French character

2008-03-05 Thread Jason Grout
didier deshommes wrote: > On Wed, Mar 5, 2008 at 5:24 PM, Jason Grout <[EMAIL PROTECTED]> wrote: >> >> dean moore wrote: >> > When I was writing some other code this came out; finally decided to >> > report it. Do the following >> > in an online SAGE notebook: >> > >> > /1+1/ >> > >> > We

[sage-support] Re: MAC PC configuration problem.

2008-03-05 Thread Mike Hansen
Hi Neal, When you start up the notebook on the Mac, pass the option server='192.168.1.103' and then you should able to access it on you Windows box by going to https://192.168.1.103:8000 . Let me know if that works. --Mike On Wed, Mar 5, 2008 at 8:06 AM, Neal <[EMAIL PROTECTED]> wrote: > > I

[sage-support] Re: SAGE chokes on French character

2008-03-05 Thread Jason Grout
William Stein wrote: > On Wed, Mar 5, 2008 at 2:24 PM, Jason Grout <[EMAIL PROTECTED]> wrote: >> >> dean moore wrote: >> > When I was writing some other code this came out; finally decided to >> > report it. Do the following >> > in an online SAGE notebook: >> > >> > /1+1/ >> > >> > We ge

[sage-support] Re: Minimum installation size

2008-03-05 Thread Justin C. Walker
Hi, Martin, On Mar 5, 2008, at 8:58 AM, Martin Albrecht wrote: > On Wednesday 05 March 2008, Ryan Hinton wrote: >> What if I want to develop in certain sections (coding theory, maybe >> some graph theory)? > > I wouldn't recommend deleting static libraries because it is too > easy to shoot > yo

[sage-support] Re: SAGE chokes on French character

2008-03-05 Thread didier deshommes
On Wed, Mar 5, 2008 at 5:24 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > > dean moore wrote: > > When I was writing some other code this came out; finally decided to > > report it. Do the following > > in an online SAGE notebook: > > > > /1+1/ > > > > We get two. Now run the following:

[sage-support] Re: SAGE chokes on French character

2008-03-05 Thread William Stein
On Wed, Mar 5, 2008 at 2:24 PM, Jason Grout <[EMAIL PROTECTED]> wrote: > > > dean moore wrote: > > When I was writing some other code this came out; finally decided to > > report it. Do the following > > in an online SAGE notebook: > > > > /1+1/ > > > > We get two. Now run the following:

[sage-support] Re: SAGE chokes on French character

2008-03-05 Thread Jason Grout
dean moore wrote: > When I was writing some other code this came out; finally decided to > report it. Do the following > in an online SAGE notebook: > > /1+1/ > > We get two. Now run the following: > > /# Limaçon > 1+1 > / > Get: > > /Exception (click to the left for traceback): > ... > Syn

[sage-support] SAGE chokes on French character

2008-03-05 Thread dean moore
When I was writing some other code this came out; finally decided to report it. Do the following in an online SAGE notebook: *1+1* We get two. Now run the following: *# Limaçon 1+1 * Get: *Exception (click to the left for traceback): ... SyntaxError: Non-ASCII character '\xe7' in file /home/s

[sage-support] Re: Mixed 32/64 bit .o files under Linux PowerPC

2008-03-05 Thread Sameer
Hi Michael, The other problem I am facing on powerpc Linux is with compiling with Fortran. Some parts of SAGE accept gfortran and others do not. Here is what I see: checking for Fortran 77 libraries of sage_fortran... checking how to get verbose linking output from gcc -std=gnu99... -v checking

[sage-support] Error related with singular, gap and resultant

2008-03-05 Thread Simon King
Dear sage supporters, a strange error occurs in sage 2.10.2 in the following way: sage: R. = QQ[] sage: f = x^3 + x + 1; g = x^3 - x - 1 sage: r = f.resultant(g) sage: R.__dict__ {'_PolynomialRing_general__cyclopoly_cache': {}, '_PolynomialRing_general__generator': x, '_PolynomialRing_general

[sage-support] Re: Mixed 32/64 bit .o files under Linux PowerPC

2008-03-05 Thread Sameer
Hi Michael, I untarred the gmp package and built it again changing makefiles to delete the -m64 option from CFLAGS and CXXFLAGS. It built properly and now the rest of SAGE is compiling properly. The problem was that by default the gmp package chose 64 bit compilation. We may need to disable

[sage-support] Re: Spline question

2008-03-05 Thread William Stein
On Wed, Mar 5, 2008 at 10:57 AM, dean moore <[EMAIL PROTECTED]> wrote: > Thanks! That worked nicely. > > But should this type of thing be documented, as others may face this? > > Dean > Sure! Could you just take the current docs for spline?, modifying them the way you wish they were regarding t

[sage-support] Re: Spline question

2008-03-05 Thread dean moore
Thanks! That worked nicely. But should this type of thing be documented, as others may face this? Dean --- On Tue, Mar 4, 2008 at 10:18 PM, Mike Hansen <[EMAIL PROTECTED]> wrote: > On Tue, Mar 4, 2008 at 8:03 PM, dean moore <[EMAIL PROTECTED]> > wrote: > > I'm trying to spline the unit circle

[sage-support] Re: MAC PC configuration problem.

2008-03-05 Thread William Stein
On Wed, Mar 5, 2008 at 7:55 AM, Neal Laurance <[EMAIL PROTECTED]> wrote: > > I have just installed SAGE on my MAC book, and it works fine there. But > I would like to use it from my desk PC (Windows XP). The PC has a bigger > display. I opened Firefox on the PC, entered the local IP address of

[sage-support] Re: Minimum installation size

2008-03-05 Thread Martin Albrecht
On Wednesday 05 March 2008, Ryan Hinton wrote: > What if I want to develop in certain sections (coding theory, maybe > some graph theory)? I wouldn't recommend deleting static libraries because it is too easy to shoot yourself in the foot if you do. If you only strip your binaries/libraries the

[sage-support] Re: submatrix notation and method

2008-03-05 Thread didier deshommes
On Wed, Mar 5, 2008 at 10:21 AM, Dan Christensen <[EMAIL PROTECTED]> wrote: > > "didier deshommes" <[EMAIL PROTECTED]> writes: > > > SAGE now tries to support numpy (and matlab)-style indexing, by poking > > at its underlying __getitem__ and __getslice__ (thanks to a suggestion > > by William):

[sage-support] MAC PC configuration problem.

2008-03-05 Thread Neal
I have just installed SAGE on my MAC book, and it works fine there. But I would like to use it from my desk PC (Windows XP). The PC has a bigger display. I opened Firefox on the PC, entered the local IP address of the MAC (192.168.1.103) and I get an acknowledgment from the Apache Web server. Then

[sage-support] Re: Minimum installation size

2008-03-05 Thread Ryan Hinton
What if I want to develop in certain sections (coding theory, maybe some graph theory)? On Mar 5, 3:38 pm, "Michael.Abshoff" <[EMAIL PROTECTED]> wrote: > Ryan Hinton wrote: > > I would like to use and contribute to Sage on my university's Linux > > cluster, but I only have about 2.0 GB disk space

[sage-support] MAC PC configuration problem.

2008-03-05 Thread Neal Laurance
I have just installed SAGE on my MAC book, and it works fine there. But I would like to use it from my desk PC (Windows XP). The PC has a bigger display. I opened Firefox on the PC, entered the local IP address of the MAC (192.168.1.103) and I get an acknowledgment from the Apache Web server.

[sage-support] Re: Minimum installation size

2008-03-05 Thread Martin Albrecht
On Wednesday 05 March 2008, Ryan Hinton wrote: > I would like to use and contribute to Sage on my university's Linux > cluster, but I only have about 2.0 GB disk space total for programs > and data. An Ubuntu installation (sage-2.10.2, I believe) weighed in > at about 1.3 GB. I don't think this

[sage-support] Re: Minimum installation size

2008-03-05 Thread Michael.Abshoff
Ryan Hinton wrote: > I would like to use and contribute to Sage on my university's Linux > cluster, but I only have about 2.0 GB disk space total for programs > and data. An Ubuntu installation (sage-2.10.2, I believe) weighed in > at about 1.3 GB. I don't think this leaves me enough room for da

[sage-support] Re: submatrix notation and method

2008-03-05 Thread [EMAIL PROTECTED]
Will you allow single-argument indexing as well? The Matlab convention is that indexing using a single argument indexes vec(A) instead of A. That's often useful, e.g., to update the diagonal of an nxn matrix, you could write A[::n+1] = 1.0. More generally, it allows you to easily update a subset

[sage-support] mympi in addition to mpi4py as optional package in sage?

2008-03-05 Thread AEatUALR
Do you see the mympi python/mpi module showing up as an optional package in sage? http://peloton.sdsc.edu/~tkaiser/mympi/ I see openmpi and mpi4py there (which is great). Albert --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegrou

[sage-support] Minimum installation size

2008-03-05 Thread Ryan Hinton
I would like to use and contribute to Sage on my university's Linux cluster, but I only have about 2.0 GB disk space total for programs and data. An Ubuntu installation (sage-2.10.2, I believe) weighed in at about 1.3 GB. I don't think this leaves me enough room for data. Is there a convenient w

[sage-support] Re: submatrix notation and method

2008-03-05 Thread Dan Christensen
"didier deshommes" <[EMAIL PROTECTED]> writes: > SAGE now tries to support numpy (and matlab)-style indexing, by poking > at its underlying __getitem__ and __getslice__ (thanks to a suggestion > by William): Great! Another nice feature of numpy is *assigning* using numpy-style indexing. For exa

[sage-support] Re: Vector fields and Quivers

2008-03-05 Thread Hector Villafuerte
On Tue, Mar 4, 2008 at 12:38 AM, Jason Grout <[EMAIL PROTECTED]> wrote: > > Hector Villafuerte wrote: ... > > So my question: is there a SAGEly way to plot this type of vector fields? > > Thanks in advance! > > There is now! It turned out to be a pretty simple fix to > plot_vector_field; see

[sage-support] Re: Vector fields and Quivers

2008-03-05 Thread Jason Grout
Eric Drechsel wrote: > Jason: wow, that was quick. I'll try out the plot_vector_field patch > as soon as I figure out how to test patches etc No problem. The patch is included in 2.10.3, so the functionality should be available in just a day or two at the most (2.10.3 is almost released). >