Skip to main content

mattergraph-sim

Simulation job specs and runners for MatterGraph.

Structures round-trip through pymatgen, jobs are declared as validated Pydantic specs, and runners return a structured SimulationJob with status, log, and result rather than raising — so a failed relaxation is data, not an exception.

Engines

Engine Status
ASE Working. Local relaxation via the EMT empirical potential (11 elements: Ag, Al, Au, C, Cu, H, N, Ni, O, Pd, Pt).
LAMMPS Stub — environment-specific, returns a structured failure
Quantum ESPRESSO Stub — site-specific paths and pseudopotentials, returns a structured failure

Note on scope. EMT is a fast empirical potential with narrow element coverage; it is suitable for smoke-testing a workflow end to end, not for producing quantitative results. Universal ML interatomic potentials are the intended path to periodic-table-wide coverage.

Externally produced results can be validated with mattergraph_sim.parsers.parse_result_envelope. This is result interchange only; it does not launch, route, or coordinate simulation engines.

Install

pip install mattergraph-sim

Example

from mattergraph_sim import AseJobSpec, SimulationJob, ase_relax

job = SimulationJob(spec=AseJobSpec(fmax=0.05, max_steps=200), input_structure=structure.model_dump())
done = ase_relax(job)
print(done.status, done.result.energy if done.result else done.error)

License

Apache-2.0

Download files

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

Source Distribution

mattergraph_sim-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

mattergraph_sim-0.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file mattergraph_sim-0.1.0.tar.gz.

File metadata

  • Download URL: mattergraph_sim-0.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mattergraph_sim-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7d431f837c77d791c64735c396911aadc79d559d2801de68ecbe32a16ff9bbf6
MD5 36f454b672d390eed2da62833fac0c0e
BLAKE2b-256 d1d38b9af46e601622e470f4d3d474034f3e1e47ed044b08524318685d7b4cd3

See more details on using hashes here.

Provenance

The following attestation bundles were made for mattergraph_sim-0.1.0.tar.gz:

Publisher: release.yml on cyrusmo/MatterGraph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mattergraph_sim-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mattergraph_sim-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8c6062b7d8ba3d467bbcefc10fe4bc24ef90c7ac291499482c1b044168dad19
MD5 20d7f25872852d372c81ef74408d0ce5
BLAKE2b-256 2d08705e189edc35cb391d8c8b5aa94505c2a5c843be446f6cefeea759f520cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for mattergraph_sim-0.1.0-py3-none-any.whl:

Publisher: release.yml on cyrusmo/MatterGraph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page