[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] 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
-~--~~~~--~~--~--~---