Homec4science

do not require the LAMMPS shared library when loading the python wrapper from…

Authored by Axel Kohlmeyer <akohlmey@gmail.com> on Oct 13 2016, 00:36.

Description

do not require the LAMMPS shared library when loading the python wrapper from inside LAMMPS

Thanks to Giacomo Fiorin for figuring this out with NAMD/Colvars.
This requires linking with -Xlinker -export-dynamic or equivalent,
which is the default when using python-config to provide linker flags.
We will fall back to loading the DSO in case the initial load fails.

Details

Committed
Axel Kohlmeyer <akohlmey@gmail.com>Oct 13 2016, 00:36
Pushed
jungeOct 19 2017, 09:53
Parents
rLAMMPS63e71cd45b27: patch to add DPD-VV
Branches
Unknown
Tags
Unknown

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPS0b426dadc1d1: do not require the LAMMPS shared library when loading the python wrapper from… (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Oct 13 2016, 00:36