An example of training a NEP potential on Pt@zeolite database and running a GPUMD simulation.
For installation instructions, please watch the second half of this video.
Please follows these links to learn more about NEP/GPUMD and PLUMED.
- Use the command
python3 1_train_test_split.py
to create the training data (train.xyz
) and testing data (test.xyz
). - After installing the GPUMD software, Edit the command in
run_NEP.sh
to'Path to your GPUMD folder'/src/nep
. This calls thenep
excecutable that you installed. - Run
sbatch run_NEP.sh
to train your NEP potential.
- Transfer the
nep.txt
file from your NEP training folder to the GPUMD folder (This is your forcefield). - Take an initial trajectory and save it as
model.xyz
(This can be easily done through ASE GUI). - Run the following commands to create an
initial_traj.pdb
for PLUMED. You can do it easily on the terminal by typingpython
.
from ase.io import read,write
read=read('model.xyz',index=':')
write=write('initial_traj.pdb',read,format="proteindatabank")
- Make sure that you have your own
plumed.dat
(for PLUMED) andrun.in
(for GPUMD) files. Example scripts already provided for reference in this repo. - Edit the command in
run_GPUMD.sh
to'Path to your GPUMD folder'/src/gpumd
. This calls thegpumd
excecutable that you installed. - Run
sbatch run_GPUMD.sh
to run your very own GPUMD based metadynamics simulation.