Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Computing integrals on a slice cutting through a domain.

More
4 years 6 months 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
4 years 6 months 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.148 seconds