rmc_dft
rmc_dft coordinates an iterative workflow that models structures against experimental data with RMC_POT and relaxes them with VASP using energies and atomic forces.
Package responsibilities
| Package | Responsibility |
|---|---|
rmc_dft |
Structure transfer between RMC and VASP, iteration, restart, manual sequencing, shared configuration, and analysis examples |
rmc_util |
RMC_POT DAT, FNC, and TOP inputs, standalone execution, and log, FIT, HST, and PPCF analysis |
vasp_util |
VASP input preparation, standalone execution, result archiving, and analysis of POSCAR, OUTCAR, and trajectories |
The RMC_POT and VASP implementations were extracted from the original rmc_dft in stages. Import each API from its owning package in new code. Compatibility re-exports cover selected names.
from rmc_dft import Config, RmcDft
from rmc_util import RmcPot, RmcPotDat
from vasp_util import Vasp, VaspIncar, VaspPoscar
Installation and script setup
Python 3.10 or later is required. Combined calculations also require separate RMC_POT and VASP installations.
pip install rmc-dft
rmc_dft install list
rmc_dft install run
list shows each bundled file with its category and a one-line description. install <category> copies the contents of the selected category to the current directory. Categories are analyze, check, edit, job, make, plot, run, and tools. install all copies all files into their category directories. Copies are selected by category. The command stops before copying if any destination exists. Use --force to overwrite.
The standalone RMC plotting scripts plot_fit.py, plot_hst.py, plot_ppcf.py, and plot_ppcf2.py are available from rmc_util 0.1.12. Scripts for comparing multiple runs or plotting combined RMC–VASP convergence remain available through rmc_dft install plot.
Preparing and running a combined calculation
- Run
rmc_dft install run. In the copiedconfig.yml, set the structure name, experimental data, executable paths, and VASP execution mode. For a fresh run, preparePOSCAR0, the RMC DAT and experimental data, and VASP's INCAR, KPOINTS, and POTCAR. - To update calculation settings immediately before runs, supply a
run_rmc_init()function inrmc_init.pyand arun_vasp_init()function inrmc_vasp_init.py. Thermc_init.pyfromrmc_utilandvasp_init.pyfromvasp_utilare starting points. Save the VASP file under the name the combined runner reads,rmc_vasp_init.py. Thescripts/run/category supplies the shared configuration and sequence template. Prepare integration init files separately. - Launch the runner from the working directory.
python -m rmc_dft.runners.rmc_vasp_script
The standard runner passes the RMC_POT result to VASP as POSCAR and uses the CFG generated during VASP postprocessing for the next RMC run. Results are saved in logNN_rmc and logNN_dft. Pass restart to the same module to select the next stage from the latest log name. Numbered init files (rmc_init_N.py and rmc_vasp_init_N.py) are read immediately before the matching run. Set CONTINUE_NUMBERED_INIT to keep those settings active in subsequent runs.
For a manual sequence, edit manual_sequence and continue_rmc_dft in rmc_vasp_script_sequence_dat.py, then run python -m rmc_dft.runners.rmc_vasp_script_sequence. Prepare the referenced numbered init files in the working directory.
The RmcDft class provides a Python API for alternating runs. The runners above manage numbered init files, restart, and manual sequencing. RMC_POT and VASP are the implemented backends. The longer-term design allows for other RMC engines and structural relaxation using machine-learned potentials.
Using existing examples
Some analysis and constraint-generation examples still reflect the package split. The examples under analyze/ and check/check_rmc_*.py refer to moved modules. make/make_analyze_qn.py and make/make_qn_fnc_top.py reference separate qn modules. The PBS examples under job/ have cluster-specific settings and an older local launcher path. Adapt those examples to your cluster and the current runner entry point.
Documentation
Metadata
Release files for rmc-dft 0.7.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rmc_dft-0.7.14.tar.gz | 67.0 kB | With provenance | Details for rmc_dft-0.7.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rmc_dft-0.7.14-py3-none-any.whl | Python 3 | none | any | Details for rmc_dft-0.7.14-py3-none-any.whl |
Total release size: 158.5 kB
Release files / rmc_dft-0.7.14.tar.gz
| Download URL | rmc_dft-0.7.14.tar.gz |
|---|---|
| Size | 67.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7a5a569aaeeab1bddb81691333db3f7acf9a54f76a7e9d4d529bb049ee5e572
|
|
BLAKE2b-256 checksum How to use checksums |
02810b8e1ea5a5884134e1820c54b8ee689a9e0c9b44b452257db3b266acdc5c
|
| 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 26, 2026.
Transparency logRelease files / rmc_dft-0.7.14-py3-none-any.whl
| Download URL | rmc_dft-0.7.14-py3-none-any.whl |
|---|---|
| Size | 91.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
63f6b55c36fbee224d0f75a741009ded3cd5831b13b67188fcfc89cb04b1e056
|
|
BLAKE2b-256 checksum How to use checksums |
98a066636db7bf7dd8be6d1530db0b6fa7c0252a2068075eb9dab5bdfbd470b3
|
| 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 26, 2026.
Transparency logSecurity for rmc-dft 0.7.14
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.
Attestation for rmc_dft-0.7.14.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 26, 2026.
Transparency logA 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.