How to link Gmsh SDK and EASIFEM #208
Unanswered
vickysharma0812
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
We can install Gmsh + SDK by as a python package as mentioned here
We can also download the latest automatic snapshot of both Gmsh and the SDK with pip:
Problem
The problem with this approach is that it is difficult to find the location of python packages. Sometimes they are located at non-standard locations such as
~/.local/lib
.Solution:
Step (1): Export
GMSH_LIB
environment variableBefore installing easifemClasses, the user should export the location of Gmsh SDK as an environment variable named
GMSH_LIB
, for example:Step (2): Make symlink
Create a symlink of Gmsh SDK library in
$EASIFEM_EXTPKGS/lib
. (Note that the variable EASIFEM_EXTPKGS is defined when you install EASIFEM.For example if you have
libgmsh.so.4.11
in~/.local/lib
then you should create following symlink:Step (3): Update
LD_LIBRARY_PATH
To update
LD_LIBRARY_PATH
you can perform following tasks depending upon your shell script.After exporting the environment variable and
LD_LIBRARY_PATH
, you can install theeasifemClasses
library.Regards
Vikas
Beta Was this translation helpful? Give feedback.
All reactions