mention JIT

This commit is contained in:
Axel Kohlmeyer
2022-12-22 23:32:06 -05:00
parent a8c881aaf3
commit 09871a0178
2 changed files with 7 additions and 3 deletions

View File

@ -890,6 +890,11 @@ included in the LAMMPS source distribution in the ``lib/lepton`` folder.
LAMMPS. No additional settings are normally needed besides
``-D PKG_LEPTON=yes``.
On x86 hardware the Lepton library will also include a just-in-time
compiler for faster execution. This is auto detected but can
be explicitly disabled by setting ``-D LEPTON_ENABLE_JIT=no``
(or enabled by setting it to yes).
.. tab:: Traditional make
Before building LAMMPS, one must build the Lepton library in lib/lepton.

View File

@ -1401,9 +1401,8 @@ expressions. This is a more lightweight and efficient alternative
for evaluating custom potential function to an embedded Python
interpreter as used in the :ref:`PYTHON package <PKG-PYTHON>`.
On the other hand, since the potentials are evaluated form analytical
expressions, they are more accurate than what can be done with
:ref:`tabulated potentials <tabulate>`. Using the runtime evaluation
comes with a significant increase in runtime.
expressions, they are more precise than what can be done with
:ref:`tabulated potentials <tabulate>`.
**Authors:** Axel Kohlmeyer (Temple U). Lepton itself is developed
by Peter Eastman at Stanford University.