I just noticed something odd on Solaris 8. bzip2 built fine, but I started the
build after modifying one of the files. Then I get:
cp -f libbz2.a /export/home/drkirkby/sage-4.3/spkg/../local/lib
chmod a+r /export/home/drkirkby/sage-4.3/spkg/../local/lib/libbz2.a
cp -f bzgrep /export/home/drkirkb
William Stein wrote:
On Sun, Jan 10, 2010 at 5:46 PM, Dr. David Kirkby
In [1]: 1+2
Out[1]: 3
That looks remarkably like Mathematica!!
drkir...@hawk:~/sage-4.3.1.alpha1$ math
Mathematica 7.0 for Sun Solaris x86 (64-bit)
Copyright 1988-2009 Wolfram Research, Inc.
In[1]:= 1+2
Out[1]= 3
Ye
On Sun, Jan 10, 2010 at 8:56 PM, ghtdak wrote:
>
>
> On Jan 9, 7:50 pm, ghtdak wrote:
>> On Jan 9, 2:20 am, Alejandro Serrano wrote:
>>
>> > Hi,
>> > I'm currently developing something very similar as the thing you are
>> > proposing. I sent it to the list about two months ago
>> > (http://grou
On Jan 9, 7:50 pm, ghtdak wrote:
> On Jan 9, 2:20 am, Alejandro Serrano wrote:
>
> > Hi,
> > I'm currently developing something very similar as the thing you are
> > proposing. I sent it to the list about two months ago
> > (http://groups.google.com/group/sage-devel/browse_thread/thread/53b3d6
Nathann Cohen wrote:
Hello !!!
Cliquer is only used as a library, you will find the corresponding
code in sage.graphs cliquer.pyx if necessary :-)
Nathann
Thank you. Given that, and the fact it fails on on both HP-UX and Solaris 8 due
to the inclusion of the long options, I've created a ne
On Jan 11, 7:19 am, javier wrote:
[...]
> I have been trying some code to convert elements of gap finite fields
> into the corresponding elements of sage finite fields. The sort of
> straightforward manner fails because of this behavior:
>
> sage: a = gap("Z(2^4)")
> sage: a^5
> Z(2^2)
>
> and a
Dr. David Kirkby wrote:
I just tried a build of Sage 4.3 on Solaris 8 (released in 2001) on a
Sun Blade 1000 (SPARC processors). There are no prizes for guessing
where the Solaris 8 build failed - on the haslib module
http://trac.sagemath.org/sage_trac/ticket/7892
Em, that was actually quit
On Sun, Jan 10, 2010 at 8:49 PM, John Cremona wrote:
> The server log ends like this (for some reason I cannot scroll back as
> it is running under screen):
Use C-a [ to enter "copy mode" which allows you to see the scroll back
of screen itself (pgup, arrows, etc, esc to quit).
Gonzalo
--
To po
Dr. David Kirkby wrote:
My install.log shows this after the python install:
--
Failed to find the necessary bits to build these modules:
_bsddb bsddb185 dl
gdbm imageoplinuxaudiodev
ossaudiode
Dr. David Kirkby wrote:
William Stein wrote:
This means that you haven't installed the Sage library.
Forget what I said. I thought you were saying the *python* library was not
installed!
No, the Sage library is certainly not installed. There are a number of problems
to overcome before we
On Sun, Jan 10, 2010 at 5:46 PM, Dr. David Kirkby
wrote:
>> You might try:
>>
>> sage -ipython
>>
>> which would basically be equivalent, but without the errors.
>
> drkir...@hawk:~/sage-4.3.1.alpha1$ ./sage -ipython
> Python 2.6.2 (r262:71600, Jan 10 2010, 22:21:32)
> Type "copyright", "credits"
William Stein wrote:
On Sun, Jan 10, 2010 at 12:43 PM, Jaap Spies wrote:
j...@opensolaris:~/Downloads/sage-4.3.1.alpha1$ ./sage
--
| Sage Version 4.3.1.alpha1, Release Date: 2010-01-05|
| Type notebook() for the
On Sun, 2010-01-10 at 22:49 +, John Cremona wrote:
> 2010/1/10 William Stein :
>
> >
> > Try using instead
> >
> > sage: notebook(address="", accounts=True, secure=True, open_viewer=False,
> >server_pool = ['sa...@localhost'])
> >
> >
>
> Good point: I did not have quotes around them.
William Stein wrote:
On Sun, Jan 10, 2010 at 4:30 PM, Dr. David Kirkby
wrote:
William Stein wrote:
On Sun, Jan 10, 2010 at 5:55 AM, Dr. David Kirkby
wrote:
Please read if you intend to edit any shell scripts, such as
spkg-install.
...
Which is just another reason why I personally never eve
Building Sage on Open Solaris is presenting some difficulties due to a failure
of the hashlib module to install easily.
On Solaris 10 (SPARC) is just seems to work ok. On OpenSolaris, it is far from
clear how best to do it. I had a lot of trouble with it
http://trac.sagemath.org/sage_trac/tic
Jaap Spies wrote:
I'm almost there:
Finished building ATLAS core
The Makefile generated in ATLAS for building shared libraries
assumes the linker is the GNU linker, which it not true in
your setup. (It is generally considered better to use the
Sun linker in /usr/ccs/bin rather than the GNU linke
On Sun, Jan 10, 2010 at 4:30 PM, Dr. David Kirkby
wrote:
> William Stein wrote:
>>
>> On Sun, Jan 10, 2010 at 5:55 AM, Dr. David Kirkby
>> wrote:
>>>
>>> Please read if you intend to edit any shell scripts, such as
>>> spkg-install.
>>
>> ...
>>
>> Which is just another reason why I personally ne
William Stein wrote:
On Sun, Jan 10, 2010 at 5:55 AM, Dr. David Kirkby
wrote:
Please read if you intend to edit any shell scripts, such as spkg-install.
...
Which is just another reason why I personally never ever use "set -e"...
William
Well, failing to do so does give the problem that i
On Sat, Jan 9, 2010 at 9:58 AM, Jason Grout wrote:
> Ivan Andrus wrote:
>>
>> In 4.3.1.alpha1 (built from scratch on OS X 10.6) I get the following
>> (from running sagetex):
>>
>> $ cat sagetest.sage ## This file (sagetest.sage) was *autogenerated* from
>> the file sagetest.tex.
>> import sagetex
I'm almost there:
Finished building ATLAS core
The Makefile generated in ATLAS for building shared libraries
assumes the linker is the GNU linker, which it not true in
your setup. (It is generally considered better to use the
Sun linker in /usr/ccs/bin rather than the GNU linker from binutils)
Th
Hi Simon,
On Jan 10, 7:57 pm, Simon King wrote:
> Is it possible to chose take the same name that GAP uses?
In GAP the generator of (the multiplicative group of) say GF(16) is
called "Z(2^4)", so I guess the answer is no, we cannot use GAP name.
We can go for something like Z16, or z_16 or anyth
2010/1/10 William Stein :
>
> Try using instead
>
> sage: notebook(address="", accounts=True, secure=True, open_viewer=False,
> server_pool = ['sa...@localhost'])
>
>
Good point: I did not have quotes around them. So I added them, but
the same happens. the firefox window says exactly
Inte
I had exactly the same thing happen (with sage-4.3.1.alpha1, firefox).
John
2010/1/10 ma...@mendelu.cz :
> Dear sage-devel
>
> when doing in notebook
>
> sage: show('x^2')
>
> or
>
> sage: show(type(factor))
>
> I get error Unknown control sequence '\texttt'
>
> When I try
> sage:'x^2'
>
> with c
cpu = 2 x quad core xeon E5520 (nehalem/i7)
os = debian 5.0/lenny (64 bit)
The following tests failed:
sage -t devel/sage/sage/symbolic/expression.pyx # 6 doctests failed
sage -t devel/sage/sage/numerical/optimize.py # 6 doctests failed
sage -t devel/sage/sage/interface
Dear sage-devel
when doing in notebook
sage: show('x^2')
or
sage: show(type(factor))
I get error Unknown control sequence '\texttt'
When I try
sage:'x^2'
with checked "Typeset" button I get
\newcommand{\Bold}[1]{\mathbf{#1}}\hbox{x^2}
which is not valid LaTeX expression (supperscript outside
2010/1/10 John Cremona :
> Thanks -- answers below.
>
> 2010/1/10 William Stein :
>> On Sun, Jan 10, 2010 at 12:36 PM, John Cremona
>> wrote:
>>> I'm running a sage server on a ubuntu linux machine, without problems.
>>> But when I set up a server pool then I cannot load any worksheets
>>> (eith
Thanks -- answers below.
2010/1/10 William Stein :
> On Sun, Jan 10, 2010 at 12:36 PM, John Cremona wrote:
>> I'm running a sage server on a ubuntu linux machine, without problems.
>> But when I set up a server pool then I cannot load any worksheets
>> (either from the admin account or a user ac
William Stein wrote:
On Sun, Jan 10, 2010 at 12:43 PM, Jaap Spies wrote:
j...@opensolaris:~/Downloads/sage-4.3.1.alpha1$ ./sage
--
| Sage Version 4.3.1.alpha1, Release Date: 2010-01-05|
| Type notebook() for the
On Sun, Jan 10, 2010 at 12:36 PM, John Cremona wrote:
> I'm running a sage server on a ubuntu linux machine, without problems.
> But when I set up a server pool then I cannot load any worksheets
> (either from the admin account or a user account.
>
> I created accounts called sage0,sage1,sage2,sa
On Sun, Jan 10, 2010 at 12:43 PM, Jaap Spies wrote:
> j...@opensolaris:~/Downloads/sage-4.3.1.alpha1$ ./sage
> --
> | Sage Version 4.3.1.alpha1, Release Date: 2010-01-05 |
> | Type notebook() for the GUI, and licens
j...@opensolaris:~/Downloads/sage-4.3.1.alpha1$ ./sage
--
| Sage Version 4.3.1.alpha1, Release Date: 2010-01-05|
| Type notebook() for the GUI, and license() for information.|
--
That just leaves the question of inventing a new variable name given
any n names already defined...
I think the plan you suggested was reasonable. I suggest determining
if all names have a common prefix, then seeing if each suffix is an
integer. If yes, take the next largest integer suffix
I'm running a sage server on a ubuntu linux machine, without problems.
But when I set up a server pool then I cannot load any worksheets
(either from the admin account or a user account.
I created accounts called sage0,sage1,sage2,sage3 and set up ssh so
that from the main sage account (from whic
On 10 Jan., 19:39, javier wrote:
> Is there a canonical or preferred way of calling the generator of GF
> (q)? I went for "xq" (where q is a prime power) but that can easily
> been changed.
Is it possible to chose take the same name that GAP uses?
Cheers,
Simon
--
To post to this group, send an
Hi folks,
At last, the release of networkx-1.0.
--
Regards
Minh Van Nguyen
-- Forwarded message --
From: Aric Hagberg
Date: Mon, Jan 11, 2010 at 2:38 AM
Subject: [networkx-discuss] networkx-1.0 release
To: networkx-disc...@googlegroups.com
An update to NetworkX, networkx-1.0
2010/1/10 Nick Alexander :
>> I don't think it's a good idea to use the same variable names + one
>> other, since then the user is left with two different polynomial rings
>> in n and n+1 variables, with no inclusion map between them, but such
>> that the n variables of the first have the same name
On Sun, Jan 10, 2010 at 5:55 AM, Dr. David Kirkby
wrote:
> Please read if you intend to edit any shell scripts, such as spkg-install.
...
Which is just another reason why I personally never ever use "set -e"...
William
>
> I just tried to build Sage 4.3 on a Sun Blade 2000 running Solaris 8 -
I don't think it's a good idea to use the same variable names + one
other, since then the user is left with two different polynomial rings
in n and n+1 variables, with no inclusion map between them, but such
that the n variables of the first have the same names as the first n
variables of the seco
Hi Dmitri,
On Jan 10, 5:48 pm, Dima Pasechnik wrote:
> This is not good enough. It could be that the [1,1]-element lies in a
> proper subring.
> One should either test each matrix entry and take the biggest ring, or
> ask GAP to do it for you.
> Say, if A is a GAP matrix you can do
> gap> Field(F
Hi
> In Sage 4.3, I came across the following problem when trying to coerce
> rational numbers into the fraction field of Z[t].
>
> sage: F = Frac(PolynomialRing(ZZ, 't'))
> sage: F(1/2)
> ...
> TypeError: no conversion of this rational to integer
>
> I am guessing that thi
I was writing some code which involves homogenising a polynomial (as
part of a possible implementation of the projective completion of an
affine variety). There is a homogenize method for multivariate
polynomials which allows various options for naming the extra variable
needed, all of which use t
On Jan 11, 12:07 am, javier wrote:
> Patch submitted athttp://sagetrac.org/sage_trac/ticket/7890
>
> the conversion of matrices only works when the conversion of the gap
> ring works. In particular, it fails for cyclotomic fields, cyclotomic
> rings, and finite fields of non-prime order. I have
Javier,
> def _sage_(self):
> """
> Override of ExpectElement._sage_ method. Aiming for a better
> conversion. Initially just for matrices!
> """
> if self.IsMatrix():
> ring = self[1,1].Ring().sage()
This is not good enough. It could be that the [1,1]
Amazing: I just crashed ipython, by typing "sage" at my command line.
My path is set so that sage runs $HOME/bin/sage which is currently set
to 4.3, but most recently I had run 4.3.1.alpha1, so this is
presumably caused by some files being left around by the newer python
in 4.3.1 not being treated
Hi, I got this from the report a problem link:
Typing (in the inotebook)
var('t,k,i')
sum(binomial(i+t,t),i,0,k)
results in
binomial(k + t + 1, t + 1) - 1
which is false, the well-known answer is binomial(k + t + 1, t + 1)
--
To post to this group, send an email to sage-devel@googlegroups.com
Patch submitted at
http://sagetrac.org/sage_trac/ticket/7890
the conversion of matrices only works when the conversion of the gap
ring works. In particular, it fails for cyclotomic fields, cyclotomic
rings, and finite fields of non-prime order. I have also modified the
_matrix_ method so that if n
This is the way objects from the pari library are converted to Sage.
pari has an (imperfect) system of attributing types to objects, and
the conversion code branches on the value of its pari type, calling
suitable conversion code in each case.
So this seems like a sensible way to go for GAP conver
Javier,
[...]
>
> So, it wasn't that hard (for matrices) after all.
Good!
> I don't know whether/
> how this can be applied to the E(9) thing unless there is an
> IsSomething gap method that can be used for them.
Sure, there is
IsCyclotomic
and IsIntegralCyclotomic
for cyclotomics, resp., cyclotom
Hi Javier!
On 10 Jan., 15:26, javier wrote:
> def _sage_(self):
> """
> Override of ExpectElement._sage_ method. Aiming for a better
> conversion. Initially just for matrices!
> """
> if self.IsMatrix():
> ring = self[1,1].Ring().sage()
> re
Hi all,
have been hacking around a bit and finally got to this:
the class GapElement doesn't have a _sage_ method, when sage() is
called, it defers to the ExpectElement method, which is not aware of
the fact that we have a GAP object to start with. OTOH, I observed
there is a _matrix_ method tha
Hi Simon,
On Jan 10, 9:32 pm, Simon King wrote:
> Hi Dima!
>
> On 10 Jan., 13:47, Dima Pasechnik wrote:
>
> > On Jan 10, 7:04 pm, javier wrote:
> > well, there no "static type" matrices in GAP (well, unless you work
> > with, say, matrix Lie algebras, and have multiplication overloaded).
> > The
Please read if you intend to edit any shell scripts, such as spkg-install.
I just tried to build Sage 4.3 on a Sun Blade 2000 running Solaris 8 - an old
operating system I know, but it shows once again how different systems can find
bugs that new ones do not.
The output from the python-2.6.2.
Hi Simon,
On Jan 10, 11:33 am, Simon King wrote:
> Well, that's a default method, i.e., if nothing else is implemented
> than a conversion by strings is attempted, because there is some hope
> that the result makes sense.
>
> So, a proper way would be to override the default sage() method (from
>
Hi Dima!
On 10 Jan., 13:47, Dima Pasechnik wrote:
> On Jan 10, 7:04 pm, javier wrote:
> well, there no "static type" matrices in GAP (well, unless you work
> with, say, matrix Lie algebras, and have multiplication overloaded).
> They are just lists of lists of right sizes, with entries in a comm
On Jan 10, 7:04 pm, javier wrote:
[...]
> For instance if
> you create a gap matrix (with integral coefficients)
well, there no "static type" matrices in GAP (well, unless you work
with, say, matrix Lie algebras, and have multiplication overloaded).
They are just lists of lists of right sizes, wi
On 10 Jan., 12:04, javier wrote:
> This is now Ticket #7890:http://trac.sagemath.org/sage_trac/ticket/7890
>
> Thanks for volunteering to work on this, Dmitri! It would be awesome
> to be able to access all that gap functions from sage.
> Skimming a bit at the conversion code, it looks like the fu
On Sun, Jan 10, 2010 at 6:04 AM, javier wrote:
> This is now Ticket #7890:
> http://trac.sagemath.org/sage_trac/ticket/7890
>
> Thanks for volunteering to work on this, Dmitri! It would be awesome
> to be able to access all that gap functions from sage.
> Skimming a bit at the conversion code, it
Hi Nathann and Robert!
On 10 Jan., 10:59, Robert Bradshaw
wrote:
> > I was thinking about the huge list of functions we have at the moment
> > in the Graph class, and the length of Graph.py.
I am a bit puzzled: Do you really talk about *functions*? Should there
be any function *at all*, except f
This is now Ticket #7890:
http://trac.sagemath.org/sage_trac/ticket/7890
Thanks for volunteering to work on this, Dmitri! It would be awesome
to be able to access all that gap functions from sage.
Skimming a bit at the conversion code, it looks like the function
"sage" is called on the gap string
> This won't work for methods, as the functions in clique won't get a bound
> self. I.e. you'd have to write
>
> sage: g.trees.is_tree(g)
>
> unless you did some trickery behind the scenes.
Yes, I thought we could replace g.is_trees by g.trees.is_tree
> I would actually find this interface less e
On Jan 10, 2010, at 12:15 AM, Nathann Cohen wrote:
Hello everybody !!! This is a copy of a mail I sent to Robert Miller,
who may require a larger audience :-)
---
I was thinking about the huge list of functions we have at the moment
in the Graph class, and the length of Graph.p
On 10 ene, 00:56, Jason Grout wrote:
> I can't see your private worksheets :).
Yeah, see above...
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group
Hello everybody !!! This is a copy of a mail I sent to Robert Miller,
who may require a larger audience :-)
---
I was thinking about the huge list of functions we have at the moment
in the Graph class, and the length of Graph.py.
Well, I am at the moment convinced ( if you are no
63 matches
Mail list logo