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

Uploaded Python 3

File details

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

File metadata

  • Download URL: seamm_mdi-2026.7.6.tar.gz
  • Upload date:
  • Size: 9.9 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.6.tar.gz
Algorithm Hash digest
SHA256 6ea974d58c99f13b83761948a7cbc234995b72c781442ae8b294bb7ee0ce777e
MD5 fa8ec71357470ec10ce2a58e1bcb1250
BLAKE2b-256 5218fc73052d649aeb27c04a6e8e901d6e3e82ed888d613eb78867b16fb0d435

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seamm_mdi-2026.7.6-py3-none-any.whl
  • Upload date:
  • Size: 9.9 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 25061761ed94be52ad88bd42d0495bc08d3e9fb9b1ba57084e6abf55d3e623bf
MD5 1d2a271cd419d839499b078698d1040a
BLAKE2b-256 7c9e9c89c7b6c484b72a7c78dc5f42111d515b54edf2462a363434094baeb8af

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