Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
auto3dem:installation:linux_libraries [2015/03/29 19:53] gcardone created |
auto3dem:installation:linux_libraries [2015/05/22 18:55] (current) gcardone |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Library dependencies - Linux ====== | ====== Library dependencies - Linux ====== | ||
+ | |||
+ | The installation requires system libraries that are not necessarily installed by default, but they are available through the package manager. Most of the additional libraries are required to run the computational programs in parallel on multiple processors or clusters, and to run the graphical programs (mainly RobEM). | ||
+ | Example of libraries needed to be installed on some Linux distributions: | ||
+ | |||
+ | ===== CentOS ===== | ||
*libraries needed for running the programs in parallel using MPI<code> | *libraries needed for running the programs in parallel using MPI<code> | ||
Line 5: | Line 10: | ||
openmpi-devel (mpich2-devel as an alternative) | openmpi-devel (mpich2-devel as an alternative) | ||
</code> | </code> | ||
- | *libraries needed for running graphical programs (mainly Robem)<code> | + | *libraries needed for running graphical programs<code> |
libX11 | libX11 | ||
libX11-devel | libX11-devel | ||
Line 23: | Line 28: | ||
libXt-devel | libXt-devel | ||
</code> | </code> | ||
+ | |||
+ | ===== Ubuntu ===== | ||
+ | |||
+ | *general libraries<code> | ||
+ | gfortran | ||
+ | </code> | ||
+ | *libraries needed for running the programs in parallel using MPI<code> | ||
+ | openmpi-bin | ||
+ | libopenmpi-dev | ||
+ | </code> | ||
+ | *libraries needed for running graphical programs<code> | ||
+ | libmotif-dev | ||
+ | libxt-dev | ||
+ | </code> | ||
+ | |||
+ | <WRAP center round important 75%> | ||
+ | During the installation procedure you can get the following error messages | ||
+ | <code> | ||
+ | /usr/bin/ld: cannot find -lXp | ||
+ | /usr/bin/ld: cannot find -lXext | ||
+ | /usr/bin/ld: cannot find -lXmu | ||
+ | </code> | ||
+ | even if the libraries have been installed. This is because sometimes the generic links to these libraries are missing. In this case you need to go to the directory where the libraries are (/usr/lib/x86_64-linux-gnu in the latest Ubuntu 64-bit releases) and create the symbolic links (you need administration permissions). For example | ||
+ | <code> | ||
+ | ln -s libXmu.so.6.2.0 libXmu.so | ||
+ | ln -s libXp.so.6.2.0 libXp.so | ||
+ | ln -s libXext.so.6.4.0 libXext.so | ||
+ | </code> | ||
+ | with the names reflecting the current installed version. | ||
+ | </WRAP> | ||
+ |