I’m trying to build dolfinx on an HPE Cray EX system. I’ve built most of the dependencies from source, and most things seem to compile and install without issue. The dolfinx cpp core compiles and links successfully and pip install --user .
of dolfinx also reports success. However in python, import dolfinx
fails, and then python itself seg faults on exit. See below for error and some versions of things. Can you advise how to proceed?
Thanks!
$ python3
Python 3.8.5 (default, Apr 21 2021, 17:53:01)
[GCC 9.3.0 20200312 (Cray Inc.)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dolfinx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/p/home/username/.local/lib/python3.8/site-packages/dolfinx/__init__.py", line 45, in <module>
from .fem.form import Form
File "/p/home/username/.local/lib/python3.8/site-packages/dolfinx/fem/__init__.py", line 10, in <module>
from dolfinx.fem.assemble import (apply_lifting, apply_lifting_nest,
File "/p/home/username/.local/lib/python3.8/site-packages/dolfinx/fem/assemble.py", line 36, in <module>
collections.abc.Sequence[Form],
TypeError: 'ABCMeta' object is not subscriptable
>>> exit()
Segmentation fault (core dumped)
$ cc --version
gcc (GCC) 10.3.0 20210408 (Cray Inc.)
$ CC --version
g++ (GCC) 10.3.0 20210408 (Cray Inc.)
$ ldd --version
ldd (GNU libc) 2.26
$ ld --version
GNU ld (GNU Binutils; SUSE Linux Enterprise 15) 2.35.1.20201123-7.18
$ hostnamectl
Operating System: SUSE Linux Enterprise Server 15 SP2
CPE OS Name: cpe:/o:suse:sles:15:sp2
Kernel: Linux 5.3.18-24.75-default
Architecture: x86-64