GPUMD-Wizard
GPUMD-Wizard provides Python workflows for atomistic structure preparation, material-property evaluation, and simulation setup. It uses ASE (Atomic Simulation Environment) objects and calculators to connect alloy and defect structures with property calculations, extended-XYZ datasets, and GPUMD runs.
Features
- Construct and perturb bulk, alloy, and defect structures using ASE objects.
- Evaluate material properties with ASE-compatible calculators, including equations of state, elastic constants, phonons, surfaces, and defects.
- Process extended-XYZ datasets and select candidate configurations for external potential-training workflows.
- Prepare GPUMD input files and run simulations, including irradiation workflows.
- Perform calculator-driven molecular dynamics and hybrid molecular-dynamics/Monte-Carlo sampling.
Tutorials
- Material-property calculations: worked scripts and selected outputs for EAM and NEP potentials.
- Structure and dataset generation: bulk alloys, perturbations, vacancies, and interstitial configurations.
- GPUMD workflows: relaxation, deformation, deposition, crystallization, and irradiation examples.
- Data-processing tools: scripts for preparing and inspecting external calculation data.
Installation
Python 3.10 or newer is required. Install the release from PyPI in a virtual environment:
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade gpumd-wizard==2.1.0
To install the current source from the main branch instead:
git clone --branch main https://github.com/Jonsnow-willow/GPUMD-Wizard.git
cd GPUMD-Wizard
python3 -m venv .venv
source .venv/bin/activate
python -m pip install .
On Windows, activate with .venv\Scripts\activate instead. Python dependencies
(ASE, NumPy, calorine, phonopy, spglib and Matplotlib) are installed automatically;
their version requirements are recorded in pyproject.toml.
GPUMD execution requires a separately installed GPUMD executable. LAMMPS-based tutorials require LAMMPS with its Python interface. These external programs are not needed for the quick example. NEP calculations additionally require a suitable potential file.
Quick example
This four-atom Cu example uses ASE's built-in EMT calculator on a CPU. Run it in a
scratch directory: property methods append results to MaterialProperties.out
and MaterialProperties.xyz in the current working directory.
from ase.calculators.emt import EMT
from wizard.structure.atoms import AlloyInfo
from wizard.calc.calculator import MaterialCalculator
atoms = AlloyInfo("Cu", "fcc", 3.61).create_bulk_atoms((1, 1, 1))
properties = MaterialCalculator(atoms, EMT(), clamped=True)
print("\n".join(properties.lattice_constant()))
With clamped=True, the reported lattice constants remain 3.6100 Å and the
volume is 11.761 ų/atom. Omit it to relax the structure before evaluation.
Authors:
| Name | contact |
|---|---|
| Jiahui Liu | liujiahui@zgci.ac.cn |
Citations
| Reference | cite for what? |
|---|---|
| [1] | NEP + ZBL |
| [2] | UNEP |
| [3] | MoNbTaVW |
| [4] | for any work that used GPUMD |
References
[1] Jiahui Liu, Jesper Byggmästar, Zheyong Fan, Ping Qian, and Yanjing Su, Large-scale machine-learning molecular dynamics simulation of primary radiation damage in tungsten, Phys. Rev. B 108, 054312 (2023).
[2] Keke Song, Rui Zhao, Jiahui Liu, Yanzhou Wang, Eric Lindgren, Yong Wang, Shunda Chen, Ke Xu, Ting Liang, Penghua Ying, Nan Xu, Zhiqiang Zhao, Jiuyang Shi, Junjie Wang, Shuang Lyu, Zezhu Zeng, Shirong Liang, Haikuan Dong, Ligang Sun, Yue Chen, Zhuhua Zhang, Wanlin Guo, Ping Qian, Jian Sun, Paul Erhart, Tapio Ala-Nissila, Yanjing Su, Zheyong Fan, General-purpose machine-learned potential for 16 elemental metals and their alloys, Nature Communications 15, 10208 (2024).
[3] Jiahui Liu, Jesper Byggmästar, Zheyong Fan, Bing Bai, Ping Qian, and Yanjing Su, Utilizing a machine-learned potential to explore enhanced radiation tolerance in the MoNbTaVW high-entropy alloy, Journal of Nuclear Materials, 156004 (2025).
[4] Ke Xu, Hekai Bu, Shuning Pan, Eric Lindgren, Yongchao Wu, Yong Wang, Jiahui Liu, Keke Song, Bin Xu, Yifan Li, Tobias Hainer, Lucas Svensson, Julia Wiktor, Rui Zhao, Hongfu Huang, Cheng Qian, Shuo Zhang, Zezhu Zeng, Bohan Zhang, Benrui Tang, Yang Xiao, Zihan Yan, Jiuyang Shi, Zhixin Liang, Junjie Wang, Ting Liang, Shuo Cao, Yanzhou Wang, Penghua Ying, Nan Xu, Chengbing Chen, Yuwen Zhang, Zherui Chen, Xin Wu, Wenwu Jiang, Esme Berger, Yanlong Li, Shunda Chen, Alexander J. Gabourie, Haikuan Dong, Shiyun Xiong, Ning Wei, Yue Chen, Jianbin Xu, Feng Ding, Zhimei Sun, Tapio Ala-Nissila, Ari Harju, Jincheng Zheng, Pengfei Guan, Paul Erhart, Jian Sun, Wengen Ouyang, Yanjing Su, Zheyong Fan, GPUMD 4.0: A high-performance molecular dynamics package for versatile materials simulations with machine-learned potentials, MGE Advances 3, e70028 (2025).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gpumd_wizard-2.1.0.tar.gz.
File metadata
- Download URL: gpumd_wizard-2.1.0.tar.gz
- Upload date:
- Size: 45.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f5ffa6870f497aa58ebd51123437c2a7e8e18e07030836bbbc6085d950b07dc
|
|
| MD5 |
2fd448cbdfb4b5d1b58379f194b3ad2a
|
|
| BLAKE2b-256 |
0d6f80d475f43a93cb2f5f62203cb1052f42361ce49f3cec22c57fcd0c7ff72f
|
File details
Details for the file gpumd_wizard-2.1.0-py3-none-any.whl.
File metadata
- Download URL: gpumd_wizard-2.1.0-py3-none-any.whl
- Upload date:
- Size: 49.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccbb505fdeabc169552fec04e5be5466af5aeb1da6f1e5567b120805e61a546e
|
|
| MD5 |
cd39f087393d2a10e816269e36832485
|
|
| BLAKE2b-256 |
25906f8b8224f49f843e06471a8a47a6e062b730ecef093f4d3266221962f347
|