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 matching eOn user-guide page is docs/source/user_guide/aiida.md in the eOn tree.

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.1.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.1-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiida_eon-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 dfb3ed63090bbda6a74ffc0a3dcc48104b3ff401fef6cb51e697fa5ab7855bbc
MD5 a987583a37ab438e54de7fe097549e0a
BLAKE2b-256 94a78fba84a4f22d458cfe91e1b8d3f7490fef43dae2d12306e2200d64871fc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiida_eon-0.3.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c734918acbd615e4142970ada7109a5282d5d765d432f09f24ce744ce936d5f
MD5 06b398b1cfadc1b4a0a18f0159599ba9
BLAKE2b-256 8d0dfca8e593356be0274c00ec6cb2cd514e40a07651954b570b9d1a8cfcab26

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