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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mattergraph_sim-0.1.1.tar.gz
  • Upload date:
  • Size: 6.2 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.1.tar.gz
Algorithm Hash digest
SHA256 d8d798e6c511e98b43a525aeee73ee49f5378d8eacc8a70be33335524f54b4c4
MD5 20126335e1ecf1e0b73650d3c270659d
BLAKE2b-256 b3af556515f8bc3d1bbeb597b038561c1f66daac430a0f4dc10832d2bbcd58e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mattergraph_sim-0.1.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mattergraph_sim-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6aee92145c0c26eef101def218f0336eaf050f0e04b2977be335e4867c98d16f
MD5 c1e5032ea660eb93b633530013471562
BLAKE2b-256 734b6736140f33ddeb6bad14724e4815c0422d55bade4277927c748e1ff3934b

See more details on using hashes here.

Provenance

The following attestation bundles were made for mattergraph_sim-0.1.1-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

This release

0.1.1 This release

2 files

0.1.0

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