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 "solid.py", line 2, in <module>
    from fenics import Constant, Function, AutoSubDomain, VectorFunctionSpace, interpolate, \
  File "/usr/lib/python3/dist-packages/fenics/__init__.py", line 7, in <module>
    from dolfin import *
  File "/usr/lib/petsc/lib/python3/dist-packages/dolfin/__init__.py", line 34, in <module>
    from .cpp import __version__
ImportError: /lib/x86_64-linux-gnu/libfftw3_mpi.so.3: 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 libfftw3_mpi.so 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?