[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Bradshaw
I think it's a distinction between packages (optional or otherwise) and the core sage library (found in devel/sage/...). The latter is under the repository and you can have many branches ("clones") whereas the former is not. - Robert On Jan 24, 2007, at 11:39 PM, Robert Miller wrote: > Ok

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Miller
A relevant conversation with William, earlier: William wrote: >> By the way, what are the differences between the following? >> >> sage -update > >This is the first step of doing "sage -upgrade". It downloads new >packages but doesn't apply them. It confuses WAY more people (at least 3) >than i

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Timothy Clemans
"sage -update" is not supported in 1.8.2.1 which is out. I got it confused with upgrade. On 1/24/07, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > > So I guess -update followed by -update-build /should/ be the same as - > upgrade then. Let me know if that works. > > On Jan 24, 2007, at 11:31 PM, a

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Miller
Ok, I think I know a little more about what went wrong: After doing sage -update-build, sage compiles just fine. My assumption was that sage -update sage -br would do the trick, but it seems as if sage -br doesn't build the downloaded updates... I'm wondering, what does sage -br actually do? Wh

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Bradshaw
So I guess -update followed by -update-build /should/ be the same as - upgrade then. Let me know if that works. On Jan 24, 2007, at 11:31 PM, alex clemesha wrote: > if you type 'sage -advanced' you get an explanation > of all possible flags: > > (at the bottom:) > > -update -- download la

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread alex clemesha
if you type 'sage -advanced' you get an explanation of all possible flags: (at the bottom:) -update -- download latest non-optional SAGE packages (do not build them) -update-build -- build and install all downloaded non-optional SAGE packages -upgrade -- download, build and install

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Miller
Ok, I got it mixed up, what I did was -update followed by -br. Point is, after update, my sage fails to build. On Jan 24, 11:27 pm, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > Yeah, upgrade != update (though to be honest I don't know the > intricacies of the differences). > > On Jan 24, 2007, at

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Bradshaw
Yeah, upgrade != update (though to be honest I don't know the intricacies of the differences). On Jan 24, 2007, at 11:26 PM, Robert Miller wrote: > Look carefully at my previous post: all I did was sage -upgrade > followed by sage -br. > > On Jan 24, 11:23 pm, Robert Bradshaw <[EMAIL PROTECTED

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Miller
Look carefully at my previous post: all I did was sage -upgrade followed by sage -br. On Jan 24, 11:23 pm, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > Doesn't look like it got the new sagex package, have you tried sage - > upgrade? > > On Jan 24, 2007, at 11:14 PM, Robert Miller wrote: > > > Thi

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Bradshaw
Doesn't look like it got the new sagex package, have you tried sage - upgrade? On Jan 24, 2007, at 11:14 PM, Robert Miller wrote: > This only emphasizes my frustration with mercurial: > > robert-millers-powerbook-g4-12:/Volumes/DATA/sage-1.7 robert$ sage > -update > Using SAGE Server http://sag

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Miller
This only emphasizes my frustration with mercurial: robert-millers-powerbook-g4-12:/Volumes/DATA/sage-1.7 robert$ sage -update Using SAGE Server http://sage.math.washington.edu/sage//packages http://sage.math.washington.edu/sage//packages/install --> install [.] http://sage.math.washington.edu/sa

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread William Stein
You have an old old version of sagex, which is before Robert Bradshaw added support for "+=" (etc.). You must do sage -upgrade not just hg_sage.pull(), which only gets the Python/SageX library code. In particular, Nick's guess is exactly right: On Wed, 24 Jan 2007 19:23:58 -0800, Nick Ale

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Nick Alexander
Just a guess, but I believe that in place update (+=, *=) were just added to sagex. You might try updating that package. Nick Robert Miller wrote: > Getting the following error when building the latest version of SAGE: > > robert-millers-powerbook-g4-12:/Volumes/DATA/sage-1.7 robert$ sage -br >

[sage-devel] Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Miller
Getting the following error when building the latest version of SAGE: robert-millers-powerbook-g4-12:/Volumes/DATA/sage-1.7 robert$ sage -br -- sage: Building and installing modified SAGE library files. pyrexc --embed-positions -I/Volumes/

[sage-devel] Graph Labels

2007-01-24 Thread Robert Miller
William, Sorry about the failed tests. I'm not sure why XGraphs take up 50% more space than Graphs: for an unlabelled graph, the adjacency dicts are the same: sage: import networkx sage: N = graphs.PetersenGraph().networkx_graph() sage: N sage: N2 = networkx.Graph(N) sage: N2 sage: N.adj {0:

[sage-devel] Problem with givaro finite fields with specified modulus

2007-01-24 Thread Nick Alexander
It worries me that the outputs live in different rings for different classes, and the latter is not even a field :) sage: x = ZZ['x'].0 sage: K. = GF(11**11, name='a', modulus=x^11 - x + 1) sage: type(K) sage: K.modulus() x^11 - x + 1 sage: K. = GF(5**5, name='a', modulus=x^5 - x + 1) sage:

[sage-devel] Re: prog.tex = Programming Guide

2007-01-24 Thread William Stein
On Wed, 24 Jan 2007 01:24:51 -0800, Iftikhar Burhanuddin <[EMAIL PROTECTED]> wrote: > > I did a sage -upgrade on my sage-1.8 to get to sage-1.8.1 and I have the > following question: > > Running sage -t foo.py creates the directory .doctest and the file > ".doctest_foo.py". The reference manual

[sage-devel] Re: prog.tex = Programming Guide

2007-01-24 Thread Iftikhar Burhanuddin
On Wed, 24 Jan 2007, Iftikhar Burhanuddin wrote: > BTW where's the SAGE preparser located at? There's nothing in prog.tex > about preparsing and something needs to be said. I believe SAGE_ROOT/local/bin/sage-preparse answers my question! Ifti --~--~-~--~~~---~--~--

[sage-devel] prog.tex = Programming Guide

2007-01-24 Thread Iftikhar Burhanuddin
I did a sage -upgrade on my sage-1.8 to get to sage-1.8.1 and I have the following question: Running sage -t foo.py creates the directory .doctest and the file ".doctest_foo.py". The reference manual section 4.3.1 claims such testing should create .doctest and the file ".doctest/foo.py". Should I