Dear All,
I have two questions regarding using reset_atoms command in old LAMMPS versions and also updating the LAMMPS version.
I am following Simon tutorial on unbreakable bonds for Carbon nanotube elongation:
https://lammpstutorials.github.io/sphinx/build/html/tutorials/level1/breaking-a-carbon-nanotube.html
I am getting the error:
Unknown command: reset_atoms id sort yes (src/input.cpp:279)
Last command: reset_atoms id sort yes
My LAMMPS version is 23 Jun 2022 and I guess the error is because the command is new, So I want to update my lammps to the newest version.
(1. Is there any other way that this command is defind in 2022 version that I can use for now without updating the LAMMPS?)
(2. I used “brew install lammps” according to the lammps tutorial, and ran my input file again, but it still shows LAMMPS version 23 Jun 2022 and it did not install the new version. Could you please help me how to update my LAMMPS version to the newest ?)
Thanks a lot