Hi Christoph,
Using sudo it was possible to install
Code:
sudo make install
[100%] Built target ngsxfem_py
Install the project...
-- Install configuration: ""
-- Installing: /usr/bin/share/ngsxfem/cutint/area_of_a_circle_quads.py
-- Installing: /usr/bin/share/ngsxfem/cutint/integrate_one_big_quad2D.py
-- Installing: /usr/bin/share/ngsxfem/cutint/integrate_one_big_quad3D.py
-- Installing: /usr/bin/lib/python3/dist-packages/xfem/ngsxfem_py.so
-- Set runtime path of "/usr/bin/lib/python3/dist-packages/xfem/ngsxfem_py.so" to "$ORIGIN/../../../netgen"
-- Installing: /usr/bin/lib/python3/dist-packages/xfem/__init__.py
-- Installing: /usr/bin/lib/python3/dist-packages/xfem/cutmg.py
-- Installing: /usr/bin/include/netgen/p1interpol.hpp
-- Installing: /usr/bin/include/netgen/xprolongation.hpp
-- Installing: /usr/bin/include/netgen/restrictedblf.hpp
-- Installing: /usr/bin/include/netgen/ngsxstd.hpp
-- Installing: /usr/bin/include/netgen/bitarraycf.hpp
-- Installing: /usr/bin/include/netgen/cutinfo.hpp
-- Installing: /usr/bin/include/netgen/ghostpenalty.hpp
-- Installing: /usr/bin/include/netgen/xFESpace.hpp
-- Installing: /usr/bin/include/netgen/sFESpace.hpp
-- Installing: /usr/bin/include/netgen/xfemdiffops.hpp
-- Installing: /usr/bin/include/netgen/xfiniteelement.hpp
-- Installing: /usr/bin/include/netgen/symboliccutbfi.hpp
-- Installing: /usr/bin/include/netgen/symboliccutlfi.hpp
-- Installing: /usr/bin/share/ngsxfem/cutfem.py
-- Installing: /usr/bin/share/ngsxfem/fictdom_dg_ghostpen.py
-- Installing: /usr/bin/share/ngsxfem/fictdom_ghostpen.py
-- Installing: /usr/bin/share/ngsxfem/fictdom_ghostpen_restrictedblf.py
-- Installing: /usr/bin/share/ngsxfem/moving_domain.py
-- Installing: /usr/bin/share/ngsxfem/nxfem.py
-- Installing: /usr/bin/share/ngsxfem/nxfem_higher_order.py
-- Installing: /usr/bin/share/ngsxfem/stokesxfem.py
-- Installing: /usr/bin/share/ngsxfem/traceconverg.py
-- Installing: /usr/bin/share/ngsxfem/tracefem.py
-- Installing: /usr/bin/share/ngsxfem/tracefem3d.py
-- Installing: /usr/bin/share/ngsxfem/xfespaces.py
-- Installing: /usr/bin/share/ngsxfem/mpi/mpi_nxfem.py
-- Installing: /usr/bin/include/netgen/shiftintegrators.hpp
-- Installing: /usr/bin/include/netgen/calcpointshift.hpp
-- Installing: /usr/bin/include/netgen/calcgeomerrors.hpp
-- Installing: /usr/bin/include/netgen/lsetrefine.hpp
-- Installing: /usr/bin/include/netgen/projshift.hpp
-- Installing: /usr/bin/include/netgen/shiftedevaluate.hpp
-- Installing: /usr/bin/lib/python3/dist-packages/xfem/lsetcurv.py
-- Installing: /usr/bin/share/ngsxfem/lsetcurv/integrate.py
-- Installing: /usr/bin/share/ngsxfem/lsetcurv/lsetgeoms.py
-- Installing: /usr/bin/share/ngsxfem/report/ngsxfem_report.py
-- Installing: /usr/bin/include/netgen/SpaceTimeFE.hpp
-- Installing: /usr/bin/include/netgen/SpaceTimeFESpace.hpp
-- Installing: /usr/bin/include/netgen/diffopDt.hpp
-- Installing: /usr/bin/include/netgen/timecf.hpp
-- Installing: /usr/bin/include/netgen/spacetime_vtk.hpp
-- Installing: /usr/bin/lib/python3/dist-packages/xfem/lset_spacetime.py
-- Installing: /usr/bin/share/ngsxfem/spaceP1_timeDGP1.py
But when I ran the tests
Code:
Running tests...
Test project /home/alan/ngsxfem/build
Start 1: cpu_usage
1/20 Test #1: cpu_usage ........................ Passed 0.19 sec
Start 2: py_tutorial_nxfem_lo
2/20 Test #2: py_tutorial_nxfem_lo .............***Failed 0.38 sec
Start 3: py_tutorial_cutfem_lo
3/20 Test #3: py_tutorial_cutfem_lo ............***Failed 0.39 sec
Start 4: py_tutorial_nxfem_ho
4/20 Test #4: py_tutorial_nxfem_ho .............***Failed 0.26 sec
Start 5: py_tutorial_tracefem
5/20 Test #5: py_tutorial_tracefem .............***Failed 0.38 sec
Start 6: py_tutorial_stokesxfem
6/20 Test #6: py_tutorial_stokesxfem ...........***Failed 0.26 sec
Start 7: py_tutorial_fictdom
7/20 Test #7: py_tutorial_fictdom ..............***Failed 0.39 sec
Start 8: py_tutorial_fictdom_dg
8/20 Test #8: py_tutorial_fictdom_dg ...........***Failed 0.39 sec
Start 9: pytests_xfes_ndof
9/20 Test #9: pytests_xfes_ndof ................***Failed 0.05 sec
Start 10: pytests_cutint
10/20 Test #10: pytests_cutint ...................***Failed 0.06 sec
Start 11: pytests_straightcutrule
11/20 Test #11: pytests_straightcutrule ..........***Failed 0.04 sec
Start 12: pytests_backupcutrule
12/20 Test #12: pytests_backupcutrule ............***Failed 0.03 sec
Start 13: pytests_intcurved
13/20 Test #13: pytests_intcurved ................***Failed 0.04 sec
Start 14: pytests_nxfem
14/20 Test #14: pytests_nxfem ....................***Failed 0.05 sec
Start 15: pytests_shifteval
15/20 Test #15: pytests_shifteval ................***Failed 0.05 sec
Start 16: pytests_quadchallenges
16/20 Test #16: pytests_quadchallenges ...........***Failed 0.03 sec
Start 17: pytests_num_nxfem
17/20 Test #17: pytests_num_nxfem ................***Failed 0.05 sec
Start 18: pytests_spacetimecutrule
18/20 Test #18: pytests_spacetimecutrule .........***Failed 0.05 sec
Start 19: pytests_spacetime_vtk
19/20 Test #19: pytests_spacetime_vtk ............***Failed 0.04 sec
Start 20: pytests_navier_stokes
20/20 Test #20: pytests_navier_stokes ............***Failed 0.05 sec
5% tests passed, 19 tests failed out of 20
Total Test time (real) = 3.18 sec
The following tests FAILED:
2 - py_tutorial_nxfem_lo (Failed)
3 - py_tutorial_cutfem_lo (Failed)
4 - py_tutorial_nxfem_ho (Failed)
5 - py_tutorial_tracefem (Failed)
6 - py_tutorial_stokesxfem (Failed)
7 - py_tutorial_fictdom (Failed)
8 - py_tutorial_fictdom_dg (Failed)
9 - pytests_xfes_ndof (Failed)
10 - pytests_cutint (Failed)
11 - pytests_straightcutrule (Failed)
12 - pytests_backupcutrule (Failed)
13 - pytests_intcurved (Failed)
14 - pytests_nxfem (Failed)
15 - pytests_shifteval (Failed)
16 - pytests_quadchallenges (Failed)
17 - pytests_num_nxfem (Failed)
18 - pytests_spacetimecutrule (Failed)
19 - pytests_spacetime_vtk (Failed)
20 - pytests_navier_stokes (Failed)
Errors while running CTest
Makefile:129: recipe for target 'test' failed
make: *** [test] Error 8
Or running a simple tutorial example I received this message
Code:
optfile ./ng.opt does not exist - using default values
togl-version : 2
OCC module loaded
loading ngsolve library
NGSolve-6.2.2002
Using Lapack
Including sparse direct solver UMFPACK
Running parallel using 8 thread(s)
importing NGSolve-6.2.2002
Traceback (most recent call last):
File "testBasics.py", line 10, in <module>
from xfem import *
ModuleNotFoundError: No module named 'xfem'
Sorry to bother you with this.