On Monday, September 8, 2014 2:38:45 PM UTC+2, simon.ei...@vol.at wrote:
>
> Hi all,
>
> I am not sure if this message went through or not but it seems not.
>
> I just have a quick question.
>
> How easy is it now to compile sage 6.3 on a raspberry pi?
> I tried that with version 5.13 and thi
That's the first time I use Sage<->Magma interface.
Am I doing something wrong?
Thanks in advance.
(Latest sage beta, magma 2.19-2)
sage: p = next_prime(1<<4)
sage: n = next_prime(1<<3)
sage: k = GF(p)
sage: R. = PolynomialRing(k)
sage: f = R.irreducible_element(n)
sage: g = R.irreducible_element(n
On Monday, July 15, 2013 10:14:35 AM UTC+2, Emmanuel Charpentier wrote:
>
> Dear William,
>
> Le lundi 15 juillet 2013 à 00:48 -0700, William Stein a écrit :
> > On Mon, Jul 15, 2013 at 12:15 AM, Emmanuel Charpentier
> > > wrote:
> > > Dear William,
> > >
> > > Le dimanche 14 juillet 2013 2
On Friday, June 21, 2013 6:43:29 PM UTC+2, William stein wrote:
>
> -- Forwarded message --
> From: Savin Diana >
> Date: Thu, Jun 20, 2013 at 2:46 AM
> Subject: question - SAGE
> To: "wst...@uw.edu " >
>
>
> Dear Professor William Stein,
>
> I am Savin Diana and I work at O
On Wednesday, May 9, 2012 4:40:32 PM UTC+2, Volker Braun wrote:
>
> On Wednesday, May 9, 2012 10:33:22 AM UTC-4, Jean-Pierre Flori wrote:
>>
>> http://superuser.com/questions/360236/why-is-system-listening-on-port-8000
>
>
> My money is on the following answer p
And I think that the port 8000 was dysfunctional because some service
already listened on that port (I don't have the computer at hand anymore so
cannot check...)
as suggested by this result from a simple google query:
http://superuser.com/questions/360236/why-is-system-listening-on-port-8000
On
Today at some Sage meeting in Paris, we encountered this problem once more
with Sage 4.7.2 vbox image within Windows 7.
The image was correctly (or seemingly correctly) preconfigured with 8000 on
the outside pointing toward 8000 on the inside and into 22.
Once more it was possible to ssh fr
There is some Sage meeting this afternoon in Paris.
I have a Windows 7 installation on my laptop, I'll give a VirtualBox
installation a try, maybe I'll be more lucky than last time.
That was particularly painful to have people ready to try Sage on their
computer at a previous meeting, but being u
I think I had the same problem although the VirtualBox port forwarding was
correctly configured and I could not resolve it in the little time I had.
My late conclusion was that maybe the Windows firewall is blocking the
connection (even though it's a local one...) ?
Could you try connecting to th
Dear all,
Is there any way to draw easily a 3D multicolor torus with Sage ?
I.e. using parametric_plot3d and an equivalent of adaptive=True,
color=rainbow(60, 'rgbtuple') options ?
Cheers,
JP
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, s
And is nothing but a duplicate of #11447...
Sorry for the noise.
On 1 juil, 11:42, Jean-Pierre Flori wrote:
> This is now #11561.
>
> On 1 juil, 10:59, Jean-Pierre Flori wrote:
>
>
>
>
>
>
>
> > Python was recently updated to not build with OpenSSL support o
This is now #11561.
On 1 juil, 10:59, Jean-Pierre Flori wrote:
> Python was recently updated to not build with OpenSSL support on
> Debian, so I cannot build Sage anymore on my Debian Sid.
>
> http://packages.debian.org/changelogs/pool/main/p/python-defaults/pyt...
> python2.6 (2.
Python was recently updated to not build with OpenSSL support on
Debian, so I cannot build Sage anymore on my Debian Sid.
http://packages.debian.org/changelogs/pool/main/p/python-defaults/python-defaults_2.6.6-14/changelog
python2.6 (2.6.6-9) unstable; urgency=low
* Build without OpenSSL v2 su
This is now #11521.
On 16 juin, 17:13, Jean-Pierre Flori wrote:
> The following piece of code also seems to leak memory.
> The problem seems to occur while resolving the action of ZZ on E.
>
> sage: K = GF(1<<55,'t')
> sage: a = K.random_element()
> sage: while
The following piece of code also seems to leak memory.
The problem seems to occur while resolving the action of ZZ on E.
sage: K = GF(1<<55,'t')
sage: a = K.random_element()
sage: while 1:
: E = EllipticCurve(j=a); P = E.random_point(); 2*P;
On 16 juin, 02:51, Jean-Pie
this is now 11495
On 16 juin, 02:46, Jean-Pierre Flori wrote:
> Ok so the memleak comes from ZZ_pE_to_ZZ_pX in
> c_lib/src/ntl_wrap.cpp
> It should have been fixed by trac #1092, but has been reverted by
> commit 8503.
> I'll reopen #1092.
> On 16 juin, 02:07, J
Ok so the memleak comes from ZZ_pE_to_ZZ_pX in
c_lib/src/ntl_wrap.cpp
It should have been fixed by trac #1092, but has been reverted by
commit 8503.
I'll reopen #1092.
On 16 juin, 02:07, Jean-Pierre Flori wrote:
> and from ZZ_pE_c_to_list function
>
> On 16 juin, 01:18, Jean-Pierr
and from ZZ_pE_c_to_list function
On 16 juin, 01:18, Jean-Pierre Flori wrote:
> Which seems to come from list() method.
>
> On 16 juin, 00:09, Jean-Pierre Flori wrote:
>
>
>
>
>
>
>
> > I finally found the memleak in different si2sa_* functions in
> >
Which seems to come from list() method.
On 16 juin, 00:09, Jean-Pierre Flori wrote:
> I finally found the memleak in different si2sa_* functions in
> sage.libs.singular.singular and provided a fix on Trac.
>
> On 15 juin, 21:50, Jean-Pierre Flori wrote:
>
>
>
>
>
>
But theres another memleak in the roots method of polynomial_zzpex...
On 16 juin, 00:09, Jean-Pierre Flori wrote:
> I finally found the memleak in different si2sa_* functions in
> sage.libs.singular.singular and provided a fix on Trac.
>
> On 15 juin, 21:50, Jean-Pierre
I finally found the memleak in different si2sa_* functions in
sage.libs.singular.singular and provided a fix on Trac.
On 15 juin, 21:50, Jean-Pierre Flori wrote:
> S the memleak seems to be located within creation or rather coercing
> to MPolynomial_libsingular.
> Calling gc.collect(
S the memleak seems to be located within creation or rather coercing
to MPolynomial_libsingular.
Calling gc.collect() whithin the loop seem to fix or are least
attenuate the problem.
However, calling afterwards does not free memory back.
On 15 juin, 14:29, Jean-Pierre Flori wrote:
> Thanks a
Thanks a lot, I'll have a look at that.
On 15 juin, 14:26, Alastair Irving
wrote:
> On 14/06/2011 21:58, Jean-Pierre Flori wrote:
>
>
>
> > On 14 juin, 08:44, Simon King wrote:
> >> Since sage-nt seems to agree that it is a bug, I opened trac ticket
> &g
On 14 juin, 08:44, Simon King wrote:
> Since sage-nt seems to agree that it is a bug, I opened trac ticket
> #11474.
Good !
About the original memleak, I tried looking at how
EllipticCurves_finite_field (maybe not correct name) are created but
could not find anything fishy, only Python code whic
I created a ticket concerning the memleak:
http://trac.sagemath.org/sage_trac/ticket/11468
I did not have the time to find the origin of the problem.
Simon, I guess you could open another ticket with what you spotted.
On 8 juin, 14:13, Simon King wrote:
> On 8 Jun., 11:19, Jean-Pierre Fl
FYI, the interface to Maxima changed in 4.7.1.alpha0 IIRC, so you
could also try one of the more recent alphas available at:
http://sage.math.washington.edu/home/release/
The things with MARKER are not involved in that new interface.
On 10 juin, 08:34, NigelSmart wrote:
> Hi
>
> Thanks for the he
Dear all,
Using the following piece of code makes the memory footprint of sage
grow indefinitely:
sage: K = GF(1<<50,'t')
sage: j = K.random_element()
sage: while 1:
:E = EllipticCurve(j=j)
:del E
:
This seems to be less dramatic with finite fields of char != 2 and
inexistant
This is now Trac #11390.
On 27 mai, 15:41, Jean-Pierre Flori wrote:
> I must admit that I do not know what that method call exactly does,
> but calling it resolve the mentionned bug.
> Moreover it is called in different places all over the file in a
> similar manner so I have the fee
and a doctest hoping that
someone with a better understanding of ntl and gf2x will confirm that
it is ok or provide a correct fix.
Cheers,
On 27 mai, 15:22, Jean-Pierre Flori wrote:
> Adding
>
> (self._parent).F.restore()
> before calling
> cdef GF2X_c r = GF2X_IrredPol
Adding
(self._parent).F.restore()
before calling
cdef GF2X_c r = GF2X_IrredPolyMod(GF2E_rep(self.x),GF2E_modulus())
fixes everything.
Not sure yet why it does not get called before in that situation...
On 27 mai, 15:03, Jean-Pierre Flori wrote:
> Putting sig_on/sig_off aro
:31, Jean-Pierre Flori wrote:
>
> > I'll take care of it with a fix hopefully.
>
> It turns out that the error occurs in the list() method of a homset,
> which starts with
>
> sage: K = GF(1<<16,'a'); L = GF(1<<32,'b')
> sage: self =
I'll take care of it with a fix hopefully.
The value 16 is of course related to FF implementation.
>From 16 it uses NTL and GF2X.
There's something nasty occuring in charpoly() or deeper.
On 27 mai, 14:27, Simon King wrote:
> Hi Jean-Pierre,
>
> On 27 Mai, 14:08, Je
sage: R. = Zq(8,2,'fixed-mod')
sage: 1/t
(t^2 + 1) + (t^2 + 1)*2 + O(2^2)
sage: 1/(t+t^2)
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/libcsage.so(print_backtrace
+0x31)[0x7f3d2a9afdf2]
/home/jp/boulot/sage/sage-4.7.rc1/local/lib/libcsage.so(sigdie+0x14)
[0x7f3d2a9afe24]
/home/jp/boulot/sage/sage-4.
On my computer I get a segfault just doing :
--
| Sage Version 4.7.rc1, Release Date: 2011-04-30 |
| Type notebook() for the GUI, and license() for information.|
-
> I see. Why not just import that one function, in that case? That is
> a very natural thing to do. Only import a whole namespace if you
> really have to - it can really mess things up, as you have pointed
> out.
I'm aware of that, that piece of code was stupid because I was lazy
when I wrote th
Hi,
> Huh. Can I ask where one would import * from sage.calculus.calculus?
In my badly written code.
I wanted to call symbolic_sum which is not reachable by default,
rather than sum when doing some tests.
Cheers,
JP
--
To post to this group, send email to sage-support@googlegroups.com
To unsub
When "from sage.calculus.calculus import *" is executed, the default
var() function from sage.calculus.var (L4) gets replaced by another
one from sage.symbolic.ring (L506).
There is indeed an import made in sage.calculus.calculus (L370).
However, the behavior of var() changes afterward because wh
On 30 nov, 00:34, David Kirkby wrote:
> On 29 November 2010 14:49, Jean-Pierre Flori wrote:
>
> > It now fails when building sqlite:
>
> > /usr/local/gcc4/bin/gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=
>
> how are you getting Sage to build with a gcc
EP=1 -DHAVE_LOCALTIME_R=1
-DHAVE_GMTIME_R=1 -DHAVE_READLINE=1 -I. -I. -I /infres/mic2/flori/
sage-4.6.1.alpha2/local/include -DSQLITE_THREADSAFE=0 -
DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -O2 -MT sqlite3.lo -MD -MP -
MF .deps/sqlite3.Tpo -c sqlite3.c -fPIC -DPIC -o .libs/sqlite3.
owing error:
gcc: gl/lib/strnlen.o: No such file or directory
Replacing patch source code by the latest alpha from
ftp://alpha.gnu.org/gnu/patch/
solved the issue.
On 19 nov, 18:18, Jean-Pierre Flori wrote:
> Hi,
>
> Everything runs fine now (after fighting with nfs).
> I've even bu
I guess the problem is that currently Pynac do not process powers with
symbolic exponents much.
(x**a)**b, (x**b)**a and x**(a*b) won't match, but I guess that none
of them is canonical.
The only way to process (some of) them is through simplify() (and so
through Maxima):
sage: ((x^a)*(x^b)).simpli
Hi,
Everything runs fine now (after fighting with nfs).
I've even built the new maxima and ecl, patched everything (one hunk
failed, looked at it, it must be a test which has benn added after
4.5.1 release...)
I'm now trying to run doctests of interfaces/maxima.py.
I'll run it on the Sunblade 1500
You were right, there is something wrong with the libgfortran file
under SAGE_ROOT/local/lib/ .
It was a symlink to "./../lib/libgfortran.so", strange.
Sage is working with the libraries you posted above. Thanks !
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscri
Hi,
> Can you send me the output of
>
> $ gcc -v
> $ gfortran -v
> $ command -v gcc
> $ cmmand -v gfortran
>
> on your system.
>
Here it is:
bash-3.00$ gcc -v
Reading specs from /usr/local/packages/gcc3/bin/../lib/gcc/sparc-sun-
solaris2.10/3.4.3/specs
Configured with: /sfw10/builds/build/sfw10-pa
Thanks for taking care of this !
I was just trying to run tests on Solaris for the next Ecl and Maxima
spgk's...
I'll try downlaoding your lib tomorrow, I'm not at work right now and
am too tired to ssh and etc...
Just one point: we've got a quite recent gcc installed on our Solaris,
I'd say gcc
Hi,
I unpacked Sage 4.5.1 binaries on Solaris, but when I try to launch
Sage, it complains about missing libgfortran:
ImportError: ld.so.1: python: fatal: libgfortran.so.3: open failed: No
such file or directory
I searched a bit and found something which looks related here:
http://trac.sagemath.
I can confirm it fixes the bug, I'll add myself as a reviewer on Trac.
If I understand correctly, originally, __copy__ function of
element.pyx calls Expression.__new__(Expression) which should call an
__init__ function (without argument ? but I don't know which ?) so
_gobj is not initialized.
When
On 7 oct, 01:36, Jason Grout wrote:
> On 10/6/10 9:18 AM, Jean-Pierre Flori wrote:
>
>
>
> > Sage segfaults when printing a copy of something symbolics :
>
> > sage: copy(x)
>
> >
> > Unhand
Sage segfaults when printing a copy of something symbolics :
sage: copy(x)
Unhandled SIGSEGV: A segmentation fault occurred in Sage.
This probably occurred because a *compiled* component
of Sage has a bug in it (typically accessing inv
Hi,
Some remarks and questions...
I guess the order you want is 'degrevlex' as Sage's default order for
multivariate polynomial ring and as the name of your functions
suggest.
Am I wrong ?
At present, I did not modify a lot of things.
A few signs, replaced seq[0] by the smallest item of the sequ
On 29 sep, 20:28, Burcin Erocal wrote:
> On Wed, 29 Sep 2010 09:48:25 -0700 (PDT)
>
> Jean-Pierre Flori wrote:
> > Maybe it is a good thing to keep the same order as ginac internally
> > and your more usual ordering for printing.
>
> It is good to keep the ginac or
Jean-Pierre Flori wrote:
> Hi,
>
> Maybe it is a good thing to keep the same order as ginac internally
> and your more usual ordering for printing.
> However if you'd better not duplicate code, I can look at the "-
> x^2+x^2" part of bug #9046.
> Now I may underst
ou'd better use the above patch, that won't be necessary.
Cheers,
On 29 sep, 17:33, Burcin Erocal wrote:
> Hi,
>
> On Wed, 29 Sep 2010 07:00:39 -0700 (PDT)
>
> Jean-Pierre Flori wrote:
> > Ok, I have finally looked at the comparison functions and exchanging :
&g
Ok, I have finally looked at the comparison functions and exchanging :
cmpval = seq[0].coeff.compare(other.exponent);
by
cmpval = -seq[0].coeff.compare(other.exponent);
in mul::compare_pow (mul.cpp:1265) seems to prevent the above bug from
happening.
It seems to fit better with the change made by W
Hi Burcin,
Thanks for your quick answer!
I've got some other questions:
- Sage and pynac do not realize that 2^(-b_0) and (2^b_0)^(-1) are
equal.
I guess there is no canonical way of expanding 2^(a*b) into something
else, but it could be a good idea doing it when a or b is an integer
and the othe
ent changes are similar in both git repositories,
but as I was going through the source code, I saw that
numeric::do_print_csrc is defined in GiNaC but not in pynac.
Regards,
On 12 sep, 15:40, Burcin Erocal wrote:
> Hi Jean-Pierre,
>
> On Thu, 9 Sep 2010 02:13:27 -0700 (PDT)
>
> Jean-Pier
quot;strict weak ordering" as required by "std::sort":
"Note that this does not define a strict weak ordering since for any
symbol x we have neither 3*x<2*x or 2*x<3*x. Handle with care!"
but that function is made to be used that way so...
Moreover replacing it by "ex
On 8 sep, 02:52, kcrisman wrote:
> On Sep 7, 5:26 pm, Burcin Erocal wrote:
>
>
>
> > Hi,
>
> > Here is a short example to replicate the first error mentioned below:
>
> > b = [var('b_%s'%i) for i in range(4)]
>
> > precomp = (2^b_2 + 2)*(2^b_1 + 2^(-b_1) + 2^b_1*2^b_0 - 2^b_1*2^(-b_0)
> > - 2
appreciated, and thanks for a such a great piece of
software.
Best regards,
Jean-Pierre Flori
--
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:
hay
thanks for the answer
I thought python defines the types itself... how can you define the
data type?
regards
florian
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-sup
I found that the error occurs only if I take r = float. In the case if
r = int I can get an expression but I can't convert in using .n()
The term I get without .n() is
step4: definition of the velocity dispersion
10
inf
/
hay
sorry for posting all my problems here I still have no good tutorial
and the error messages are not very helpful...
The whole error message I get is below. The program I am using is not
very complicated. It is a python script which calls different
functions
---
yes thats it... thank you very much
On May 28, 6:03 pm, simon.k...@uni-jena.de wrote:
> Hi!
>
> On May 28, 11:35 am, flori wrote:
> ...
>
> > NameError: global name 'x' is not defined
>
> > if I run a similar integral directly in sage it works very we
hay
I try to write a py script to calculate something for me. The script
is called friction.py and containes
#!/usr/bin/env sage -python
import sys
from sage.all import *
import functions
from functions import *
print "Ok... dann legen wir mal los!\n"
print "step1: definition of the density pro
Thanks a lot for your replies...
The following two commands work now
flor...@base:~/sage/sage-3.4$ sudo ./sage factor.sage 2006
2 * 17 * 59
and
flor...@base:~/sage/sage-3.4$ sudo ./sage ./factor 2006
2 * 17 * 59
In the second case I changed the first line of the file to
#! /path/to/sage -pyt
hay
the variable SAGE_ROOT is set to
export SAGE_ROOT=/home/florian/sage/sage-3.4/
and that is where my file is...
regards
florian
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email t
the ls -lah command gives
flor...@base:~/sage/sage-3.4$ ls -lah
total 16M
drwxr-xr-x 9 florian florian 4.0K 2009-05-21 20:09 .
drwxr-xr-x 3 florian florian 4.0K 2009-04-19 15:38 ..
-rw-r--r-- 1 florian florian 71K 2009-04-19 15:38 COPYING.txt
drwxr-xr-x 8 florian florian 4.0K 2009-04-19 18:1
Hay all
I would like to write a script using sage and I just followed the
tutorial page 82. I copied the example
#!/usr/bin/env sage -python
import sys
from sage.all import *
if len(sys.argv) != 2:
print "Usage: %s "%sys.argv[0]
print "Outputs the prime factorization of n."
sys.exit(1
68 matches
Mail list logo