ImportError from ngsxfem docker image

I used the docker images to install ngsxfem. After installation, I tried to run tracefem.py in demos folder. It reported the following error message:
Traceback (most recent call last):
File “/home/jovyan/ngsxfem/demos/tracefem.py”, line 33, in
from xfem import *
File “/home/jovyan/.local/lib/python3.10/site-packages/xfem/init.py”, line 23, in
from xfem.ngsxfem_py import *
ImportError: /home/jovyan/.local/lib/python3.10/site-packages/xfem/ngsxfem_py.so: undefined symbol: _ZNK5ngfem20DifferentialOperator10CalcMatrixERKNS_13FiniteElementERKNS_30SIMD_BaseMappedIntegrationRuleEN5ngbla10MatrixViewIN6ngcore4SIMDISt7complexIdELi2EEELNS7_8ORDERINGE1ENS7_14undefined_sizeESF_mEE

Hey,

by using schruste/ngsolve:latest and pip-installing xfem i was able to reproduce your problem.
The (in my opinion) easiest fix: use ngsxfem/ngsolve:v6.2.2303 and install ngsxfem (at v2.1.2303) from source.

Best,
Max

Hi jyang,

We (@MZi mainly) are currently working on the ngsxfem builds and the docker images. Give us a few more days and we will have simpler (and hopefully working) docker solution.

Best,
Christoph

Hi Christoph,

Thanks for the fast response and work. Just take your time!

Best,
Jiaqi