Hi Hal,

On 2019-07-11, Hal Snyder <drxy...@gmail.com> wrote:
> sage: a = var('a')
> ....: matrix(GF(25, a), [[1,0], [0, 1]])
> ....: 
> p025.zzz: No such file or directory
> ---------------------------------------------------------------------------
> RuntimeError                              Traceback (most recent call last)
><ipython-input-1-337d96d24b11> in <module>()
>       1 a = var('a')
> ----> 2 matrix(GF(Integer(25), a), [[Integer(1),Integer(0)], [Integer(0), 
> Integer(1)]])
>
> /ext/sage/sage-8.8_1804/local/lib/python2.7/site-packages/sage/matrix/constructor.pyx
>  
> in sage.matrix.constructor.matrix 
> (build/cythonized/sage/matrix/constructor.c:2417)()
>     623       :class:`MatrixArgs`, see :trac:`24742`
>     624     """
> --> 625     return MatrixArgs(*args, **kwds).matrix()
>     626 
>     627 
>
> /ext/sage/sage-8.8_1804/local/lib/python2.7/site-packages/sage/matrix/args.pyx
>  
> in sage.matrix.args.MatrixArgs.matrix 
> (build/cythonized/sage/matrix/args.c:7765)()
>     656                     break
>     657         else:
> --> 658             M = self.space(self, coerce=convert)
>     659 
>     660         # Also store the matrix to support multiple calls of 
> matrix()
>
> /ext/sage/sage-8.8_1804/local/lib/python2.7/site-packages/sage/matrix/matrix_space.pyc
>  
> in __call__(self, entries, coerce, copy)
>     815             [t]
>     816         """
> --> 817         return self.element_class(self, entries, copy, coerce)
>     818 
>     819     def change_ring(self, R):
>
> /ext/sage/sage-8.8_1804/local/lib/python2.7/site-packages/sage/matrix/matrix_gfpn_dense.pyx
>  
> in sage.matrix.matrix_gfpn_dense.Matrix_gfpn_dense.__init__ 
> (build/cythonized/sage/matrix/matrix_gfpn_dense.c:5245)()
>     427         cdef long nc = ma.ncols
>     428 
> --> 429         self.Data = MatAlloc(fl, nr, nc)
>     430         self._converter = FieldConverter(ma.base)
>     431 
>
> RuntimeError: Cannot select field GF(25) in file matcore.c (line 130)
>
> This is on Ubuntu 18.04, on CoCalc.

Apparently this Sage installation uses MeatAxe as a backend for matrices
over finite non-prime fields. The file p025.zzz is supposed to be
automatically written to $DOT_SAGE/meataxe

So, I wonder: What is DOT_SAGE in your Sage environment? Is there
trouble with writing permissions? Or perhaps blank-space in the path
name?

For comparison (the value of DOT_SAGE can be obtained inside a Sage
shell or alternatively in a usual Sage session):

sage: DOT_SAGE
'/home/king/.sage/'
sage: !ls /home/king/.sage/meataxe
p002.zzz  p005.zzz  p013.zzz  p025.zzz  p064.zzz  p125.zzz  p243.zzz
p003.zzz  p007.zzz  p017.zzz  p027.zzz  p081.zzz  p127.zzz
p004.zzz  p009.zzz  p019.zzz  p049.zzz  p121.zzz  p169.zzz

Best regards,
Simon


-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/qg9l1e%241n6b%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to