[sage-devel] Re: Couple of gotchas building 3.1.1 on OSX 10.4 ppc

2008-09-08 Thread Georg S. Weber
Looks like we're getting closer. In the file "README.txt" in the toplevel directory of the Sage source dist it is said: OS X: Make sure you have XCode version >= 2.4, i.e., gcc -v should output build >= 5363. If you don't, go to http://developer.apple.com/ s

[sage-devel] Re: real number parsing issue

2008-09-08 Thread Robert Bradshaw
On Sep 8, 2008, at 2:00 PM, John Cremona wrote: > To me it sounds very complicated to keep a memory of what string a > real number was first created with... but Sage already does a lot of > complicated things! Wasn't too hard to do, anyone want to review? http://trac.sagemath.org/sage_trac/tick

[sage-devel] Re: Sage Install Error

2008-09-08 Thread mabshoff
Rajanikanth Jammalamadaka wrote: Hi Rajanikanth, > STAGE 2-1-5: GEMV TUNE > make -f Makefile INSTALL_LOG/dMVRES pre=d 2>&1 | ./xatlas_tee > INSTALL_LOG/dMVTUNE.LOG > make[3]: *** [build] Error 255 > make[3]: Leaving directory Somehow the compiler segfaults. I guess it could be an overheating CP

[sage-devel] Sage Install Error

2008-09-08 Thread Rajanikanth Jammalamadaka
STAGE 2-1-5: GEMV TUNE make -f Makefile INSTALL_LOG/dMVRES pre=d 2>&1 | ./xatlas_tee INSTALL_LOG/dMVTUNE.LOG make[3]: *** [build] Error 255 make[3]: Leaving directory `/home/rajanikanth/Desktop/Downloads/sage-3.1.1/spkg/build/atlas-3.8.1.p3/ATLAS-build' make[2]: *** [build] Error 2 make[2]: Lea

[sage-devel] Sage 3.1.2.rc1 released

2008-09-08 Thread mabshoff
Hello folks, after the not so great rc0 this one will hopefully work a lot better. Most issues beside ghmm and hmm should be fixed. PolyBoRi should actually be working and not create random-ish segfaults at exit. We also fixed the notebook in secure mode and most of the critical or blocker notebo

[sage-devel] Re: real number parsing issue

2008-09-08 Thread William Stein
> On a related note, recently I wrote a simple loop that went something like > this: > > while abs(err) < 1e-6: > ... > > The most expensive part of the operation, by far, was computing > RealNumber('1e-6') in every iteration of the loop. What would people think > about pulling such constants

[sage-devel] Re: Using .variables()/.arguments() is an anti-pattern

2008-09-08 Thread Jason Merrill
On Sep 8, 7:42 pm, Jason Merrill <[EMAIL PROTECTED]> wrote: > One additional consideration is that it is useful in this case to know > whether an expression is constant, as a performance consideration. > The regular algorithm works (slowly) on constant input, but it's > faster if we can just sh

[sage-devel] Using .variables()/.arguments() is an anti-pattern

2008-09-08 Thread Jason Merrill
Looking at http://trac.sagemath.org/sage_trac/ticket/3980, I formed the opinion that a lot of times where .variables() or .arguments() is used, it may be a mistake. On that ticket, it was pointed out that find_root(sin,-1,1) throws an error. Maybe this is a bug, maybe not, but in any case, plot(

[sage-devel] Re: [fricas-devel] Axiom interface

2008-09-08 Thread Bill Page
> On Sun, Sep 7, 2008 at 4:00 AM, Mike Hansen wrote: >> >> There is a patch up at >> http://trac.sagemath.org/sage_trac/attachment/ticket/4036/trac_4036-2.patch >> which improves conversions between Axiom and Sage. It defaults >> to your unparsed input form if it can't find anything smarter to do

[sage-devel] Re: real number parsing issue

2008-09-08 Thread John Cremona
To me it sounds very complicated to keep a memory of what string a real number was first created with... but Sage already does a lot of complicated things! 2008/9/8 Robert Bradshaw <[EMAIL PROTECTED]>: > Yep. This has bothered me too. The basic idea would be to have > RealNumber(x) return a wrap

[sage-devel] Re: real number parsing issue

2008-09-08 Thread Robert Bradshaw
On Sun, 7 Sep 2008, William Stein wrote: > > On Sun, Sep 7, 2008 at 6:12 AM, John Cremona <[EMAIL PROTECTED]> wrote: >> >> This is unfortunate: >> >> sage: R256=RealField(256) >> sage: R256('1.2') >> 1.200 >> sage: R256(1.2)

[sage-devel] Re: Couple of gotchas building 3.1.1 on OSX 10.4 ppc

2008-09-08 Thread Simon Beaumont
Aye looks like I might be behind the curve (well even for OS X) with gcc and friends: gcc -v Target: powerpc-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5250.obj~12/src/configure -- disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- enable-languages=c,objc,c++,obj-c++

[sage-devel] Fwd: [SAGE] #3102: [with patch, with review, issue remains] debugging output in p-adics with print mode "digits"

2008-09-08 Thread John Cremona
Are there any other output formats which have three dots "..." in them as standard? If so they are not getting doctested as much as they should be! John -- Forwarded message -- From: SAGE <[EMAIL PROTECTED]> Date: 2008/9/8 Subject: Re: [SAGE] #3102: [with patch, with review, is

[sage-devel] proposal: license/ subdirectory in spkg packages

2008-09-08 Thread Georg S. Weber
Hi Sage-Devel, What do you think of adding a license/ subdirectory to each spkg? When the spkg, say foo-1.2.3.spkg is installed, the directory SAGE_ROOT/license/packages/foo would be a copy of that license/ subdirectory. (The above is shamelessly copied from the start of Williams "doc/" pr

[sage-devel] Re: Couple of gotchas building 3.1.1 on OSX 10.4 ppc

2008-09-08 Thread Georg S. Weber
On 8 Sep., 17:52, Simon Beaumont <[EMAIL PROTECTED]> wrote: > Just completed this lengthy process on my power book. > > A couple of trivial problems arose: > > 1. had to set MACOSX_DEPLOYMENT_TARGET=10.3 (why not 10.4?) as this > was missing from ntl build and defaults to 10.0 which won't work wit

[sage-devel] Re: Couple of gotchas building 3.1.1 on OSX 10.4 ppc

2008-09-08 Thread mabshoff
On Sep 8, 10:52 am, Simon Beaumont <[EMAIL PROTECTED]> wrote: > One more thing is that atlas doesn't seem to build on this platform. I > can hand crank an atlat configuration but it barfs beacuse I cant turn > off cpu throttling on the PowerBook G4 - how is this "tuned" for a > binary build? We

[sage-devel] Re: Couple of gotchas building 3.1.1 on OSX 10.4 ppc

2008-09-08 Thread Simon Beaumont
One more thing is that atlas doesn't seem to build on this platform. I can hand crank an atlat configuration but it barfs beacuse I cant turn off cpu throttling on the PowerBook G4 - how is this "tuned" for a binary build? On Sep 8, 4:52 pm, Simon Beaumont <[EMAIL PROTECTED]> wrote: > Just comple

[sage-devel] Re: Sage 3.1.2.rc0 released

2008-09-08 Thread David Joyner
This is on amd64 gutsy gibbon: The following tests failed: sage -t devel/sage/sage/rings/bernoulli_mod_p.pyx sage -t devel/sage/sage/rings/arith.py sage -t devel/sage/sage/interfaces/lisp.py Total time for all tests: 4005.5 seconds Please see /home/wdj/sagefiles/sage-

[sage-devel] Re: A function to coerce rings from singular to sage

2008-09-08 Thread mmarco
Ops, i sent a wrong version. Here is the last one, with added suport for rings over transcendental extensions: def coerce_ring_from_singular(r): cha=str(r.charstr()) vars=str(r.varstr()).rsplit(',') ch=cha.partition(',')[0] if ch=='real': fiel=RR elif ch=='0':

[sage-devel] Re: A function to coerce rings from singular to sage

2008-09-08 Thread mmarco
> This still doesn't work the right way for finite extension fields: > > sage: k. = GF(2^8) > sage: P. = k[] > sage: P > Multivariate Polynomial Ring in x, y over Finite Field in a of size 2^8 > > sage: r = P._singular_() > sage: coerce_ring_from_singular(r) > Multivariate Polynomial Ring in x, y

[sage-devel] Couple of gotchas building 3.1.1 on OSX 10.4 ppc

2008-09-08 Thread Simon Beaumont
Just completed this lengthy process on my power book. A couple of trivial problems arose: 1. had to set MACOSX_DEPLOYMENT_TARGET=10.3 (why not 10.4?) as this was missing from ntl build and defaults to 10.0 which won't work with - undefined dynamic_lookup. Workaround was to set this globally, may

[sage-devel] Re: Relationships between exact, approximate linear algebra and multilinear algebras

2008-09-08 Thread Martin Albrecht
On Monday 08 September 2008, Paul Leopardi wrote: > Hi all, > I will be attending Sage Days 10 in Nancy, but am very new to Sage and > need some pointers on where to find stuff. Also, I have heard about > some recent developments in C++ linear algebra libraries and wonder > how this relates to Sag

[sage-devel] SD10 Accomodation

2008-09-08 Thread Martin Albrecht
Hi there, Sage Days 10 is coming up http://wiki.sagemath.org/days10 and it seems about time to organise some accommodation. According to http://www.ot-nancy.fr/uk/centre_historique/index.php I see two budget options: 1) The Youth Hostel seems to be in walking distance http://www.fuaj.o

[sage-devel] Re: Relationships between exact, approximate linear algebra and multilinear algebras

2008-09-08 Thread Thierry Dumont
Paul Leopardi a écrit : > Hi all, > I will be attending Sage Days 10 in Nancy, but am very new to Sage and > need some pointers on where to find stuff. Also, I have heard about > some recent developments in C++ linear algebra libraries and wonder > how this relates to Sage. > > The most recent dev

[sage-devel] Relationships between exact, approximate linear algebra and multilinear algebras

2008-09-08 Thread Paul Leopardi
Hi all, I will be attending Sage Days 10 in Nancy, but am very new to Sage and need some pointers on where to find stuff. Also, I have heard about some recent developments in C++ linear algebra libraries and wonder how this relates to Sage. The most recent development is Matrix Template Library (