Skip to main content

A reusable MDI driver facility for SEAMM

Project description

seamm_mdi

A reusable MDI driver facility for SEAMM. It lets a SEAMM step launch a quantum-chemistry (or other) engine once and drive it for many energy/force evaluations over the MDI protocol, instead of re-launching the code for every geometry.

The MDIEngine class is the driver: it listens on a TCP port, launches the engine (which connects back), and exposes a small, unit-aware API:

from seamm_mdi import MDIEngine

with MDIEngine(build_argv, elements=[8, 1, 1]) as engine:
    engine.set_coordinates(xyz, units="Å")
    e = engine.energy(units="kcal/mol")
    f = engine.forces(units="kcal/mol/Å")

build_argv(hostname, port) returns the argv that launches the engine wrapper (e.g. from a program step's get_mdi_engine_command), pointed at the driver's hostname/port. Unit conversions are handled inside MDIEngine (seamm_util.Q_); the default units are MDI-native (bohr, hartree, hartree/bohr).

Status: local-mode (localhost) first cut. Remote/queue launching via the SEAMM executor is planned.

Project details


Download files

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

Source Distribution

seamm_mdi-2026.7.15.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

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

seamm_mdi-2026.7.15-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file seamm_mdi-2026.7.15.tar.gz.

File metadata

  • Download URL: seamm_mdi-2026.7.15.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for seamm_mdi-2026.7.15.tar.gz
Algorithm Hash digest
SHA256 ba496e89b656e741b8efe17757173e9cb72f7a7a20bc698aee372cc7587a19c0
MD5 e98a4b312a8292a77891dfe1f7944d23
BLAKE2b-256 f88e28135dd3d360a4229f8ce96d0e021072cbd981b0f05be241d3e447a5cc79

See more details on using hashes here.

File details

Details for the file seamm_mdi-2026.7.15-py3-none-any.whl.

File metadata

  • Download URL: seamm_mdi-2026.7.15-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for seamm_mdi-2026.7.15-py3-none-any.whl
Algorithm Hash digest
SHA256 8f20a5f3eb4b1a265bdee5e8e41e2430f8114997f8d4e79ddbe7e4b897c76dcb
MD5 0d35a17b614b49c0a8839221cd678016
BLAKE2b-256 8e7674ada693c789a789c0f13e346314f1c81427749ca0de5f9173c9a165f697

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 Pingdom Monitoring Sentry Error logging StatusPage Status page