Skip to main content

MatRiFFlow (formerly IMDgroup-pymatgen)

Python and command-line tools for iterative development of computational workflows for VASP atomistic simulations, built on top of pymatgen.

Works with ordinary calculation directories produced manually, by scripts, or by any existing workflow tooling that writes standard VASP files. The independent commands do not require a workflow manager or prescribe how jobs must be executed.

Also includes gorun, a cluster-agnostic job-submission script for VASP, MACE fine-tuning, ATAT, and generic GPU jobs on Slurm clusters.

Documentation: https://yantar92.github.io/MatRiFFlow/

img

mrf can handle large collections of calculations (including running) and detect anomalies or incomparable results. It deliberately does not automate fixing anomalies, leaving it up to the user to explore the problems and identify the solutions (with the optional help of mrf tooling).

Workflow manager compatibility

mrf operates directly on standard VASP directory trees without a workflow manager-specific database or import. It can complement manual calculations, custom scripts, and existing workflow managers.

mrf analyze groups runs by identical settings, mrf diff compares INCAR settings and structures, and mrf analyze provides calculation summaries.

High-throughput optimization

mrf can handle directory trees containing thousands of calculations. Parsing VASP outputs (XML, OUTCAR) is costly on supercomputer file systems, so the tools cache parsed results on disk (with invalidation if the original data changes).

See the Python API for MRFVaspDir, the class providing cached directory inspection.

Installation

git clone https://github.com/yantar92/MatRiFFlow
cd MatRiFFlow
pip install .

This installs the mrf and gorun commands.

Note: the lmdb dependency (on-disk result cache) links against the native LMDB library. On some systems – especially HPC clusters – you must provide it before pip install ., for example module load lmdb or the system dev package (apt install liblmdb-dev, dnf install lmdb-devel). If the build fails while compiling lmdb, load the module and re-run pip install ..

Next steps

Contributing

Contributions are welcome.

You can also contact the maintainer directly by email (yantar92@posteo.net) or on GitHub.

Metadata

Release files for MatRiFFlow 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MatRiFFlow 2.0.2
File Size Uploaded Provenance Actions
matrifflow-2.0.2.tar.gz 272.8 kB With provenance Details for matrifflow-2.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for MatRiFFlow 2.0.2
File Interpreter ABI Platform Actions
matrifflow-2.0.2-py3-none-any.whl Python 3 none any Details for matrifflow-2.0.2-py3-none-any.whl

Total release size: 503.4 kB

Release files / matrifflow-2.0.2.tar.gz

Download URL matrifflow-2.0.2.tar.gz
Size 272.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3caae8b6cb613bb1ba143e6f8ef36ff79061bb3ada7175776587a8b8e7a5007d
BLAKE2b-256 checksum
How to use checksums
9dfab89719293045edecf62ddd26a5cb8d52ec3951941b3cf82878527289452a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / matrifflow-2.0.2-py3-none-any.whl

Download URL matrifflow-2.0.2-py3-none-any.whl
Size 230.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6208da5ff73c5c5281887e656c56993ac132b840600b8ad5bde27d5839d3b97
BLAKE2b-256 checksum
How to use checksums
0fd83e00d5c493a0d1989262ec586dfda269053c7c459ce4453d625fb8e2a453
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for MatRiFFlow 2.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for matrifflow-2.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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