Bug#675207: python-dolfin: Problem with SWIG

Torquil Macdonald Sørensen torquil at gmail.com
Wed May 30 14:26:21 UTC 2012


Package: python-dolfin
Version: 1.0.0-6
Severity: normal

Hi!

The example vcp2D.py from the tutorial:

http://fenicsproject.org/documentation/tutorial/

in the tarball:

http://fenicsproject.org/_static/tutorial/fenics_tutorial_examples.tar.gz

fails with:

Traceback (most recent call last):
  File "vcp2D.py", line 20, in <module>
    V = FunctionSpace(mesh, 'Lagrange', 1)
  File "/usr/lib/python2.7/dist-packages/dolfin/functions/functionspace.py", line 353, in __init__
    FunctionSpaceBase.__init__(self, mesh, element)
  File "/usr/lib/python2.7/dist-packages/dolfin/functions/functionspace.py", line 77, in __init__
    ufc_element, ufc_dofmap = jit(self._ufl_element)
  File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/jit.py", line 66, in mpi_jit
    return local_jit(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/jit.py", line 114, in jit
    """%cpp.__swigversion__
OSError: PyDOLFIN was not compiled with the present version of swig.
Install swig version 2.0.5 or recompiled PyDOLFIN with present swig

I have run it with and without the *.xml parameter file present. I think the swig version is
supposed to be autodetected when running without the *.xml file, but the error message above seems
to indicate an incompatibility between dolfin and swig, no? So perhaps some recompiled versions
are needed in Debian?

Best regards
Torquil Sørensen

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (500, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.3.7 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-dolfin depends on:
ii  libamd2.2.0                          1:3.4.0-2
ii  libarmadillo3                        1:3.2.0+dfsg-2
ii  libarpack2                           3.1.1-1
ii  libatlas3gf-base [liblapack.so.3gf]  3.8.4-3
ii  libblas3gf [libblas.so.3gf]          1.2.20110419-2
ii  libboost-filesystem1.49.0            1.49.0-3
ii  libboost-iostreams1.49.0             1.49.0-3
ii  libboost-math1.49.0                  1.49.0-3
ii  libboost-mpi1.49.0                   1.49.0-3
ii  libboost-program-options1.49.0       1.49.0-3
ii  libboost-serialization1.49.0         1.49.0-3
ii  libboost-system1.49.0                1.49.0-3
ii  libboost-thread1.49.0                1.49.0-3
ii  libc6                                2.13-32
ii  libcamd2.2.0                         1:3.4.0-2
ii  libccolamd2.7.1                      1:3.4.0-2
ii  libcgal9                             4.0-2
ii  libcholmod1.7.1                      1:3.4.0-2
ii  libcolamd2.7.1                       1:3.4.0-2
ii  libdolfin1.0                         1.0.0-6
ii  libdolfin1.0-dev                     1.0.0-6
ii  libgcc1                              1:4.7.0-10
ii  libgmp10                             2:5.0.5+dfsg-1.1
ii  libgmpxx4ldbl                        2:5.0.5+dfsg-1.1
ii  libgomp1                             4.7.0-10
ii  liblapack3gf [liblapack.so.3gf]      3.3.1-1
ii  libmpfr4                             3.1.0-5
ii  libopenmpi1.3                        1.4.5-1
ii  libparpack2                          3.1.1-1
ii  libpetsc3.2                          3.2.dfsg-5
ii  libptscotch-5.1                      5.1.12b.dfsg-1.1
ii  libpython2.6                         2.6.7-4
ii  libpython2.7                         2.7.3~rc2-2.1
ii  libslepc3.2                          3.2-p5-1
ii  libstdc++6                           4.7.0-10
ii  libumfpack5.4.0                      1:3.4.0-2
ii  libxml2                              2.8.0+dfsg1-1
ii  python                               2.7.2-10
ii  python-ffc                           1.0.0-1
ii  python-instant                       1.0.0-1
ii  python-numpy [python-numpy-abi9]     1:1.6.2~rc1-1
ii  python-ufc                           2.0.5-2
ii  python-ufl                           1.0.0-1
ii  python-viper                         1.0.0-1
ii  python2.6                            2.6.7-4
ii  python2.7                            2.7.3~rc2-2.1
ii  swig2.0                              2.0.7-1
ii  zlib1g                               1:1.2.7.dfsg-11

python-dolfin recommends no packages.

Versions of packages python-dolfin suggests:
ii  dolfin-doc  1.0.0-6

-- no debconf information





More information about the debian-science-maintainers mailing list