Skip to content
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

Add the possibility to load plumed with dlmopen, on systems that support it #860

Open
GiovanniBussi opened this issue Sep 7, 2022 · 0 comments
Assignees

Comments

@GiovanniBussi
Copy link
Member

Currently, runtime loading of plumed kernel uses dlopen.

I would like to add the possibility to use dlmopen, which would allow keeping the whole plumed kernel and also its libraries in a separate linker namespace.

This could facilitate things like:

  • the python interpreter calling plumed and a hypothetical python interpreter embedded in plumed (PYCV for PLUMED v2.6 #528) could be separate versions
  • plumed and the calling MD code could be linked against different library versions (e.g., boost, or gcc versions)

This is only supported on modern glibc linux. On MacOS, however, if all the libraries are compiled with two-level namespace (which is the default on MacOS) this should already be possible.

@GiovanniBussi GiovanniBussi self-assigned this Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant