I managed to narrow this down to a simple import and exit.
On Ubuntu 21.10 (error at the end):
~$ python3
Python 3.9.7 (default, Sep 10 2021, 14:59:43)
[GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import fenicsprecice
>>> fenicsprecice.__version__
'v1.2.0'
>>> exit()
Illegal instruction (core dumped)
On Ubuntu 20.04 (fine):
~$ python3
Python 3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import fenicsprecice
>>> fenicsprecice.__version__
'v1.2.0'
>>> exit()
Doing the same for FEniCS (import fenics and then exit()) seems to be ok. I have not tried to run any stand-alone FEniCS program.
When trying to run any FEniCS-preCICE tutorial, I immediately get a segmentation fault (no other output):
I managed to narrow this down to a simple import and exit.
On Ubuntu 21.10 (error at the end):
On Ubuntu 20.04 (fine):
Doing the same for FEniCS (
import fenics
and thenexit()
) seems to be ok. I have not tried to run any stand-alone FEniCS program.I installed FEniCS and the FEniCS adapter, following the installation instructions on our website.
I don't know if this is related to the Ubuntu version, the Python version, or just my system. But it woud be good if anyone could reproduce it.