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.pyto create the training data (train.xyz) and testing data (test.xyz). - After installing the GPUMD software, Edit the command in
run_NEP.shto'Path to your GPUMD folder'/src/nep. This calls thenepexcecutable that you installed. - Run
sbatch run_NEP.shto train your NEP potential.
- Transfer the
nep.txtfile 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.pdbfor 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.shto'Path to your GPUMD folder'/src/gpumd. This calls thegpumdexcecutable that you installed. - Run
sbatch run_GPUMD.shto run your very own GPUMD based metadynamics simulation.