Installation problem for ngs-xfem

Hello,

I’m trying to install ngsxfem.
I already have ngsolve installed and working, specifically version 6.2.2402-0~ubuntu22.04.1, which is the one indicated in python/ngs_check.py.
For the installation of xfem I used the command “pip3 install xfem” but when I try to run one of the Demonstration files I get the following error:

Traceback (most recent call last):
File “/home/angela/Thesis/XFEM/lsetgeoms.py”, line 17, in
from xfem import *
File “/home/angela/.local/lib/python3.10/site-packages/xfem/init.py”, line 23, in
from xfem.ngsxfem_py import *
ImportError: libsolve.so: cannot open shared object file: No such file or directory

Does anyone know how to solve this?

Bests and thank you in advance,
Angela

Dear Angela,

Please use the pre-release version for the moment, i.e. pip3 install xfem --pre.

We are about to release a new release version that also works with a more recent ngsolve (which was not the case for your installation).

Best,
Christoph

Thank you Christoph! It works fine now