← Back to team overview

dolfin team mailing list archive

Unknown finite element & API mismatch

 

Hi,

just thought I got this thing working.

The little poisson demo on the homepage seem to be working fine except this little error message. Do I need to worry about it?

--------------------------------------------------
RuntimeWarning: Python C API version mismatch for module _dolfin_compile_function_c2c6ca28e8e29b2498da8bbcedb6ff5e: This Python has API version 1013, module _dolfin_compile_function_c2c6ca28e8e29b2498da8bbcedb6ff5e has version 1012.
--------------------------------------------------

I have also tried with the demo about the velocity field around a dolfin, but something is still wrong. Can it be related to the previous? Have something went wrong in the installation? It seemed to be fine...
(I did add "from dolfin import *" to the delfin.py-file)

--------------------------------------------------
bash-3.2$ python delfin.py
Traceback (most recent call last):
  File "delfin.py", line 4, in <module>
    P2 = FiniteElement("Vector Lagrange", "triangle", 2)
File "/Users/aronwahlberg/Work/FEniCS/build/lib/python2.5/site- packages/ffc/fem/finiteelement.py", line 66, in __init__ (self.__fiat_element, self.__mapping) = self.__choose_element (family, shape, degree) File "/Users/aronwahlberg/Work/FEniCS/build/lib/python2.5/site- packages/ffc/fem/finiteelement.py", line 230, in __choose_element
    raise RuntimeError, "Unknown finite element: " + str(family)
RuntimeError: Unknown finite element: Vector Lagrange
---------------------------------------------------

Aron