I installed NGSOVE from pip with python3.9. Everything works fine. However, when I’d like to run unit 9.1
it shows error as below for code block . I can run all the other codes correctly. Could you please help me with including the path into “CppExtension.ipynb”? Thank you!
clang: warning: argument unused during compilation: ‘-Xarch_x86_64 -march=core-avx2’ [-Wunused-command-line-argument]
/var/folders/29/xvl79fcj1zb62t8q9pr4pf5w0000gn/T/ngsolve_tmp_0_0_CBhrxs/code_0.cpp:2:10: fatal error: ‘comp.hpp’ file not found
1 error generated.
NgException Traceback (most recent call last)
Cell In, line 7
2 from ngsolve.fem import CompilePythonModule
3 from pathlib import Path
----> 7 m = CompilePythonModule(‘/mymodule.cpp’, init_function_name=‘mymodule’)
NgException: problem calling compiler