Building the NGS-Suite and ngsxfem together

1 month 4 weeks ago #2508 by schruste
Hi nepomuk,

To build from sources you require a few libraries, see ngsolve.org/docu/latest/install/installlinux.html

You should do the following first:
sudo apt-get update && sudo apt-get -y install python3 python3-tk libpython3-dev libxmu-dev tk-dev tcl-dev cmake git g++ libglu1-mesa-dev liblapacke-dev

Furthermore as installation location you should use /usr instead of /usr/share. Even better is to use a user local installation.

Best,
Christoph

Please Log in or Create an account to join the conversation.

1 month 4 weeks ago #2509 by nepomuk
Hi Christoph,

thanks for your quick reply.

So I first did the commands you told me, then I cloned ngsxfem to /home/nepomuk. Should I do also the other steps performed at ngsolve.org/docu/latest/install/installlinux.html first, or can I proceed with the cmake command?

Best, Nepomuk

Please Log in or Create an account to join the conversation.

1 month 4 weeks ago #2510 by schruste
Hi,

ngsxfem builds ngsolve, so you can directly step to the cmake command. However, the section "Finishing the installation" is again relevant to make use of the local installation once the installation was successful.

Good luck,
Christoph

Please Log in or Create an account to join the conversation.

1 month 4 weeks ago #2511 by nepomuk
Hi Christoph,
doing the cmake command (what took a lot of time as the other times I tried) it hanged up again and threw an error at the same point I describe in my first post.

Trying to do the make command anyway didn't work.

What went wrong?

BR, Nepomuk

Please Log in or Create an account to join the conversation.

1 month 4 weeks ago #2512 by schruste
Hi,

I don't really know. As it is a problem already appearing in the NGSolve-part of the installation, I recommend you try to install ngsolve from scratch first (without xfem) and only afterwards try to involve ngsxfem.

Alternatively, you can also install ngsolve binaries on ubuntu, see ngsolve.org/downloads . Check if the corresponding ngsolve installation works. If yes, try to build ngsxfem, but this time with BUILD_NGSOLVE=OFF .

Best,
Christoph

Please Log in or Create an account to join the conversation.

1 month 4 weeks ago #2513 by nepomuk
Hi Christoph,
I totally reset my Ubuntu and followed all the steps, it worked ;)))
Thank You!

Please Log in or Create an account to join the conversation.

© 2019 Netgen/NGSolve