[gmx-users] dynamic libraries and static libraries

Javier Cerezo jcb1 at um.es
Tue Jan 10 09:40:57 CET 2012


As far as I know, static libraries are linked during compilation, thus 
are part of your installation, while shared libraries are linked during 
execution. The latter lead to, somehow, more "robust" binaries, as once 
they are compiled they have (almost) no dependences, while the latter 
save memory (as indicated by the configure script), since you use 
libraries you already have in your system and you don't have to 
reinstall them again inside your program.

To enable/disable the use of shared libraries use --enable-shared (which 
is the default from gromacs 4.5.x) or --disable-shared along with the 
configure script.


El 10/01/12 07:38, Dialing Pretty escribió:
> Dear All,
> For GROMACS, what will be the difference by using static libraries and 
> dynamic libraries? How can I install the static libraries and how can 
> I install the dynamic libraries in GROMACS?
> I am looking forward to getting your reply.
> Dialing

PhD Student
Physical Chemistry
Universidad de Murcia
Murcia (Spain)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20120110/6879b510/attachment.html>

More information about the gromacs.org_gmx-users mailing list