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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiida_eon-0.3.2.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiida_eon-0.3.2-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

Details for the file aiida_eon-0.3.2.tar.gz.

File metadata

  • Download URL: aiida_eon-0.3.2.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for aiida_eon-0.3.2.tar.gz
Algorithm Hash digest
SHA256 40e7aac54214270238c74f9ba83d10fc83c6df048893667d0a13885c82efe360
MD5 b8f78eafece0e7df96b2025bd63499b1
BLAKE2b-256 d8fe87ef9adb053c415fe1404ac6d5285c2d70f36276caf6f660f25dc5b953b3

See more details on using hashes here.

File details

Details for the file aiida_eon-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: aiida_eon-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 24.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for aiida_eon-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5e4e40896e3317b790f1b76df93d8635c281e372f8f99ccc330978e88a6d761c
MD5 c75058d4663bcb2d1d1916656513e54c
BLAKE2b-256 518adaa9e85a3ffc36145c5f8150d50dbf8896c4ba491f600dc9033349182365

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page