Computing integrals on a slice cutting through a domain.

More
5 years 3 weeks ago #2038 by anandes
Hello Michael,

Yes, now it works well. Thank you.

I tried to install ngsxfem but it doesn't seem to work. My laptop runs Ubuntu 18.04.3 LTS. The Netgen/NGSolve executables are in /usr/bin/. I go through the following steps (as described on this webpage ).

From my home directory:
Code:
> git clone https://github.com/ngsxfem/ngsxfem.git > cd ngsxfem > mkdir build > cd build > cmake ../ -DCMAKE_INSTALL_PREFIX=/usr/bin/ -DBUILD_NGSOLVE=OFF -DCMAKE_CXX_COMPILER=ngscxx -DCMAKE_LINKER=ngsld > make > make install
Other than some warnings on deprecated declarations, the install goes fine. But when I try to run an examples as follows:
Code:
> cd $HOME/ngsxfem/py_tutorials/ > netgen cutfem.py
I get this error: No module named 'xfem'
So ngsxfem does not seem to be installed. Please let me know where things could be going wrong.

Thank you,
Anand
More
5 years 3 weeks ago #2039 by christopher
Hi anand,
where does the installation install to? Is your PYTHONPATH environment variable set to point to that location?
Best Christopher
Time to create page: 0.099 seconds