janus is a collection of utility scripts for Machine Learnt Potential (MLP) workflows using SLURM for job submission, and interfacing with the following software:
Overall workflow is as follows:
For the functional details, see the notebooks in examples/example_directory/scripts
.
git clone https://github.com/MarsalekGroup/aml
cd aml
pyproject.toml
file e.g.:[tool.poetry]
name = "aml"
version = "1.0.0"
description = "This is a Python package to automatically build the reference set for the training of Neural Network Potentials (NNPs), and eventually other machine-learned potentials, in an automated, data-driven fashion. For that purpose, a large set of reference configurations sampled in a physically meaningful way (typically with molecular dynamics) is filtered and the most important points for the representation of the Potential Energy Surface (PES) are identified. This is done by using a set of NNPs, called a committee, for error estimates of individual configurations. By iteratively adding the points with the largest error in the energy/force prediction, the reference set is progressively extended and optimized."
authors = ["O Marsalek"]
[tool.poetry.dependencies]
mdtraj = "^1.9.6"
cd ..
git clone https://github.com/stfc/janus
cd janus
curl -sSL https://install.python-poetry.org | python3 -
poetry install
python3 setup.py build && python3 setup.py install
cd ..
git clone https://github.com/CompPhysVienna/n2p2
cd n2p2/src
make -j 4
cd ../..
git clone https://github.com/lammps/lammps
mkdir build; cd build
cmake ../cmake -D PGK_ML-HDNNP=yes -D N2P2_DIR=/path/to/n2p2/
cmake --build .