[petsc-users] static libs
Victor Eijkhout
eijkhout at tacc.utexas.edu
Thu Feb 20 16:53:27 CST 2020
On , 2020Feb20, at 15:26, Junchao Zhang via petsc-users <petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov>> wrote:
The main disadvantage of dynamic shared libraries is the runtime performance costs of dynamic linking. Every time the program is executed it has to perform a large part of its linking process
The main disadvantage of static linked libraries is the program load time. Each processor that executes the program has to load the executable from disk.
Static => large executables => disk hit.
Victor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200220/1f6b14d4/attachment.html>
More information about the petsc-users
mailing list