Gmsh with shared libraries

7 months ago by
Hi ,
I am trying to run a code in FEniCS that necessarily requires gmsh built with shared libraries. I have obtained the source from However i am unable to figure out the way to build gmsh in docker. I am using FEniCS through docker.

Can anyone kindly guide.

Community: FEniCS Project

1 Answer

7 months ago by
After few days of search i figured out that the solution was indeed quite simple .....  i am sharing it here

1- Extract the file. (the source obtained from
2- Open docker terminal, run fenicsproject and locate where you extracted Gmsh.
3- type in the terminal cmake CMakeLists and wait till the installation finishes.
4- After finishing step 3, type in the terminal make.
5- Once step 4 is done, type sudo make install.

Note that you must have cmake already installed in your system
Please login to add an answer/comment or follow this question.

Similar posts:
Search »