[sage-devel] Re: Fwd: bug in isprime()

2007-09-08 Thread John Cremona
Thanks for the extra explanations, Bill. I wrote an extra item in pari's online FAQ, and an additional note in the manual, while Karim has put into the pari cvs already. But (at least as far as mwrank is concerned) we still need a proof=true version of factorint(). John On 9/8/07, Bill Hart

[sage-devel] Re: compiling on AIX/PowerPPC

2007-09-08 Thread Hamptonio
It turns out that I also have access to a linux-based supercomputer, (an IBM BladeCenter with about 300 quad-processor nodes), which should be faster than the Power4 system anyway. So I will give up, for the moment, trying to install sage on AIX. I have installed sage-2.8.3.6 on the BladeCenter

[sage-devel] cannot build 2.8.4 on sage.math

2007-09-08 Thread David Harvey
I am tearing my hair out. I do a clean build of sage 2.8.4 on sage.math, and when I run it I get this: == -- | SAGE Version 2.8.4, Release Date: 2007-09-07

[sage-devel] Re: cannot build 2.8.4 on sage.math

2007-09-08 Thread Joel B. Mohler
Hi David, I think this may be something in your ambient environment which scons handles differently than autoconf and friends. You could try replacing *** env = Environment() *** with env = Environment(ENV = os.environ) *** near the top of the c_lib/SConstruct file. SCons does not copy

[sage-devel] Re: cannot build 2.8.4 on sage.math

2007-09-08 Thread David Harvey
On Sep 8, 2007, at 11:00 AM, Joel B. Mohler wrote: Hi David, I think this may be something in your ambient environment which scons handles differently than autoconf and friends. Is ambient environment a technical unix term? Is that the same as my environment? You could try

[sage-devel] Re: cannot build 2.8.4 on sage.math

2007-09-08 Thread mabshoff
On Sep 8, 5:09 pm, David Harvey [EMAIL PROTECTED] wrote: On Sep 8, 2007, at 11:00 AM, Joel B. Mohler wrote: Hello, Hi David, I think this may be something in your ambient environment which scons handles differently than autoconf and friends. Is ambient environment a technical

[sage-devel] Re: cannot build 2.8.4 on sage.math

2007-09-08 Thread David Harvey
On Sep 8, 2007, at 11:21 AM, mabshoff wrote: It's already got that line in 2.8.4. I would suggest commenting it out then. It was merged because of a build problem on RHEL 5. Okay, I'll try again with that line restored to how it was before. Has anyone else actually built sage-2.8.4

[sage-devel] Re: cannot build 2.8.4 on sage.math

2007-09-08 Thread mabshoff
On Sep 8, 5:23 pm, David Harvey [EMAIL PROTECTED] wrote: On Sep 8, 2007, at 11:21 AM, mabshoff wrote: It's already got that line in 2.8.4. I would suggest commenting it out then. It was merged because of a build problem on RHEL 5. Okay, I'll try again with that line restored to how

[sage-devel] Re: cannot build 2.8.4 on sage.math

2007-09-08 Thread Joel B. Mohler
On Saturday 08 September 2007 11:09, David Harvey wrote: I think this may be something in your ambient environment which scons handles differently than autoconf and friends. Is ambient environment a technical unix term? Is that the same as my environment? No, sorry. I was intending

[sage-devel] Re: sage-2.8.4

2007-09-08 Thread Jaap Spies
William Stein wrote: Hi, SAGE-2.8.4 -- a mega bugfix release (70 tickets closed since 2.8.3.6) has been released: http://sagemath.org or sage -upgrade Only this test failed on fedora 7: Linux paix 2.6.22.4-65.fc7 #1 SMP Tue Aug 21 22:36:56 EDT 2007 i686 i686 i386 GNU/Linux sage

[sage-devel] Re: sage-2.8.4

2007-09-08 Thread mabshoff
On Sep 8, 6:15 pm, Jaap Spies [EMAIL PROTECTED] wrote: William Stein wrote: Hi, SAGE-2.8.4 -- a mega bugfix release (70 tickets closed since 2.8.3.6) has been released: http://sagemath.org or sage -upgrade Only this test failed on fedora 7: Linux paix 2.6.22.4-65.fc7 #1

[sage-devel] Re: sage-2.8.4

2007-09-08 Thread Jaap Spies
mabshoff wrote: the changeset at http://www.sagemath.org/hg/sage-main/rev/f12659f0ebd0 should fix that problem. It happens only on 32 bit systems. William respun the tarballs after he announced 2.8.4 (which did not contain the changeset), but I don't believe he mirrored them out. Please

[sage-devel] Re: cannot build 2.8.4 on sage.math

2007-09-08 Thread Craig Citro
Yeah, that doesn't sound like fun. Try the following from your sage- main directory: cd c_lib ; rm -f libcsage.* ; scons install. You should see scons rebuild the libcsage.so and then copy it to your $SAGE_ROOT/local/lib ... let me know if that works. If it does, we might just need to be

[sage-devel] Some observations on #619

2007-09-08 Thread mabshoff
Executive summary for ticket #619: Matrix_integer_dense__zero_out_matrix does not leak. But there must be operations on dense matricies that do not properly deallocate elements that were allocated in Matrix_integer_dense__zero_out_matrix, so vagrind claims rightfully that those entries are

[sage-devel] Re: cannot build 2.8.4 on sage.math

2007-09-08 Thread mabshoff
On Sep 8, 6:38 pm, Craig Citro [EMAIL PROTECTED] wrote: Yeah, that doesn't sound like fun. Try the following from your sage- main directory: cd c_lib ; rm -f libcsage.* ; scons install. You should see scons rebuild the libcsage.so and then copy it to your $SAGE_ROOT/local/lib ... let me

[sage-devel] Re: cannot build 2.8.4 on sage.math

2007-09-08 Thread David Harvey
On Sep 8, 2007, at 1:03 PM, mabshoff wrote: Ok, I get loads of test failures on sage.math complaining about __stack_chk_fail. That is gmp related. I am looking trying to use the old p9 gmp package and see what will happen then. Great, so it's not just me then. I was really starting to go

[sage-devel] Re: cannot build 2.8.4 on sage.math

2007-09-08 Thread mabshoff
On Sep 8, 7:05 pm, David Harvey [EMAIL PROTECTED] wrote: On Sep 8, 2007, at 1:03 PM, mabshoff wrote: Hey David, Ok, I get loads of test failures on sage.math complaining about __stack_chk_fail. That is gmp related. I am looking trying to use the old p9 gmp package and see what will

[sage-devel] Re: cannot build 2.8.4 on sage.math

2007-09-08 Thread mabshoff
Why does Sage 2.8.4 crash on sage.math? Executive Summary: SCons somehow gets its LD_LIBRARY_PATH or env in general wrong and ends up linking against the gmp 4.2.1 provided by Debian. Somehow the compiler gets it all wrong and *boom* How to fix: Fix SCons *ducks* - a short term solution seems

[sage-devel] Python bindings for Ginac

2007-09-08 Thread Pablo De Napoli
The idea of incorporating Ginac into Sage was discussed some time ago in this list. Now I see that in its page there is a link to some python bindings for Ginac http://pyginac.sourceforge.net/ This could be useful for us, however they use boost rather than cython/pyrex Pablo

[sage-devel] Re: Python bindings for Ginac

2007-09-08 Thread Ondrej Certik
The idea of incorporating Ginac into Sage was discussed some time ago in this list. Now I see that in its page there is a link to some python bindings for Ginac http://pyginac.sourceforge.net/ This could be useful for us, however they use boost rather than cython/pyrex You can also use

[sage-devel] Re: Python bindings for Ginac

2007-09-08 Thread Pablo De Napoli
One more comment: I see that this project is not actively maintained, in fact in its e-mail list the last e-mail is from 2005... On 9/8/07, Pablo De Napoli [EMAIL PROTECTED] wrote: The idea of incorporating Ginac into Sage was discussed some time ago in this list. Now I see that in its page

[sage-devel] Re: cannot build 2.8.4 on sage.math

2007-09-08 Thread Joel B. Mohler
On Saturday 08 September 2007 17:49, mabshoff wrote: Executive Summary: SCons somehow gets its LD_LIBRARY_PATH or env in general wrong and ends up linking against the gmp 4.2.1 provided by Debian. Somehow the compiler gets it all wrong and *boom* How to fix: Fix SCons *ducks* - a short term

[sage-devel] Re: cannot build 2.8.4 on sage.math

2007-09-08 Thread mabshoff
On Sep 9, 3:10 am, mabshoff [EMAIL PROTECTED] dortmund.de wrote: On Sep 9, 2:40 am, Joel B. Mohler [EMAIL PROTECTED] wrote: On Saturday 08 September 2007 17:49, mabshoff wrote: Executive Summary: SCons somehow gets its LD_LIBRARY_PATH or env in general wrong and ends up linking

[sage-devel] Sage 2.8.4 port to PPC Linux 32 bit 99.9% done

2007-09-08 Thread mabshoff
Hello, 2.8.4 + the integer doc + 1 line fix to pari's build system leads to: [EMAIL PROTECTED] sage-2.8.4]$ uname -a Linux localhost.localdomain 2.6.21-1.3194.fc7 #1 Wed May 23 22:12:25 EDT 2007 ppc ppc ppc GNU/Linux [EMAIL PROTECTED] sage-2.8.4]$ ./sage