Errors when running FEniCs

when I try to run a FEniCs test in preCICE tuto I have the following errors:

Traceback (most recent call last):
  File "", line 2, in <module>
    from fenics import Constant, Function, AutoSubDomain, VectorFunctionSpace, interpolate, \
  File "/usr/lib/python3/dist-packages/fenics/", line 7, in <module>
    from dolfin import *
  File "/usr/lib/petsc/lib/python3/dist-packages/dolfin/", line 34, in <module>
    from .cpp import __version__
ImportError: /lib/x86_64-linux-gnu/ undefined symbol: fftw_taint

Can you help me to solve it please??

This seems to be very similar (if not identical) to the previous problem you had with when running OpenFOAM: Building OpenFOAM adapter results (undefined symbols of dependencies) - #2 by Makis

I assume that you previously changed something regarding this library. What if you now reinstall FEniCS?

Yes I recently reinstall FEniCs

Hi @fatiha

What Makis meant to suggest was that you try to reinstall FEniCS and then try the case again. Did you already try this? Does it still produce the same error?