--- myst: html_meta: "description": "User guide for eOn: algorithms, configuration settings, and job types." "keywords": "eOn user guide, documentation, configuration, algorithms, tutorials" --- # User guide Here we collect a brief introduction to each algorithm, with curated references for more information along with the configuration settings as implemented within `eOn`. ## Python client (pyeonclient) For **in-process** client work (minimization, NEB, Matter objects) use the pip package `pyeonclient`: an ASE-shaped API on a `list[Matter]`. ```{toctree} :maxdepth: 1 :caption: Python API pyeonclient neighbor_lists ``` See also the {doc}`API reference ` and the [atomistic-cookbook PET-MAD NEB example](https://atomistic-cookbook.org/examples/eon-pet-neb/eon-pet-neb.html). ## AiiDA (`aiida-eon`) Schedule `eonclient` through AiiDA with the [aiida-eon](https://pypi.org/project/aiida-eon/) plugin ({doc}`aiida`). That plugin schedules the `eonclient` workdir binary. ```{toctree} :maxdepth: 1 :caption: Workflow managers aiida ``` ## Configuration file (`config.ini`) Each of the sections and methods may still be included in a configuration file with the appropriate section header (used by the `eonclient` binary, the AKMC server, and optional workdir helpers). Boolean values may be written `true`, `false`, `1`, `0`, `T`, `t`, `F`, or `f`. Server-side process search without a default prefactor, or with a bundle size other than 1, exits with status 1. ## Overview The `eOn` program can run the following methods or tasks to explore the configuration space of molecular systems and to accelerate the simulation of their dynamics over long times. To run `eOn`, a configuration file must be generated using the options specified in the documentation. Each section header is denoted by square brackets, and is followed by the key/value pairs. For example, to set the *job* key of the *[Main]* section to the value *process_search*, your configuration file would include the lines: ```{code-block} ini [Main] job = process_search ``` In the configuration, the server runs `akmc`, `parallel_replica`, `unbiased_parallel_replica`, `basin_hopping`, and `escape_rate` itself. The server accepts those names as written. Those jobs share one `lockfile` in the results directory, so a second driver exits instead of running beside the first. See {doc}`communicator`. Any other `job` the server accepts is one client job. The client matches that `job` to `JobType` without regard to case. A name outside the enumeration stops the client with `No known job could be constructed`. Spellings that do not match a client job are `finite_differences` (use ), `molecular_dynamics` (use `dynamics`), `displacement_sampling`, `akmc`, and `hyperdynamics` (use `safe_hyperdynamics`). `escape_rate` runs on the server, and the schema marks that entry TODO. A new product records its own transition time, and its rate is the reciprocal of that time. is a client job and is absent from the schema list. is minima hopping, not basin hopping. These method options share the `job` key. There are specific options for each method, and a set of general options which are shared between methods. Examples of these general options include specification of the interatomic potential and the parameters for doing structural optimizations and comparisons. ```{versionadded} 2.12 Parameters can also be loaded from JSON strings for programmatic usage. See {doc}`/devdocs/design/client/parameters` for the JSON schema. ``` ```{note} From 2.0 on, prefer a workflow manager over eOn-generated submit scripts. AiiDA: {doc}`aiida`. ``` eOn is designed to run in serial on one computer or in parallel using a communicator to send jobs from a server to clients and receive the results back. Several parallelization schemes have been implemented, including local communication through files, cluster communication via a queuing system or via mpi. Methods run in parallel are broken up by the eon server into tasks which are run by client program. The server then compiles the information sent back by the clients in a way that can be used by the sampling or dynamics methods. ## Geometry and neighbor lists Pair finding owned by eOn uses **vesin**. Architecture and **ASV** measurement surface: [Neighbor lists (vesin)](neighbor_lists.md). ## Potentials Some of the potentials require additional installation and setup, which are described in the subsequent sections. ```{toctree} :maxdepth: 1 :caption: Potentials ext_pot lammps_pot ase_pot metatomic_pot quip mpi_potential ``` ## Configuration sections ```{toctree} :maxdepth: 1 :caption: Common algorithm_selection main structure_input potential structure_comparison optimizer ``` ```{toctree} :maxdepth: 1 :caption: Potential Energy Surface Traversal minimization neb dimer lanczos artn hessian finite_difference lineb instanton prefactor ``` ```{toctree} :maxdepth: 1 :caption: Compound Jobs akmc saddle_search basin_hopping global_optimization monte_carlo replica_exchange process_search recycling coarse_graining ``` ```{toctree} :maxdepth: 1 :caption: Dynamics dynamics parallel_replica hyperdynamics tad oh_tst ``` ```{toctree} :maxdepth: 1 :caption: Additional configuration communicator debug paths stdpar ``` ## Miscellaneous Some of the potentials require additional installation and setup, which are described in the subsequent sections. ```{toctree} :maxdepth: 1 :caption: External linkage kdb rgpot_integration rgpot_pot rgpot_metatomic serve_mode ```