LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] Fwd: reset_ids command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] Fwd: reset_ids command

From: Hyungmook Kang <hmkang@...633...>
Date: Thu, 26 Apr 2018 22:42:14 -0700

Thank you so much, Axel. 

I checked my version is the latest stable version Mar 16 2018 and the command was newly added at Mar 20, 2018. 
I understand I can use it when I update my lammps to the version.

However, was there a similar way to renumber atoms before the version release?
How could renumber atoms with molecular atom style?


On Thu, Apr 26, 2018 at 9:11 PM, Axel Kohlmeyer <akohlmey@...24...> wrote:

On Thu, Apr 26, 2018 at 11:01 PM, Hyungmook Kang <hmkang@...633...> wrote:
Dear lammps users,


I can't use compress keyword of delete atoms since I use molecular atom style.
So. I tried to use "reset_ids" command 

But I got an error on both linux and Mac envrionments.
ERROR: Unknown command: reset_ids (../input.cpp:246)

I checked my lammps is the lastly updated version.

​which version is that exactly?

have you looked at this page?


Could somebody let me know the way to solve this problem or another way to reset atom IDs?

​my updated executable does have the reset_ids command:

$ ~/compile/lammps/src/lmp_mpi
LAMMPS (20 Apr 2018)
  using 1 OpenMP thread(s) per MPI task
ERROR: Reset_ids command before simulation box is defined (../reset_ids.cpp:33)
Last command: reset_ids


Many Thanks

Check out the vibrant tech community on one of the world's most
engaging tech sites,!
lammps-users mailing list

Dr. Axel Kohlmeyer  akohlmey@...24...
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.