You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Use `the commit 5d0f4bca <https://github.com/HidekiMori-CIT/aenet-lammps/commit/5d0f4bcacb7cd3ecbcdb0e4fdd9dc3d7bf06af0a>`_ .
198
-
199
-
- ``git checkout 5d0f4bca``
200
-
201
-
- Please install ``aenet-lammps``` according to the procedure specified in the above URL. Below are notes on installation.
202
-
203
-
- ``aenet``
204
-
205
-
- Make sure to add ``-fPIC`` to ``FCFLAGS`` in ``makefiles/Makefile.*``.
206
-
207
-
- ``lammps``
208
-
209
-
- Make sure to add ``LMP_INC = -DLAMMPS_EXCEPTIONS`` in ``src/Makefile``.
210
-
- Make sure to add ``mode=shared`` to the make command option as ``make mode=shared mpi`` (when GCC, for example).
211
-
212
-
- After completing the above installation, run ``make install-python``.
213
-
214
-
- ``lammps`` python package will be installed to the Python environment which is invoked by ``python`` command.
215
-
216
-
- Reference file rules
217
-
218
-
- Place the input file ``in.lammps`` for ``aenet-lammps`` in the ``predict`` directory to evaluate the energy for the input coordinates using the trained potential model.
219
-
The format of ``in.lammmps`` is written in the README of ``aenet-lammps`` repository.
220
-
221
-
- abICS control file
222
-
223
-
- `In the ``[sampling.solver]`` section, set ``type`` to ``aenetPyLammps`` and ``run_scheme`` to ``function``.
224
-
225
-
.. code-block:: bash
226
-
227
-
type = “aenetPyLammps”
228
-
run_scheme = ‘function’
229
-
230
-
231
-
232
-
.. solver_specific_notes:
189
+
abICS can call the ``aenet`` library via the LAMMPS interface (``aenetPyLammps``).
190
+
This is faster than calling ``aenet`` directly because it does not need file I/O.
191
+
To use ``aenetPyLammps``, you need to install ``aenet-lammps`` and ``lammps``.
192
+
For details, please refer to the :ref:`tutorial_aenet_lammps`.
0 commit comments