close and finalize LAMMPS instance in MLIAP example python scripts
This commit is contained in:
@ -103,6 +103,8 @@ model = torch.load(torch_model)
|
||||
|
||||
# Connect the PyTorch model to the mliap pair style.
|
||||
lammps.mliap.load_model_kokkos(model)
|
||||
|
||||
|
||||
# run the simulation with the mliap pair style
|
||||
lmp.commands_string(after_loading)
|
||||
lmp.close()
|
||||
lmp.finalize()
|
||||
|
||||
Reference in New Issue
Block a user