Skip to main content

aiida-eon

AiiDA 2 plugin for eOn. It schedules the eonclient binary. One calculation writes config.ini and the job .con files, runs the client, and parses results.dat.

The Python adaptive kinetic Monte Carlo (AKMC) server is a different process. Use WorkflowFactory("eon.akmc") for independent process searches, or run python -m eon.server for superbasin kinetic Monte Carlo. In-process Matter work is pyeonclient.

The eOn user-guide page is user_guide/aiida.md (TheochemUI/eOn#396).

config.ini is rgpycrumbs.eon.helpers.write_eon_config / eon_schema.config.write_ini. Saddle codes are chemparseplot.parse.eon.saddle_search.EONSaddleStatus. eOn .con geometries convert to Atomic Simulation Environment (ASE) atoms through chemparseplot.parse.eon.con_io.

Install

pip install aiida-eon
verdi plugin list aiida.calculations eon

Register a prebuilt binary:

verdi code create core.code.installed \
  --label eonclient \
  --computer localhost \
  --filepath-executable "$(command -v eonclient)" \
  --default-calc-job-plugin eon

On Elja (login-node AiiDA + Slurm) see docs/elja.md.

Usage

from aiida import orm
from aiida.engine import run
from aiida.plugins import CalculationFactory, DataFactory, WorkflowFactory

EonCalculation = CalculationFactory("eon")
ConData = DataFactory("eon.con")
result = run(
    EonCalculation,
    code=orm.load_code("eonclient@localhost"),
    parameters=orm.Dict(
        dict={
            "Main": {"job": "minimization"},
            "Potential": {"potential": "lj"},
            "Optimizer": {"opt_method": "lbfgs", "converged_force": 0.01},
        }
    ),
    structure=ConData.from_path("pos.con"),
)
print(result["results"].get_dict()["potential_energy"])

Workchains pin the job key and expose the CalcJob ports under calc:

Minimize = WorkflowFactory("eon.minimize")
Neb = WorkflowFactory("eon.neb")
Saddle = WorkflowFactory("eon.saddle")
Process = WorkflowFactory("eon.process_search")
Prefactor = WorkflowFactory("eon.prefactor")
Akmc = WorkflowFactory("eon.akmc")

verdi data eon jobs prints the client catalog. The job key must be a client token (minimization, nudged_elastic_band, oh_tst, and the rest). Aliases such as neb become the magic_enum name before config.ini is written.

Serve mode and forceBatch are not jobs. Potentials (lj, metatomic, rgpot, and the rest) are configuration sections. Copy LAMMPS or Vienna Ab initio Simulation Package (VASP) auxiliaries through the potfiles port.

Tests

pip install -e ".[tests]"
pytest

License

License: Expat (MIT). Contact: rog32@hi.is

Metadata

Release files for aiida-eon 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiida-eon 0.3.2
File Size Uploaded
aiida_eon-0.3.2.tar.gz 22.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aiida-eon 0.3.2
File Interpreter ABI Platform
aiida_eon-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 46.4 kB

Release files / aiida_eon-0.3.2.tar.gz

Download URL aiida_eon-0.3.2.tar.gz
Size 22.0 kB
Tags Source
SHA-256 checksum
How to use checksums
40e7aac54214270238c74f9ba83d10fc83c6df048893667d0a13885c82efe360
BLAKE2b-256 checksum
How to use checksums
d8fe87ef9adb053c415fe1404ac6d5285c2d70f36276caf6f660f25dc5b953b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / aiida_eon-0.3.2-py3-none-any.whl

Download URL aiida_eon-0.3.2-py3-none-any.whl
Size 24.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e4e40896e3317b790f1b76df93d8635c281e372f8f99ccc330978e88a6d761c
BLAKE2b-256 checksum
How to use checksums
518adaa9e85a3ffc36145c5f8150d50dbf8896c4ba491f600dc9033349182365
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page