[sage-support] Re: Error with LinearCode()

2008-11-05 Thread William Stein

On Wed, Nov 5, 2008 at 1:40 PM, cesarnda <[EMAIL PROTECTED]> wrote:
>
> I do the following:
>
> sage: MS = MatrixSpace(GF(2), 4,7)
> sage: G = MS([[1,1,1,0,0,0,0], [1,0,0,1,1,0,0], [0,1,0,1,0,1,0],
> [1,1,0,1,0,0,1]])
> sage: C = LinearCode(G)
>
> and I get:
>
> /home/carlos/sage-3.0.2-ubuntu32-intel-i686-Linux/local/bin/sage-sage:
> line 348:  1703 Instrucción ilegal python "$@"
>
> and then it stops working.
>
> I have already upgraded to 3.1.4 and I didn't have that problem
> before :-s
>
> is there a way to solve this or do I have to upgrade again??

You are using a binary of Sage on a computer that doesn't support
the CPU instruction sets for that binary.  You will have to build
Sage from source or download a different binary. What is the
output of

   cat /proc/cpuinfo

on your computer?  What is your exact hardware?

William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Error with LinearCode()

2008-11-05 Thread mabshoff



On Nov 5, 1:40 pm, cesarnda <[EMAIL PROTECTED]> wrote:
> I do the following:
>
> sage: MS = MatrixSpace(GF(2), 4,7)
> sage: G = MS([[1,1,1,0,0,0,0], [1,0,0,1,1,0,0], [0,1,0,1,0,1,0],
> [1,1,0,1,0,0,1]])
> sage: C = LinearCode(G)
>
> and I get:
>
> /home/carlos/sage-3.0.2-ubuntu32-intel-i686-Linux/local/bin/sage-sage:
> line 348:  1703 Instrucción ilegal     python "$@"
>
> and then it stops working.
>
> I have already upgraded to 3.1.4 and I didn't have that problem
> before :-s
>
> is there a way to solve this or do I have to upgrade again??

Hi,

see http://wiki.sagemath.org/faq and search for "illegal instruction".
I would guess you are running a binary - or at least upgraded from
one.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Error with LinearCode()

2008-11-05 Thread cesarnda

I do the following:

sage: MS = MatrixSpace(GF(2), 4,7)
sage: G = MS([[1,1,1,0,0,0,0], [1,0,0,1,1,0,0], [0,1,0,1,0,1,0],
[1,1,0,1,0,0,1]])
sage: C = LinearCode(G)

and I get:

/home/carlos/sage-3.0.2-ubuntu32-intel-i686-Linux/local/bin/sage-sage:
line 348:  1703 Instrucción ilegal python "$@"

and then it stops working.

I have already upgraded to 3.1.4 and I didn't have that problem
before :-s

is there a way to solve this or do I have to upgrade again??


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] how to change variable in an integral

2008-11-05 Thread [EMAIL PROTECTED]

Hello, how can I change variable in an integral and get the new
integral without evaluating?

I tried
maxima.changevar('integrate(x*exp(x^2),x)','x^2=y', 'y','x')
but the result is just the integral of the function, not
integral(1/2*exp(t),t)

is it possible to get integral in new variable without evaluation this
integral?

thank you
Robert Marik
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---