Low Dimensional Topology

August 1, 2012

SnapPy 1.6: Now with more links and precision!

Filed under: 3-manifolds,Computation and experiment,Hyperbolic geometry,Knot theory — Nathan Dunfield @ 8:37 am

Marc Culler and I have released version 1.6 of SnapPy.  There are two sets of new features:

  1. Creating links formulaically, e.g. via combining tangles algebraically.  See our page of examples.
  2. Arbitrary precision calculation of certain things (e.g. tetrahedra shapes) and finding associated number fields, a la Snap.   Very basic at this point compared to what Snap can to, but here are examples of what we have so far.  To use this, you need to install SnapPy in Sage, which should be easy.
About these ads

1 Comment »

  1. I have tried to upgrade SnapPy from 1.5.2 to 1.6.0 as I have done with previous versions with no prblems, but this time I get an error message at the last stage:

    paulo@insys:~$ python -m snappy.app
    /usr/bin/python: /lib/libc.so.6: version `GLIBC_2.14′ not found (required by /usr/local/lib/python2.6/dist-packages/cypari-1.0-py2.6-linux-x86_64.egg/cypari/gen.so)

    and the program doesn’t run when invoked, returning the same error message:

    paulo@insys:~$ SnapPy
    Traceback (most recent call last):
    File “/usr/local/bin/SnapPy”, line 9, in
    load_entry_point(‘snappy==1.6.0′, ‘console_scripts’, ‘SnapPy’)()
    File “/usr/lib/python2.6/dist-packages/pkg_resources.py”, line 305, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
    File “/usr/lib/python2.6/dist-packages/pkg_resources.py”, line 2244, in load_entry_point
    return ep.load()
    File “/usr/lib/python2.6/dist-packages/pkg_resources.py”, line 1954, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
    File “/usr/local/lib/python2.6/dist-packages/snappy-1.6.0-py2.6-linux-x86_64.egg/snappy/__init__.py”, line 4, in
    from .SnapPy import Triangulation, Manifold, AbelianGroup, FundamentalGroup, HolonomyGroup, DirichletDomain, CuspNeighborhood, SymmetryGroup, AlternatingKnotExteriors, NonalternatingKnotExteriors, SnapPeaFatalError, MorwenLinks, pari
    File “SnapPy.pyx”, line 95, in init snappy.SnapPy (SnapPy.c:71936)
    File “/usr/local/lib/python2.6/dist-packages/cypari-1.0-py2.6-linux-x86_64.egg/cypari/__init__.py”, line 1, in
    from . import all
    File “/usr/local/lib/python2.6/dist-packages/cypari-1.0-py2.6-linux-x86_64.egg/cypari/all.py”, line 1, in
    from . import gen as _gen
    ImportError: /lib/libc.so.6: version `GLIBC_2.14′ not found (required by /usr/local/lib/python2.6/dist-packages/cypari-1.0-py2.6-linux-x86_64.egg/cypari/gen.so)

    I’m running Debian GNU/Linux 6 (Squeeze) where glibc is at version 2.11. Even in Unstable (Sid) it is still at 2.13, so upgrading to the upcoming release of Debian (Wheezy) wouldn’t solve the problem. I could possibly try to compile glibc from source, but first I’d like to know if there’s another solution or a workaround.

    Comment by Paulo Gomes — August 13, 2012 @ 4:04 pm | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Rubric Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 222 other followers

%d bloggers like this: