Re: [sage-support] Number of CPUs?

2010-09-03 Thread didier deshommes
On Fri, Sep 3, 2010 at 12:47 PM, Simon King simon.k...@nuigalway.ie wrote: Hi! I have a list of computations (in fact, a test suite), and I'd like to do them in parallel. Of course, I could use @parallel, but:  1) each computation uses 3 processes (Sage, GAP, Singular)  2) it is probably not

Re: [sage-support] Number of CPUs?

2010-09-03 Thread didier deshommes
On Fri, Sep 3, 2010 at 12:47 PM, Simon King simon.k...@nuigalway.ie wrote: Hi! I have a list of computations (in fact, a test suite), and I'd like to do them in parallel. Of course, I could use @parallel, but:  1) each computation uses 3 processes (Sage, GAP, Singular)  2) it is probably not

Re: [sage-support] Re: Number of CPUs?

2010-09-03 Thread didier deshommes
On Fri, Sep 3, 2010 at 8:01 PM, Simon King simon.k...@nuigalway.ie wrote: Hi David, On 4 Sep., 01:53, Dr. David Kirkby david.kir...@onetel.net wrote: Is SAGE_NCPUS used anywhere? Well, I was not suggesting to introduce an environment variable that is used anywhere in Sage except to tame my

Re: [sage-support] Bad Request Maximum length of 102400 bytes exceeded.

2010-08-27 Thread didier deshommes
My guess is that the web server has a limit on the size of a POST request and that you have reached it. Typically this is 1024kb. The solution is to increase this limit. I'm not sure how to do that for a wsgi application (which I assume sage is). didier On Fri, Aug 27, 2010 at 8:09 AM, Stan

[sage-support] Re: Counting complex number in a Tuples

2008-05-09 Thread didier deshommes
On Fri, May 9, 2008 at 1:59 PM, Rose [EMAIL PROTECTED] wrote: Hi Rose, Second, it becomes pretty long went there are complex numbers in my Tuples (more than 30 secondes for 7 elements). This does take time, interestingly when the numbers are symbolic: {{{ sage: f=range(6) sage: %time

[sage-support] Re: Counting complex number in a Tuples

2008-05-09 Thread didier deshommes
function. You're right, John. I guess I was being a little selfish: sometimes I mix up symbolic and complex numbers and it usually catches up to me several lines down a computation (or gets really slow). didier John 2008/5/9 didier deshommes [EMAIL PROTECTED]: On Fri, May 9, 2008 at 1:59 PM

[sage-support] Re: how to recompile sage pyx when using the binary

2008-04-15 Thread didier deshommes
On Tue, Apr 15, 2008 at 9:33 AM, Ondrej Certik [EMAIL PROTECTED] wrote: Hi, a very beginner question, if I change some .pyx files and want them to be recompiled, I thought I need to do sage -b, like this: $ ./sage -b -- sage:

[sage-support] Re: Bug converting real numbers to integers?

2008-03-09 Thread didier deshommes
On Fri, Mar 7, 2008 at 10:26 AM, Carl Witty [EMAIL PROTECTED] wrote: On Mar 7, 12:42 am, Nikos Apostolakis [EMAIL PROTECTED] wrote: Carl Witty [EMAIL PROTECTED] writes: Didier mentioned floor(); if you actually want to round, instead of taking the floor, then this works (even though

[sage-support] Re: Bug converting real numbers to integers?

2008-03-06 Thread didier deshommes
On Thu, Mar 6, 2008 at 4:22 PM, Nikos Apostolakis [EMAIL PROTECTED] wrote: Hello group, Is the following behavior a bug, or am I missing some fundamental understanding about how Integer works? , | sage: num = RealField(12).random_element(1,9.99) | sage: num | 3.18 | sage:

[sage-support] Re: submatrix notation and method

2008-03-05 Thread didier deshommes
On Wed, Mar 5, 2008 at 10:21 AM, Dan Christensen [EMAIL PROTECTED] wrote: didier deshommes [EMAIL PROTECTED] writes: SAGE now tries to support numpy (and matlab)-style indexing, by poking at its underlying __getitem__ and __getslice__ (thanks to a suggestion by William): Great

[sage-support] Re: SAGE chokes on French character

2008-03-05 Thread didier deshommes
On Wed, Mar 5, 2008 at 5:24 PM, Jason Grout [EMAIL PROTECTED] wrote: dean moore wrote: When I was writing some other code this came out; finally decided to report it. Do the following in an online SAGE notebook: /1+1/ We get two. Now run the following: /# Limaçon

[sage-support] Re: SAGE chokes on French character

2008-03-05 Thread didier deshommes
On Wed, Mar 5, 2008 at 5:37 PM, Jason Grout [EMAIL PROTECTED] wrote: didier deshommes wrote: On Wed, Mar 5, 2008 at 5:24 PM, Jason Grout [EMAIL PROTECTED] wrote: dean moore wrote: When I was writing some other code this came out; finally decided to report it. Do

[sage-support] Re: submatrix notation and method

2008-03-02 Thread didier deshommes
On Fri, Feb 29, 2008 at 12:24 PM, Dan Christensen [EMAIL PROTECTED] wrote: In numpy: In [11]: A[2:4] Out[11]: array([[ 1, 1, 2, -1], [ 2, -1, 1, -1]]) (Or A[2:4,0:4].) # a column sage: A.matrix_from_rows_and_columns([1..2],[0..0]) [14] [ 1] In numpy

[sage-support] Re: problem installing SAGE 2.8.10

2007-11-02 Thread didier deshommes
On 11/2/07, Paul Zimmermann [EMAIL PROTECTED] wrote: I take the opportunity to ask why the unknown 'x' is special in Sage: Mostly convenience since most people use x for a polynomial or the name of a variable. In earlier versions x was defined to be the polynomial x, now it's a symbolic

[sage-support] Re: preserving source on install

2007-07-12 Thread didier deshommes
2007/7/12, Marshall Hampton [EMAIL PROTECTED]: Is there a way to install sage so that no source files are deleted? I am interested in hacking the cddlib source that is used in polymake, but it looks like it gets deleted after compilation. Is there an Every .spkg file is bascially a tar

[sage-support] Re: Random sparse matrices over finite fields

2007-02-21 Thread didier deshommes
On 2/21/07, Iftikhar Burhanuddin [EMAIL PROTECTED] wrote: Hi folks, Random sparse matrices over finite fields generated by SAGE do not look sparse to me. Bug? sage: Mat(GF(17), 10, sparse=True).random_element() Ifti, looking at the docs for random_element(), it looks like you need to

[sage-support] Re: fortran error on fedora

2007-02-10 Thread didier deshommes
On 2/9/07, carlM [EMAIL PROTECTED] wrote: Latest update fails to build on fedora6, fortran compiler internal error. tail of make output: Making install in fortran make[2]: Entering directory `/mnt/extra/hcmeyer/sage/sage-1.5/spkg/ build/quaddouble-2.2/src/fortran' f95 -O2 -ffree-form -c

[sage-support] Re: Search and info include non-SAGE functions

2007-02-09 Thread didier deshommes
On 2/9/07, Timothy Clemans [EMAIL PROTECTED] wrote: I had a question about nth roots. I did not know about nth_root. I tried searching for root, nth, and n using tab but did not find nth_root. Also nth_root? gives me nothing. It is kind of confusing for me. It's a function of associated

[sage-support] Re: bug in eigenspaces?

2007-01-30 Thread didier deshommes
On 1/30/07, David Joyner [EMAIL PROTECTED] wrote: Hello all: In trying to compute the eigenvalues and eigenvectors of the discrete Fourier transformation for Z/5Z for a class I'm teaching, I came across the following: sage: MS = MatrixSpace(CyclotomicField(5),5,5) sage: z =