lammps/lib/plugin
Axel Kohlmeyer 2a6fcee5e0
add missing file (was ignored by default)
2021-03-16 23:42:06 -04:00
..
Makefile.lammps add missing file (was ignored by default) 2021-03-16 23:42:06 -04:00
README convert plugin functionality into a package 2021-03-16 23:00:16 -04:00

README

This directory has a Makefile.lammps file with settings that allows
LAMMPS to dynamically link LAMMPS plugins. More details about this
are in the manual.

In order to be able to dynamically load and execute the plugins from
inside LAMMPS, you need to link with a system library containing functions
like dlopen(), dlsym() and so on for dynamic linking of executable code
into an executable.  This library is defined by setting the plugin_SYSLIB
variable in the Makefile.lammps file in this dir.  For this mechanism
to work, LAMMPS must be built as a shared library (i.e. with mode=shared).

For Linux and most current unix-like operating systems, this can be
kept at the default setting of "-ldl" (on some platforms this library
is called "-ldld").  The Windows platform is currently not supported.

See the header of Makefile.lammps for more info.