MDDatasetBuilder
MDDatasetBuilder is a script to construct reference datasets for the training of neural network potentials from given LAMMPS trajectories.
Neural Network Based in Silico Simulation of Combustion Reactions, arXiv:1911.12252
Author: Jinzhe Zeng
Email: jzzeng@stu.ecnu.edu.cn
Installation
Firstly, the latest version of Anaconda or Miniconda shoule be installed. And then use conda to install openbabel:
conda install openbabel -c conda-forge
Then install mddatasetbuilder can be installed with pip:
pip install git+https://github.com/tongzhugroup/mddatasetbuilder
The installation process should be very quick, taking only a few minutes on a “normal” desktop computer.
Usage
Simple example
A LAMMPS dump file should be prepared. A LAMMPS bond file can be added for the addition information.
datasetbuilder -d dump.ch4 -b bonds.reaxc.ch4_new -a C H O -n ch4 -i 25
Here, dump.ch4 is the name of the dump file. bonds.reaxc.ch4_new is the name of the bond file, which is optional. C H O is the element in the trajectory. ch4 is the name of the dataset. 25 means the time step interval and the default value is 1.
Then you can generate Gaussian input files for each structure in the dataset and calculate the potential energy & atomic forces (assume the Gaussian 16 has already been installed.):
qmcalc -d dataset_ch4_GJf/000
qmcalc -d dataset_ch4_GJf/001
Next, prepare a DeePMD dataset and use DeePMD-kit to train a NN model.
preparedeepmd -p dataset_ch4_GJf -a C H O
cd train && dp train train.json
The runtime of the software depends on the amount of data. It is more suited to running on a server rather than desktop computer.
DP-GEN
The MDDatasetBuilder package has been integrated into DP-GEN software.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mddatasetbuilder-1.3.0.tar.gz.
File metadata
- Download URL: mddatasetbuilder-1.3.0.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e430b5a8e2e9c74b574f835845ccc1e821699bacbdb0109d1a1ea0b0ef29b56e
|
|
| MD5 |
81e85dbf70094a78fa2a0cf84b5b5bfd
|
|
| BLAKE2b-256 |
73f35d1e26e568239c0ea163e2452aeca159ebac75dfac475e9b21cd84728d79
|