sagemanifolds error

91 views
Skip to first unread message

aishen

unread,
May 21, 2016, 10:30:14 AM5/21/16
to sage-devel
Hi,
I am on ubuntu 16.10 (16.04 +1), and I can't compile sage 7.2 (flint error)
Si I install ppa version 7.1 and

sudo bash sm-install.sh everythink went well. Typing this in a console or in sage -n=jupyter get the following ?
Any help
Thanks
Henri

M
= Manifold(4, 'M')
print M
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
<ipython-input-2-56e8ab17fefa> in <module>()
----> 1 M = Manifold(Integer(4), 'M')
      2 print M

/usr/lib/sagemath/src/sage/misc/lazy_import.pyx in sage.misc.lazy_import.LazyImport.__call__ (/usr/lib/sagemath//src/build/cythonized/sage/misc/lazy_import.c:3560)()
    384             True
    385         """
--> 386         return self._get_object()(*args, **kwds)
    387 
    388     def __repr__(self):

/usr/lib/sagemath/local/lib/python2.7/site-packages/sage/manifolds/manifold.py in Manifold(dim, name, latex_name, field, structure, start_index, **extra_kwds)
   1653     else:
   1654         raise NotImplementedError("manifolds of type {} are not ".format(structure) +
-> 1655                                   "implemented")
   1656     return TopologicalManifold(dim, name, field, structure,
   1657                                latex_name=latex_name, start_index=start_index,

NotImplementedError: manifolds of type smooth are not implemented

Eric Gourgoulhon

unread,
May 21, 2016, 12:54:37 PM5/21/16
to sage-devel
Hi,


Le samedi 21 mai 2016 16:30:14 UTC+2, aishen a écrit :
Hi,
I am on ubuntu 16.10 (16.04 +1), and I can't compile sage 7.2 (flint error)
Si I install ppa version 7.1 and

sudo bash sm-install.sh everythink went well. Typing this in a console or in sage -n=jupyter get the following ?
Any help
Thanks
Henri

M
= Manifold(4, 'M')
print M
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
NotImplementedError: manifolds of type smooth are not implemented

It seems you are running only the version of SageManifolds which is included in main Sage. For the time being, only topological manifold are implemented in this version, hence the error message. For instance, if you try
M = Manifold(4, 'M', structure='topological')
it should be OK.

Regarding the install of the full SageManifolds, are you sure you have run sm-install.sh from the Sage 7.2 root directory ?

Best wishes,

Eric.

aishen

unread,
May 21, 2016, 1:23:10 PM5/21/16
to sage-devel
It's getting worse... ppa sage is seg fault and I can't compile 7.2 because flint error, I wonder if I downgrade to 16.04 but I don't think that 's the problem.
At the moment I don't have sage any more. I purge all and I will try to restore that !
Thanks
Henri



Le samedi 21 mai 2016 16:30:14 UTC+2, aishen a écrit :

aishen

unread,
May 21, 2016, 3:56:07 PM5/21/16
to sage-devel

Solve

I took the linux binary 16.04 and in local I bash sm-install
Everything is working fine now.
thanks

Henri
Le samedi 21 mai 2016 16:30:14 UTC+2, aishen a écrit :
Reply all
Reply to author
Forward
0 new messages