---
myst:
html_meta:
"description": "Guide to the general simulation parameters in eOn's main configuration section, covering job types, temperature, and other shared settings."
"keywords": "eOn main config, general parameters, job type, temperature, settings"
---
# General simulation parameters
The following contains general options which specify the calculation to be done
and general parameters which are shared between job types.
## Jobs
The jobs are grouped below. Details follow in later sections.
### aKMC
Adaptive Kinetic Monte Carlo (aKMC)
: uses saddle searches to find possible reactive events and KMC to determine the state-to-state kinetics.
Within such a job, we may also use
Recycling
: to use reactive events (processes) between states to speed up aKMC.
or construct a
Kinetic database
: of reactive events so they can be reused between AKMC runs.
Or even reach for
Coarse Graining
: to identify and escape groups of states connected by low barriers.
### Dynamics
Beyond this, we may also run
Molecular dyanmics
: which are standard.
We can make this a little more interesting with
Hyperdynamics
: which uses a bias potential to accelerate transitions between states.
## Collective sampling
Parallel Replica Dynamics
: which uses a set of trajectories to accelerate the rate of escape from states.
Basin hopping
: which lowers the barrier between states to accelerate Monte Carlo sampling.
## PES traversal
We can find minima on the potential energy surface using a
Minimization
: which optimizes the geometry of a structure.
We can go close to a minimum energy path with the
Nudged elastic band
: which locates minimum energy pathways using the eponymous method, essentially a chain-of-states search strategy
with this, we can then run a
Saddle search job
: to find a nearby saddle point.
Instanton
: which estimates a tunneling rate from a path between two minima.
and they may do so by using
Dimer
: method to find the lowest curvature mode.
or the
Lanczos
: method to find the lowest curvature mode.
```{versionadded} 2.8
with acceleration provided by Gaussian Process Regression or neural networks.
```
## Miscellaneous
Other sections:
Main
: which has options not specific to a single job type.
Communicator
: which detail methods by which the code can be run in parallel.
Potential
: which configures interatomic potentials, both bundled with `eOn` and interfaced
Optimizer
: which has options related to the generic step interface for optimization of atomic structures
Prefactor
: which has options to control the calculation of harmonic transition state (hTST) prefactors
Structure Comparison
: which configures the computation of similarity measures and equivalence cutoffs
Paths
: which enumerate directories in which calculations will be run
Debug
: which lists extra output options
## Threads
By default `eonclient` runs a logging thread next to the compute thread, and
`parallel = true` lets the dimer, NEB, and process search endpoint
minimizations start worker threads. A client that must stay on a single thread,
for example under a scheduler that counts threads, sets both options:
```{code-block} ini
[Main]
parallel = false
single_threaded_client = true
```
The compute thread then drains the log queue itself, about every 100
milliseconds and again whenever the client flushes or exits, so the records and
their order match a default run. `single_threaded_client = true` with
`parallel = true` stops the client with an error. The option is read once, from
the first parameter file the client loads (`config_0.ini` when a standalone
MPI client has one), and applies to the whole process. Command line jobs such as `--help` do
not read a parameter file and keep the logging thread.
## Configuration
`input_format`, `cell`, `pbc`, and `default_vacuum` select a foreign
structure file and its fallback cell. See {doc}`structure_input`.
```{code-block} ini
[Main]
```
```{eval-rst}
.. autopydantic_model:: eon.schema.MainConfig
```