Skip to main content

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.

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.27.tar.gz (11.6 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.27-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for seamm_mdi-2026.7.27.tar.gz
Algorithm Hash digest
SHA256 f6a2d0e81498292684d45c1235e3b6fd5f0ecfb0fb9cedff4ab0279a4800fb7d
MD5 218e8d55f648211669b7fa6493195d43
BLAKE2b-256 1cfe72e8fe10641549c68cf00e8d96a13ae52c1878ba43ab68639e0586956be4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for seamm_mdi-2026.7.27-py3-none-any.whl
Algorithm Hash digest
SHA256 52804f27ad97e3dfb572c1f7fe2b328771e4738801c5a0aa489a922ce6fd61f6
MD5 7090d6c0f0ab6d84961d9057e90d3c67
BLAKE2b-256 2dc2d8ddfddf3437d36d1a6defd0562f1b2c6bb499d786b3d5f04cf5e9e88449

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