-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link helper libraries statically #1182
Comments
Out of curiosity, what is the advantage of linking statically compared to the current dynamical linking? |
The main advantage is that static linking eliminates dynamic linking as a possible problem source ;-) An example would be an issue we are currently seeing on JURON, where the system scheduler (LSF) also installs a library called |
gem5 requires apps be statically linked, for example.
…On Thu, Apr 18, 2019 at 0:35 Tanguy Fardet ***@***.***> wrote:
Out of curiosity, what is the advantage of linking statically compared to
the current dynamical linking?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1182 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA6w5_L2WuUIZCC9WXj22BzQ9AfYjS5aks5vhz9FgaJpZM4c1PXi>
.
|
Ok, thanks! |
I want to note somewhere how we solved the issue for JURON, which @jougs referred to in a previous reply. As @jougs said, the issue arises due to LSF coming with its own CMake builds the Nest executable using A possible fix is to convert I converted |
Issue automatically marked stale! |
Is this related to #1630? Should this be handled consistently? |
@terhorstd: No, it's not. This one is purely about the internal helper libraries that are linked together to form the As I'm anyway here, I might as well give a quick update on the status:
|
It would be good to investigate, if it makes sense to change the default so that static linking becomes the default for all modules and enable dynamic linking only on demand. Also see #1717. |
Issue automatically marked stale! |
The NEST source code is split into several directories (
conngen
,libnestutil
,librandom
,models
,nestkernel
,precise
,sli
,topology
), each built into a dynamic helper library. Thenest
executable (residing in thenest
subdirectory) comes into existence by a bit of glue code and dynamically linking all of the helper libraries.This issue demands that the setup is changed so that the
nest
executable is statically linking its helper libraries, while still allowing to link all external libraries dynamically.@gtrensch and @heplesser might have additional ideas and thoughts on this.
The text was updated successfully, but these errors were encountered: