Re: [sage-devel] Re: Help with detecting glibc detected

2012-05-04 Thread Willem Jan Palenstijn
On Fri, May 04, 2012 at 07:31:46AM +, Simon King wrote: On 2012-05-04, Simon King simon.k...@uni-jena.de wrote: I guess I better try whether garbage collection is related. Or create a hook, such that all occuring calls to Python functions or methods are listed. Aha! When disabling

Re: [sage-devel] Re: sagenb.org restarted

2012-02-24 Thread Willem Jan Palenstijn
On Fri, Feb 24, 2012 at 11:18:47AM -0600, Jason Grout wrote: On 2/24/12 11:11 AM, Jason Grout wrote: On 2/24/12 10:38 AM, Keshav Kini wrote: sagenb.org is throwing 503s now. test.sagenb.org, alpha.sagenb.org, and flask.sagenb.org are all working fine. sagenb.org is running on mod, while

Re: [sage-devel] abuse of char C type in Cython (several places in sage/) - please review your code

2012-01-30 Thread Willem Jan Palenstijn
On Mon, Jan 30, 2012 at 03:13:50AM +0100, Julien Puydt wrote: Le 30/01/2012 03:10, Dima Pasechnik a écrit : Working on the ARM port (kudos to Snark), which has, unlike x86, unsigned char, we stumbled upon several places in Sage library (in Cython code) where char type was used for

Re: [sage-devel] Re: [ARM] pickling problem : help needed

2012-01-29 Thread Willem Jan Palenstijn
On Sun, Jan 29, 2012 at 02:53:49AM -0800, Dima Pasechnik wrote: Here is an experiment I just tried on ARM: create linear code from the example in LinearCode? (it's the same as in pickle_jar.tar.bz2) Pickle it: sage: sage.structure.sage_object.picklejar(C,dir='/tmp/jj') Quit Sage. Start

Re: [sage-devel] Re: [ARM] pickling problem : help needed

2012-01-29 Thread Willem Jan Palenstijn
On Sun, Jan 29, 2012 at 03:18:45AM -0800, Dima Pasechnik wrote: Are you saying it's actually a Python bug, not a Sage bug? (Aside: please quote at least part of the message you're replying to. I'll assume you're asking me...) No, not python, but the custom reduce/unpickle functions we have for

Re: [sage-devel] Re: [ARM] pickling problem : help needed

2012-01-29 Thread Willem Jan Palenstijn
On Sat, Jan 28, 2012 at 04:36:17PM +0100, Julien Puydt wrote: Le 29/01/2012 12:13, Willem Jan Palenstijn a écrit : So this is the same issue with char being unsigned on your platform. Specifically, it seems the corresponding __reduce__ function converts a char array into a list of python ints

Re: [sage-devel] [ARM] sage-4.8 ptestlong failures with graphs

2012-01-27 Thread Willem Jan Palenstijn
On Fri, Jan 27, 2012 at 02:05:25PM +0100, Julien Puydt wrote: Le 26/01/2012 10:53, Dima Pasechnik a écrit : Is the popcount() there even big-endian/little-endian safe? It's not obvious. As well, it will blow on architectures that have a different from x86 idea about the length of int... So

Re: [sage-devel] [ARM] sage-4.8 ptestlong failures with graphs

2012-01-27 Thread Willem Jan Palenstijn
On Fri, Jan 27, 2012 at 05:07:56PM +0100, Julien Puydt wrote: Le 27/01/2012 17:02, Julien Puydt a écrit : Le 27/01/2012 16:52, Willem Jan Palenstijn a écrit : Is char signed or unsigned on your platform? Good question ; how do I find out? If I put the following in test.c : #include

Re: [sage-devel] Re: The sage -sh shell prompt: any objections to shortening it?

2011-11-01 Thread Willem Jan Palenstijn
On Tue, Nov 01, 2011 at 05:07:47PM -0700, Keshav Kini wrote: That's what I thought too, but upon testing it seems that PS1 is somehow special in this regard: PS1 is only set in interactive shells: [wjp@aldur ~]$ bash -c 'echo $PS1' [wjp@aldur ~]$ bash -i -c 'echo $PS1' [\u@\h \w]$ -Willem

Re: [sage-devel] Re: embedding sage in c or c++

2011-09-14 Thread Willem Jan Palenstijn
On Tue, Sep 13, 2011 at 04:45:58PM -0700, Michael Rubinstein wrote: Thanks! That worked for me too, though I'm not sure how you decided on the specific choices of libraries to link to. Good to hear. The libraries are just what I needed to add to get it to link without errors after starting with

Re: [sage-devel] embedding sage in c or c++

2011-09-13 Thread Willem Jan Palenstijn
On Tue, Sep 13, 2011 at 06:10:45AM -0700, Michael Rubinstein wrote: Example 2 Next thing I tried to do was to embed sage in a c program, by following http://docs.python.org/extending/embedding.html but that gave me errors at runtime. For example, the following embed.c

Re: [sage-devel] Re: embedding sage in c or c++

2011-09-13 Thread Willem Jan Palenstijn
On Tue, Sep 13, 2011 at 08:46:05AM -0700, Michael Rubinstein wrote: I tried adding PySys_SetArgv(argc, argv); after Py_Initialize(); It gets me further but then gives a strange error message: Loading the Sage library...

Re: [sage-devel] Purpose of readlink and realpath in $SAGE_ROOT/sage

2011-08-24 Thread Willem Jan Palenstijn
On Wed, Aug 24, 2011 at 02:52:09PM +0100, Jonathan Bober wrote: On Thu, Aug 18, 2011 at 9:02 PM, Jeroen Demeyer jdeme...@cage.ugent.bewrote: Hello sage-devel, Can somebody explain the rationale for the following lines in $SAGE_ROOT/sage: if [ $SAGE_ROOT = . ]; then

Re: [sage-devel] Re: MatrixSpace.zero_matrix

2011-07-11 Thread Willem Jan Palenstijn
On Mon, Jul 11, 2011 at 07:23:21PM +0100, Martin Albrecht wrote: Would it be difficult to provide sage_calloc? Or would calloc itself be just fine? No, all that is needed is that (c|m)alloc and free match, hence the definition of sage_malloc and sage_free. But one could just call

Re: [sage-devel] Re: nondescript tracebacks with load and attach

2011-05-21 Thread Willem Jan Palenstijn
On Fri, May 20, 2011 at 10:40:58PM -0700, Simon King wrote: Hi Marco, could you please provide more information about your system? Namely, originally I had only tested that your example works fine if I use sage-4.7.rc2 plus trac ticket #9976. But now, I tested again with plain unpatched

Re: [sage-devel] unicode in command line output?

2011-05-19 Thread Willem Jan Palenstijn
On Thu, May 19, 2011 at 01:02:36PM -0700, Volker Braun wrote: Is there a consensus to not allow arbitrary unicode in command line output? It seems like it might be useful, but apparently its technically not supported. Is this a bug or a feature? For the record, if your _repr_() method

Re: [sage-devel] unicode in command line output?

2011-05-19 Thread Willem Jan Palenstijn
On Thu, May 19, 2011 at 01:27:31PM -0700, Volker Braun wrote: My locale is en_US.utf-8: [vbraun@volker-laptop-two ~]$ echo $LANG en_US.utf8 Ah, it seems the python docs for __repr__ (and __str__) specify they must return an object of type string, not unicode. (Python 3 changes this,

Re: [sage-devel] Notebook password auth flaw

2011-04-20 Thread Willem Jan Palenstijn
On Wed, Apr 20, 2011 at 04:52:10AM -0700, jmakov wrote: Hi. PROBLEM: sage's web server allows diff passwords for one user EXAMPLE: snip Now I can login with the following credentials: username = user password = !mypassw123#mypassw #ok since that is user's passw username = user

Re: [sage-devel] Anyone with an AMD Opteron?

2011-04-16 Thread Willem Jan Palenstijn
On Sat, Apr 16, 2011 at 08:26:52PM +0100, Dr. David Kirkby wrote: Is there anyone here with an AMD Opteron? I've got a couple of doctests failures on a 2.2 GHz Opteron machine with 1 GB RAM and 3 GB swap. The failures are: http://trac.sagemath.org/sage_trac/ticket/11206

Re: [sage-devel] Problem building sage from source

2011-03-23 Thread Willem Jan Palenstijn
On Tue, Mar 22, 2011 at 04:07:18PM -0700, jtyard wrote: Hi, I'm unable to successfully build sage 4.6.2 from source on OS X 10.6.7. Everything in the build seems to work fine until the very end. Here is where the build starts complaining: Sage build/upgrade complete! spkg/pipestatus

[sage-devel] Re: Failed tests for accuracy reasons

2011-03-14 Thread Willem Jan Palenstijn
On Mon, Mar 14, 2011 at 05:44:26PM +, David Kirkby wrote: On 14 March 2011 16:42, Willem Jan Palenstijn w...@usecode.org wrote: You can use hg to find out which commit added it, and if that commit is recent enough it will have the trac ticket number in the commit message. This is what

Re: [sage-devel] sage thoughts

2011-02-09 Thread Willem Jan Palenstijn
On Wed, Feb 09, 2011 at 04:46:52PM +0800, D. S. McNeil wrote: Could you post an example [re: my whitespace issues --ed] to nail down exactly what you're talking about? sage: s = 'for i in range(3):\n' + ' '*4 + 'print i\n' sage: # add extra space, such as can often happen in practice

Re: [sage-devel] Re: preparser is affecting commands like 'cd', 'mv', etc.

2011-01-18 Thread Willem Jan Palenstijn
On Tue, Jan 18, 2011 at 08:42:07AM -0800, Keshav Kini wrote: On Jan 19, 12:11?am, Jeroen Demeyer jdeme...@cage.ugent.be wrote: On 2011-01-18 00:00, Niles wrote: Is the following a known bug? sage: cd tmp0-50/ [Errno 2] No such file or directory: 'tmp0-Integer(50)/' In my

Re: [sage-devel] Re: Error building sage-4.6.2.alpha1

2011-01-17 Thread Willem Jan Palenstijn
On Sun, Jan 16, 2011 at 03:48:22PM -0800, Simon King wrote: As I said, I am not sure whether the link is hard or soft. Is the type of the link apparent in the output of the ls -l command that I posted above? Yes, if there's a '- somewhere' at the end, that indicates a symlink. (I typed

Re: [sage-devel] Re: cannot add attachment on trac

2011-01-17 Thread Willem Jan Palenstijn
On Mon, Jan 17, 2011 at 01:15:51AM -0800, Mike Hansen wrote: There's a problem with boxen running out of disk space. I'm not sure what is causing it. This looks like a big part of it: wjp@boxen:/sagenb/sagenb$ ls -alh /sagenb/sagenb/logs/ total 25G drwxr-xr-x 2 sagenb sagenb 4.0K 2010-08-31

Re: [sage-devel] Re: cannot add attachment on trac

2011-01-17 Thread Willem Jan Palenstijn
On Mon, Jan 17, 2011 at 09:34:18AM +, Willem Jan Palenstijn wrote: On Mon, Jan 17, 2011 at 01:15:51AM -0800, Mike Hansen wrote: There's a problem with boxen running out of disk space. I'm not sure what is causing it. This looks like a big part of it: wjp@boxen:/sagenb/sagenb$ ls

Re: [sage-devel] Re: cannot add attachment on trac

2011-01-17 Thread Willem Jan Palenstijn
On Mon, Jan 17, 2011 at 09:54:17AM +, Willem Jan Palenstijn wrote: On Mon, Jan 17, 2011 at 09:34:18AM +, Willem Jan Palenstijn wrote: On Mon, Jan 17, 2011 at 01:15:51AM -0800, Mike Hansen wrote: There's a problem with boxen running out of disk space. I'm not sure what is causing

Re: [sage-devel] Re: cannot add attachment on trac

2011-01-17 Thread Willem Jan Palenstijn
On Mon, Jan 17, 2011 at 10:15:32AM +, Willem Jan Palenstijn wrote: On Mon, Jan 17, 2011 at 09:54:17AM +, Willem Jan Palenstijn wrote: On Mon, Jan 17, 2011 at 09:34:18AM +, Willem Jan Palenstijn wrote: On Mon, Jan 17, 2011 at 01:15:51AM -0800, Mike Hansen wrote: There's

Re: [sage-devel] Re: Error building sage-4.6.2.alpha1

2011-01-16 Thread Willem Jan Palenstijn
On Sun, Jan 16, 2011 at 01:33:43PM -0800, Simon King wrote: Hi! My frustration grows: The same problem occurs even with sage-4.6 sources. Since previously a sage upgrade failed, the computer in my office is now sageless. To summarize it: * When make fails, it is in

[sage-devel] R interface and strings

2011-01-13 Thread Willem Jan Palenstijn
Hi, Ticket #9970 is about an issue with strings returned from the R interface. I've submitted a patch for this, but I don't know anything about the R language, so I can't easily test if it breaks anything. (Other than run the doctests, which work.) If somebody more familiar with the R language

Re: [sage-devel] Sage *may* need GNU gettext for libintl.so.3 to run 'make test'

2010-11-24 Thread Willem Jan Palenstijn
On Wed, Nov 24, 2010 at 12:48:16PM +, David Kirkby wrote: drkir...@laptop:~/sage-4.6.1.alpha2$ make test ld.so.1: make: fatal: libintl.so.3: open failed: No such file or directory Killed That sounds like the 'make' binary itself is failing to run, I think. Does make work? (Maybe try just

Re: [sage-devel] Executing a large script.

2010-11-08 Thread Willem Jan Palenstijn
On Mon, Nov 08, 2010 at 07:24:53PM +, David Kirkby wrote: I was trying to execute a large script, which I had generated automatically with a view to testing Sage at integrating and differentiating random polynomials. The script looks a bit like this, but has many entries, with each

Re: [sage-devel] Trac: no space left on device

2010-11-02 Thread Willem Jan Palenstijn
On Tue, Nov 02, 2010 at 07:42:51AM -0700, William Stein wrote: On Tuesday, November 2, 2010, David Kirkby david.kir...@onetel.net wrote: On 2 November 2010 00:10, William Stein wst...@gmail.com wrote: On Mon, Nov 1, 2010 at 5:07 PM, Jeroen Demeyer jdeme...@cage.ugent.be wrote: Hi, I just

Re: [sage-devel] Trac: no space left on device

2010-11-02 Thread Willem Jan Palenstijn
On Tue, Nov 02, 2010 at 04:24:41PM +0100, Jeroen Demeyer wrote: On 2010-11-02 16:18, Willem Jan Palenstijn wrote: Possible options I can think of: * the filesystem could be out of inodes rather than out of space. (Use 'df -i') That's the issue, on boxen: $ df -i Filesystem

Re: [sage-devel] quotient field

2010-10-31 Thread Willem Jan Palenstijn
On Sun, Oct 31, 2010 at 06:44:01AM -0700, mhs wrote: Hi SAGE developers, I have a question regarding quotient fields of polynomial rings. I want to iterate a polynomial in two variables over a finite field and need to mod out higher powers. So I defined a finite field, a polynomial ring, a

Re: [sage-devel] Does anyone use SAGE_ATLAS_LIB ?

2010-09-06 Thread Willem Jan Palenstijn
On Mon, Sep 06, 2010 at 08:25:33PM +0100, Dr. David Kirkby wrote: On 09/ 6/10 01:46 PM, Fran?ois Bissey wrote: On the other hand there is a real problem, I think, in the way libcblas.so and liblapack.so are generated in sage as their production often fails. Are you sure it is libcblas.so

Re: [sage-devel] Source code of sympow must makes no sense

2010-08-07 Thread Willem Jan Palenstijn
On Sat, Aug 07, 2010 at 02:47:45PM +0100, Dr. David Kirkby wrote: sympow seems to have presented some problems on Solaris 10 on x86. I've tried looking at this source code, and it makes little sense whatsoever to me. snip Anyway, that aside, lets get to the C source code. I tried to

Re: [sage-devel] Source code of sympow must makes no sense

2010-08-07 Thread Willem Jan Palenstijn
On Sat, Aug 07, 2010 at 03:59:49PM +0100, Dr. David Kirkby wrote: On 08/ 7/10 03:37 PM, Willem Jan Palenstijn wrote: From my experience, by far the most efficient way of writing cross-platform Who are you quoting? I'm not quoting. Somewhere in the email chain the escaped From wasn't un

Re: [sage-devel] Re: sage -clone failing with ...untrusted file/user... message

2010-08-02 Thread Willem Jan Palenstijn
On Mon, Aug 02, 2010 at 07:05:50AM -0700, Dima Pasechnik wrote: Hi Rob, well, I am familiar with cloning of my own sage installs. I just thought that cloning a system-wide (or another user's) sage install should work, too :-) sage -clone doesn't clone a sage install. It only clones the sage

Re: [sage-devel] Re: difference in behaviour of sage -python blah.py vs. sage and then load('blah.py')

2010-08-02 Thread Willem Jan Palenstijn
On Mon, Aug 02, 2010 at 08:33:49AM -0700, Dima Pasechnik wrote: Dave, It looks more like a linker bug/feature --- the same behaviour on skynet's eno (Linux), but no errors on skynet's mark (Solaris, which I believe uses Sun's linker). Is it a fresh build or an upgrade of sage? -Willem Jan

Re: [sage-devel] Re: difference in behaviour of sage -python blah.py vs. sage and then load('blah.py')

2010-08-02 Thread Willem Jan Palenstijn
On Tue, Aug 03, 2010 at 05:23:17AM +1000, Peter Jeremy wrote: On 2010-Aug-02 06:58:10 -0700, Dima Pasechnik dimp...@gmail.com wrote: install the cvxopt-1.1.2.spkg from the link I posted on #6456, run spkg-check, first without the 1-line change below, then with) diff -r 117baef5ef34

Re: [sage-devel] Re: difference in behaviour of sage -python blah.py vs. sage and then load('blah.py')

2010-08-02 Thread Willem Jan Palenstijn
. If you use gcc as frontend for the linker, it should automatically link in the required missing functions like __powidf2. It shouldn't be necessary to add gcc_s manually. -Willem Jan On Aug 2, 10:11?pm, Willem Jan Palenstijn w...@usecode.org wrote: On Tue, Aug 03, 2010 at 05:23:17AM +1000

Re: [sage-devel] Re: difference in behaviour of sage -python blah.py vs. sage and then load('blah.py')

2010-08-02 Thread Willem Jan Palenstijn
On Mon, Aug 02, 2010 at 08:43:53PM +, Willem Jan Palenstijn wrote: On Mon, Aug 02, 2010 at 01:28:36PM -0700, Dima Pasechnik wrote: my taurus build of sage 4.5.1 has liblapack.so just fine... Ah, now I notice it's generated by atlas. (Sorry, I stupidly missed that rather obvious bit

Re: [sage-devel] Re: sage -clone failing with ...untrusted file/user... message

2010-07-30 Thread Willem Jan Palenstijn
On Fri, Jul 30, 2010 at 07:47:17AM -0700, Dima Pasechnik wrote: While this gets me past this particular message, it still does not do the job: gu...@pasechnik1:/tmp/xx$ sage -clone xxx Now cloning the current Sage library branch... hg clone sage sage-xxx abort: Permission denied: sage-xxx

Re: [sage-devel] Under what conditions is Cython generating C++ code?

2010-07-25 Thread Willem Jan Palenstijn
On Sun, Jul 25, 2010 at 02:06:11AM -0700, Simon King wrote: Hi! This is related with #9583. If the patch from #1396 is applied, Sage segfaults on t2 at startup. It seems that the offending part of the code is in sage/libs/singular/ option.pyx. I thought that Cython generates C code,

Re: [sage-devel] What went wrong with this build of IML?

2010-07-23 Thread Willem Jan Palenstijn
On Fri, Jul 23, 2010 at 12:06:24PM +0100, Dr. David Kirkby wrote: On 07/23/10 11:59 AM, Fran?ois Bissey wrote: I just tried to build Sage, and got a failure with building IML. See log here. http://boxen.math.washington.edu/home/kirkby/iml-1.0.1.p12.log As soon as I restarted make again, so

Re: [sage-devel] What went wrong with this build of IML?

2010-07-23 Thread Willem Jan Palenstijn
On Fri, Jul 23, 2010 at 05:48:09PM +0100, Dr. David Kirkby wrote: On 07/23/10 03:52 PM, Carl Witty wrote: the/dev/null 21 means we don't get to see the actual compile error. It would be interesting, and perhaps informative, to see what the error was. That's one of the features of libtool.

Re: [sage-devel] How to I debug a crashing Sage?

2010-07-20 Thread Willem Jan Palenstijn
On Mon, Jul 19, 2010 at 07:54:14PM +0100, David Kirkby wrote: I don't know, but suspect so. This page looked interesting, to preload a Solaris malloc library with LD_PRELOAD. That seemed to display something semi-useful after I inspected the core file with 'mdb' and used this 'findleaks

Re: [sage-devel] How to I debug a crashing Sage?

2010-07-19 Thread Willem Jan Palenstijn
On Mon, Jul 19, 2010 at 04:33:59PM +0100, David Kirkby wrote: I've tried under gdb. kir...@t2:[~/sage-4.5-hacked-for-64-bit-solaris] $ ./sage -gdb snip Program received signal SIGSEGV, Segmentation fault. 0x7e6627ec in _free_unlocked () from /lib/64/libc.so.1 Do you get a gdb

Re: [sage-devel] spurious file not found

2010-06-23 Thread Willem Jan Palenstijn
On Tue, Jun 22, 2010 at 09:20:44PM -0700, William Stein wrote: Hi Willem (and Sage-devel), People have been reporting some weird file not found errors after doing make test. This is caused by your #7793, I think. See http://trac.sagemath.org/sage_trac/ticket/9316 for the ticket

Re: [sage-devel] matplotlib is reading old system headers, in preference to Sage ones.

2010-06-10 Thread Willem Jan Palenstijn
On Thu, Jun 10, 2010 at 07:16:56AM +0100, David Kirkby wrote: drkir...@redstart:~$ cat /usr/lib/pkgconfig/freetype2.pc prefix=/usr/sfw exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: FreeType 2 Description: A free, high-quality, and portable font engine.

Re: [sage-devel] Re: matplotlib is reading old system headers, in preference to Sage ones.

2010-06-10 Thread Willem Jan Palenstijn
On Thu, Jun 10, 2010 at 01:32:19PM +0100, Dr. David Kirkby wrote: On 06/10/10 01:19 PM, Jason Grout wrote: I've posted the update to http://trac.sagemath.org/sage_trac/ticket/9202 Actually, I'm pretty sure I fixed the issue in this thread with the new spkg (see my other message in this thread

Re: [sage-devel] Is 'flex' needed to build Sage?

2010-06-06 Thread Willem Jan Palenstijn
On Sun, Jun 06, 2010 at 09:14:09AM +0100, Dr. David Kirkby wrote: I've tried twice to build Sage on a machine in which 'flex' was not in the path. It has both times failed with: make install in Singular make[4]: Entering directory

Re: [sage-devel] Is 'flex' needed to build Sage?

2010-06-06 Thread Willem Jan Palenstijn
On Sun, Jun 06, 2010 at 11:51:43AM +0100, Dr. David Kirkby wrote: On 06/ 6/10 11:27 AM, Willem Jan Palenstijn wrote: The way this usually works is that packages are shipped with the output of flex, so that flex doesn't have to be run again if the user doesn't have it. In this case that also

Re: [sage-devel] Re: Sage on Gentoo - Random SIGABRT failures on exit

2010-05-22 Thread Willem Jan Palenstijn
On Sat, May 22, 2010 at 03:12:17AM -0700, cschwan wrote: @Willem: I took the suppression file from Sage's valgrind.spkg - this filtered a lot meesages. Did using sage -t -valgrind work after adding the missing suppressions file? Did it show any hints for the aborts you were seeing? Its output

Re: [sage-devel] Sage on Gentoo - Random SIGABRT failures on exit

2010-05-16 Thread Willem Jan Palenstijn
On Sun, May 16, 2010 at 05:55:10AM -0700, cschwan wrote: Hello, porting Sage to Gentoo progresses well, we now have a split version where all all dependencies of Sage are installed with portage. Unfortunately, we experience serious problems on amd64 when exiting Sage. When doing so, there

Re: [sage-devel] Re: Sage on Gentoo - Random SIGABRT failures on exit

2010-05-16 Thread Willem Jan Palenstijn
On Sun, May 16, 2010 at 11:59:24AM -0700, cschwan wrote: I already tried valgrind but it did not work - how do I exactly use it ? When I run sage -valgrind -t -force_lib devel/sage/doc/en/reference/sage/ categories/examples/algebras_with_basis.rst I get:

Re: [sage-devel] Re: maxima-5.20.1.p0 fails to build on t2.math with Sage 4.4.2.alpha0

2010-05-10 Thread Willem Jan Palenstijn
On Mon, May 10, 2010 at 09:29:23PM +1000, Minh Nguyen wrote: Hi David, On Mon, May 10, 2010 at 8:54 PM, Minh Nguyen nguyenmi...@gmail.com wrote: ;;; Note: Scanning #Pbinary-ecl/sumcon.o An error occurred during initialization: Filesystem error with pathname /tmp/ECLINIT.c. Either 1)

Re: [sage-devel] Re: maxima-5.20.1.p0 fails to build on t2.math with Sage 4.4.2.alpha0

2010-05-10 Thread Willem Jan Palenstijn
On Mon, May 10, 2010 at 11:39:20AM +, Willem Jan Palenstijn wrote: As a follow-up, it seems that mkstemp on solaris doesn't have much imagination... When called many times on the same template (/tmp/ECLINITXX in this case) in a single run, it creates filenames like /tmp/ECLINITXiaGon

Re: [sage-devel] Re: Ubuntu 10.04 64bit make test errors

2010-05-07 Thread Willem Jan Palenstijn
On Fri, May 07, 2010 at 05:16:22PM +0200, Jan Groenewald wrote: Hi On Fri, May 07, 2010 at 07:04:50AM -0700, Nathan O'Treally wrote: On 7 Mai, 08:40, Jan Groenewald j...@aims.ac.za wrote: The following tests failed: ? ? ? ? sage -t

Re: [sage-devel] Sage 4.4.1.alpha2: unable to produce binary for sage.math

2010-04-29 Thread Willem Jan Palenstijn
On Thu, Apr 29, 2010 at 07:01:10PM +1000, Minh Nguyen wrote: Hi folks, Sage 4.4.1.alpha2 builds OK on sage.math. I wasn't able to run doctests on the Sage library. When trying to wrap up a binary for sage.math, the reason became apparent: [mv...@sage sage-4.4.1.alpha2]$ ./sage -bdist

Re: [sage-devel] Sage 4.4.1.alpha2: unable to produce binary for sage.math

2010-04-29 Thread Willem Jan Palenstijn
On Thu, Apr 29, 2010 at 10:20:25AM +, Willem Jan Palenstijn wrote: On Thu, Apr 29, 2010 at 07:01:10PM +1000, Minh Nguyen wrote: Hi folks, Sage 4.4.1.alpha2 builds OK on sage.math. I wasn't able to run doctests on the Sage library. When trying to wrap up a binary for sage.math

Re: [sage-devel] Re: GCC-4.5.0

2010-04-27 Thread Willem Jan Palenstijn
On Tue, Apr 27, 2010 at 08:46:59AM +0200, Clement Pernet wrote: Hi, I could not find a gcc-4.5 install on eno, to replicate the bug. On which machine did you run it? (before I start compile it!) Could you also attach the linbox config.log to ticket #8769 ? Hi Clement, The issue in #8769

Re: [sage-devel] Re: Right format for multiple lines statement in docstring ?

2010-04-23 Thread Willem Jan Palenstijn
On Fri, Apr 23, 2010 at 06:32:43AM -0700, ablondin wrote: 981 sage: for i in range(1,10): 982 sage: for j in range(1,10): 983 sage: if i != j: 984 sage: w = words.KolakoskiWord(alphabet=(i,j)) 985

Re: [sage-devel] strange GNUism in spkg-install (Solaris does not like it)

2010-03-15 Thread Willem Jan Palenstijn
On Mon, Mar 15, 2010 at 01:11:22AM -0700, Dima Pasechnik wrote: Could anyone tell me the the advantage of ${gapver:=$SAGE_ROOT/spkg/standard/newest_version gap} GAP0=`$gapver` The meaning of ':=' there is to only set $gapver to $SAGE_ROOT/spkg/ if $gapver was unset or null

Re: [sage-devel] Anyone had mysterious build failures on SPARC?

2010-03-11 Thread Willem Jan Palenstijn
On Wed, Mar 10, 2010 at 07:36:11PM -0800, Dr David Kirkby wrote: I've several time had the build on Solairs (on different machines, with different versions of gcc build by different people) stop with no warning: Here is a failed build on 't2' gcc -shared

Re: [sage-devel] Anyone had mysterious build failures on SPARC?

2010-03-11 Thread Willem Jan Palenstijn
suspicious to you? Python has a readline.so in its tree; it's probably linking that: [...@aldur ~]$ locate readline.so | grep sage /data/sage/sage-4.3/local/lib/python2.6/lib-dynload/readline.so [...] Willem Jan Palenstijn wrote: Are you using a parallel build? If so, there might be an error further

Re: [sage-devel] Add 'gcc' libraries to Sage binaries ( 0.5% bloat)

2010-02-22 Thread Willem Jan Palenstijn
On Mon, Feb 22, 2010 at 11:27:40AM +, Dr. David Kirkby wrote: This came up on the thread mercurial on t2 but I thought I'd start a new thread on it. I'd propose that we include in any binary distribution gcc's C, C++ and Fortran shared libraries. They would be placed in $SAGE_LOCAL/lib.

Re: [sage-devel] iconv license - a bit of a mixup

2010-02-05 Thread Willem Jan Palenstijn
On Fri, Feb 05, 2010 at 11:00:00AM +, Dr. David Kirkby wrote: As indicated in the thread 4.3.2.rc0 failing on Solaris as R needs iconv we now need to add iconv. This is ticket http://trac.sagemath.org/sage_trac/ticket/8191 This should also help resolve the issue at

Re: [sage-devel] Re: Rational polynomials via FLINT (#4000)

2010-01-29 Thread Willem Jan Palenstijn
On Fri, Jan 29, 2010 at 05:58:39AM -0800, Sebastian Pancratz wrote: The value of m is set by the call fmpz_poly_pseudo_divrem(quo, r.num, m, a.num, b.num), where as the output above shows we have a.num and b.num both equal the polynomial 9*t-2. From the FLINT (1.5.0) manual, this call should

Re: [sage-devel] Build failed sage-4.3.1

2010-01-21 Thread Willem Jan Palenstijn
On Thu, Jan 21, 2010 at 01:31:26PM -0800, William Stein wrote: We've hand-inspected the R failures and they are all because of missing optional R packages that we don't include with Sage. I also found out later that there's a new R spkg by kcrisman at #6532 (needs review) that should pass all

Re: [sage-devel] Re: How to debug a mysterious error ?

2010-01-19 Thread Willem Jan Palenstijn
On Tue, Jan 19, 2010 at 07:29:33AM -0800, slabbe wrote: Can you try sage -t -verbose? Great. It worked. It was a syntax error in a doctest : a line ...: after a one-liner while. I've just submitted patches to tickets #7995 and #7993 that (among other things) change the error given in this

Re: [sage-devel] Re: constructing a scheme morphism to an affine curve

2010-01-16 Thread Willem Jan Palenstijn
a look at your patch soon. I've created ticket #7956 for this. -Willem Jan On Wed, Nov 04, 2009 at 08:34:52PM +, Willem Jan Palenstijn wrote: Hi all, Ronald van Luijk encountered the following problem: sage: S.p,q = QQ[] sage: A1.r = AffineSpace(QQ,1) sage: A1_emb = Curve(p

Re: [sage-devel] Linbox complains GMP is not installed on Solaris 10 (64-bit mode)

2010-01-14 Thread Willem Jan Palenstijn
On Thu, Jan 14, 2010 at 09:27:53AM +, Dr. David Kirkby wrote: I tried a 64-bit build of Sage on a Sun Blade 2000 SPARC workstation running Solaris 10. I don't know if linbox is only looking for GMP in /usr and /usr/local, which is semi-implied below. But for whatever reason, it decides

Re: [sage-devel] Unsetting MAKE - a better way to do it.

2010-01-12 Thread Willem Jan Palenstijn
On Tue, Jan 12, 2010 at 01:21:51AM -0800, Robert Bradshaw wrote: Since the goal is to remove the -j flags, why not MAKE=`echo $MAKE | sed -E s/-j +[^ ]+|--jobs=[^ ]+//g` This way if any other flags were part of $MAKE they wouldn't get dropped as well. (Not sure if Solaris can handle

Re: [sage-devel] Re: Unsetting MAKE - a better way to do it.

2010-01-11 Thread Willem Jan Palenstijn
On Mon, Jan 11, 2010 at 02:21:13PM -0800, Craig Citro wrote: Having thought about it more, there could be a problem with my original approach. IF someone typed $ export MAKE=/my/favorite/make -j 200 $ make then my approach, and your suggestion for sage-env would work. You've

[sage-devel] Re: Notebook not working properly on Solaris 10.

2009-11-07 Thread Willem Jan Palenstijn
On Sat, Nov 07, 2009 at 11:02:07AM +, Dr. David Kirkby wrote: I built Sage 4.2 on Solaris 10 on a Sun Netra T1 running the first release of Solaris 10. Whilst computing things like 1+1 work fine in command line mode, they do not work in the notebook. The input is accepted in the

[sage-devel] constructing a scheme morphism to an affine curve

2009-11-04 Thread Willem Jan Palenstijn
Hi all, Ronald van Luijk encountered the following problem: sage: S.p,q = QQ[] sage: A1.r = AffineSpace(QQ,1) sage: A1_emb = Curve(p-2) sage: type(A1_emb) class 'sage.schemes.plane_curves.affine_curve.AffineCurve_generic' sage: g = A1.hom([2,r],A1_emb) TypeError: _point_morphism_class() takes

[sage-devel] notebook account management

2009-09-04 Thread Willem Jan Palenstijn
Hi, Following the recent threads on notebook features, some thoughts on notebook account management: * In Leiden we're setting up a notebook for use by students, and thought it would be useful to hand out pre-generated accounts while still allowing students to choose their own account names.

[sage-devel] Re: permission problem when uploading worksheet

2009-08-31 Thread Willem Jan Palenstijn
On Sat, Aug 29, 2009 at 05:37:20PM +, Willem Jan Palenstijn wrote: On Sat, Aug 29, 2009 at 10:25:54AM -0700, William Stein wrote: On Sat, Aug 29, 2009 at 10:20 AM, Willem Jan Palenstijn w...@usecode.orgwrote: Ok, done. This is now http://trac.sagemath.org/sage_trac/ticket/6843

[sage-devel] Re: permission problem when uploading worksheet

2009-08-29 Thread Willem Jan Palenstijn
On Sat, Aug 29, 2009 at 10:15:46AM -0700, William Stein wrote: On Fri, Aug 28, 2009 at 6:04 AM, Willem Jan Palenstijn w...@usecode.orgwrote: Hi, We're in the process of setting up a notebook server for use by our students, and ran into a (minor) issue. We are uploading an old sage

[sage-devel] Re: permission problem when uploading worksheet

2009-08-29 Thread Willem Jan Palenstijn
On Sat, Aug 29, 2009 at 10:25:54AM -0700, William Stein wrote: On Sat, Aug 29, 2009 at 10:20 AM, Willem Jan Palenstijn w...@usecode.orgwrote: Ok, done. This is now http://trac.sagemath.org/sage_trac/ticket/6843 . Awesome. Could you post an example broken worksheet to the ticket (or link

[sage-devel] permission problem when uploading worksheet

2009-08-28 Thread Willem Jan Palenstijn
Hi, We're in the process of setting up a notebook server for use by our students, and ran into a (minor) issue. We are uploading an old sage worksheet .sws file that someone prepared some time ago to the notebook. When looking inside the .sws manually with tar, it contains directories with

[sage-devel] Re: Sage sandpiles package, 4ti2, glpk packages

2009-07-31 Thread Willem Jan Palenstijn
On Fri, Jul 31, 2009 at 01:18:58PM -0700, Marshall Hampton wrote: I agree, that doesn't sound good. At the moment, I just want to check out the sandpile functionality, so I don't think I will wade in and try to improve glpk, or bug the author to do so. On the positive side, I think I now

[sage-devel] Re: Singular and Sage

2009-07-23 Thread Willem Jan Palenstijn
On Thu, Jul 23, 2009 at 09:28:12PM +0100, Dr. David Kirkby wrote: Martin Albrecht wrote: Hi there, as mentioned earlier I am visiting the Singular team this week in Kaiserslautern. On the technical side we worked on - updating to Singular 3-1-04 where it was very valuable to

[sage-devel] Re: Singular looks in the wrong directory for install-sh

2009-07-19 Thread Willem Jan Palenstijn
On Sun, Jul 19, 2009 at 10:44:21PM +0100, Dr. David Kirkby wrote: On closer inspection, I see this error: make[1]: Entering directory `/export/home/drkirkby/sage/sage-4.1/spkg/build/singular-3-1-0-2-20090620/src/kernel' ./mkinstalldirs

[sage-devel] Re: Singular looks in the wrong directory for install-sh

2009-07-19 Thread Willem Jan Palenstijn
On Sun, Jul 19, 2009 at 11:34:26PM +0100, Dr. David Kirkby wrote: Willem Jan Palenstijn wrote: On Sun, Jul 19, 2009 at 10:44:21PM +0100, Dr. David Kirkby wrote: On closer inspection, I see this error: make[1]: Entering directory `/export/home/drkirkby/sage/sage-4.1/spkg/build

[sage-devel] Re: Review request (issue with MPN_ZERO on t2)

2009-07-17 Thread Willem Jan Palenstijn
On Fri, Jul 17, 2009 at 06:46:31PM +0100, Dr. David Kirkby wrote: That could be reduced dramatically if we could save the temporary files it builds, produce a set of tuning values for the sun4v architecture, then ATLAS would not need to be tuned every time. But despite trying, and asking

[sage-devel] Re: sources

2009-07-09 Thread Willem Jan Palenstijn
On Thu, Jul 09, 2009 at 03:12:27PM +0200, Ralf Hemmecke wrote: H... looking at ftp://ftp.fu-berlin.de/unix/misc/sage/src/index.html I wonder why these files are not zipped. Shouldn't gzip, bzip2, 7zip be just fine? What is the rationale behind distributing unzipped tar files? The

[sage-devel] Factorizations

2009-02-05 Thread Willem Jan Palenstijn
Hi all, We recently ran into two cases of confusing behaviour of Factorization objects. The first: sage: f = factor(-1); f -1 sage: f^2 -1 I traced this to a special case in the powering code for taking powers of zero, which f is treated as: sage: bool(f) False This is because f.__len__()

[sage-devel] Re: spkg vote: SageTeX

2008-12-18 Thread Willem Jan Palenstijn
On Thu, Dec 18, 2008 at 08:52:12PM +0900, Dan Drake wrote: Hello all, The SageTeX package needs two basic pieces to work: a pure Python module, and a pure LaTeX style file. Since a Sage installation is necessary for either of those pieces to be useful, it seems like it would be wise to

[sage-devel] Re: insane system call activity.

2008-10-23 Thread Willem Jan Palenstijn
On Thu, Oct 23, 2008 at 02:20:42PM -0700, Georg S. Weber wrote: 3. Even the innocent line sage: time for i in range(10): float(1)/2 This seems to be caused by the _record_exception() function in the coercion model. Specifically, the function canonical_coercion() in coerce.pyx calls this

[sage-devel] Re: Sage 3.2.alpha0 released

2008-10-21 Thread Willem Jan Palenstijn
On Mon, Oct 20, 2008 at 09:24:08AM -0700, mabshoff wrote: Hello folks, here goes Sage 3.2.alpha0. The big new thing is the pynac interface. Other than that various fixes, features and doctests. Please give it a try and give feedback. Builds and tests ok here on an amd64 gentoo machine.

[sage-devel] Re: Fwd: [Sage] #4249: [with patch] Inconsistency in number field integral bases

2008-10-20 Thread Willem Jan Palenstijn
On Mon, Oct 20, 2008 at 12:38:56PM +0100, John Cremona wrote: John Voight and I are having trouble with the patch I attached to #4249 (see below). On my machines I get a doctest failure, while on his he does not. Please could someone else try? the patch should apply equally to 3.1.3 or

[sage-devel] Re: Fwd: [Sage] #4249: [with patch] Inconsistency in number field integral bases

2008-10-20 Thread Willem Jan Palenstijn
Hi, I traced this down to integral_elements_with_trace not handling the signs in pari's output of qfminim properly. It will only return a single element from each pair of conjugates, and depending on F.reduced_basis(), it might miss elements in ZZ with the required trace entirely. sage: F.t =

[sage-devel] Re: Problem about vectors in cython

2008-09-08 Thread Willem Jan Palenstijn
On Sun, Sep 07, 2008 at 10:47:59PM -0700, cesarnda wrote: I do the following in cython: for index1 from 0 = index1 size: vectorGen[index1] = 0 vectorGen[0] = -1 #main for for obtaining the whole set for index from 0 = index limit:#for1

[sage-devel] Re: Sage 3.0.1.rc0 released!

2008-05-03 Thread Willem Jan Palenstijn
On Sat, May 03, 2008 at 11:57:00AM -0700, mabshoff wrote: On May 3, 8:44?pm, William Stein [EMAIL PROTECTED] wrote: ? ? ? ? sage -t ?devel/sage/sage/rings/ring.pyx know issue. Track ticket should be up shortly. Singular related. This is now #3098. It is caused by a rather subtle problem: An

[sage-devel] Re: Sage 3.0.1-alpha1 released!

2008-05-01 Thread Willem Jan Palenstijn
On Thu, May 01, 2008 at 04:12:36AM -0600, Gary Furnish wrote: If you export SAGE_PBUILD=yes before you run make (so that it uses pbuild from the beginning) it is necessary to link site-packages yourself with the following command from $SAGE_ROOT: ln -s devel/sage/build/sage/

[sage-devel] Re: Noncanonical coercion (finite fields)

2008-04-14 Thread Willem Jan Palenstijn
On Sun, Apr 13, 2008 at 09:50:44AM -0700, Kiran Kedlaya wrote: Any opinions about what sage: F9.a = GF(9); F81.b = GF(81); F81(a) should return? There is no canonical answer, so it may be better to throw an exception rather than pick one of the two correct answers. But any of these

[sage-devel] Re: Noncanonical coercion (finite fields)

2008-04-14 Thread Willem Jan Palenstijn
On Mon, Apr 14, 2008 at 02:40:14PM +0100, John Cremona wrote: Does anyone know how Magma handles this? From what I can tell, magma seems to choose 'default' finite fields of a given size at run-time, and presumably also injections between them. Which fields become default can depend on the

  1   2   >