dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #17493
Import error
Newly updated dolfin gives me this error:
meg@localhost ~/local/src/fenics/adaptivity/demo $ python
Python 2.6.4 (r264:75706, Dec 7 2009, 23:01:27)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dolfin
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/home/meg/local/lib64/python2.6/site-packages/dolfin/__init__.py",
line 13, in <module>
import dolfin.cpp as cpp
File
"/home/meg/local/lib64/python2.6/site-packages/dolfin/cpp.py", line
6, in <module>
import _cpp
ImportError: /home/meg/local/lib/libdolfin.so.0: undefined symbol:
_ZN6dolfin6SCOTCH17compute_partitionERSt6vectorIjSaIjEERKNS_13LocalMeshDataE
scons configure attached. Help?
--
Marie
scons: Reading SConscript files ...
/home/meg/local/src/fenics/dolfin/scons/simula-scons
Using options from /home/meg/local/src/fenics/dolfin/scons/options.cache
MPI not found (might not work if PETSc uses MPI).
Checking for pkg-config... yes
Checking for boost... yes
Checking for boost_filesystem... yes
Checking for boost_program_options... yes
Checking for cgal... yes
Checking for cholmod... no (pkg-config file not found)
Trying to generate pkg-config file for cholmod... failed
Checking for lapack... yes
Checking for libxml-2.0... yes
Checking for mtl4... no (pkg-config file not found)
Trying to generate pkg-config file for mtl4... failed
Checking for numpy-1... yes
Checking for parmetis... no (pkg-config file not found)
Trying to generate pkg-config file for parmetis... failed
Checking for petsc... yes
Checking for python-2... yes
Checking for scotch... no (pkg-config file not found)
Trying to generate pkg-config file for scotch... failed
Checking for slepc... yes
Checking for trilinos... no (pkg-config file not found)
Trying to generate pkg-config file for trilinos... failed
Checking for ufc-1... yes
Checking for umfpack... yes
Checking for zlib... yes
Resolving compiler... done
Found optional package: cgal (version >= 3.5)
Found optional package: umfpack (version >= 5.2.0)
Found optional package: lapack (version >= 3.0)
Found optional package: slepc (version >= 3.0.0)
Found optional package: zlib (version >= 1.2.3)
Found optional package: petsc (version >= 3.0.0)
Unable to find optional package: trilinos (version >= 7.0.0)
Unable to find optional package: cholmod (version >= 1.6.0)
Unable to find optional package: parmetis (version >= 3.1)
Unable to find optional package: mtl4 (version >= 4)
Unable to find optional package: scotch (version >= 5.0)
Enabling compilation of Python wrappers
---------------------------------------------------------
Configuration of DOLFIN finished. Now run
scons
to build DOLFIN. To see available configure options, run
scons configure --help or -h
For a list of general SCons options, run
scons --help-options or -H
---------------------------------------------------------
Follow ups