Incorrect atom format in data files emerges when add atoms to the system

Dear user
After a minimization, I acquire the restart file (restart.a1).
Then, I need to add a group of atoms to the system for subsequent running and the added atoms has been written in a data file (bullet.data )
However, the problem arose after the following two commands were executed ( ERROR: Incorrect atom format in data files)

read_restart restart.a1
read_data bullet.data add merge group bullet

I haved used this command in the past many times, so I thought it was ok. I check the bullet.data and still cannot find out what’s wrong.
best regards

Here is my bullet.data:

10 atoms
1 atom types

84 150 xlo xhi
84 150 ylo yhi
10 40 zlo zhi

Atoms # bond

2161 3 3 101.266500000 100.545000000 25.003000000
2162 3 3 99.488500000 102.323000000 25.003000000
2163 3 3 101.266500000 102.323000000 23.225000000
2164 3 3 102.155500000 101.434000000 24.114000000
2165 3 3 104.822500000 100.545000000 25.003000000
2166 3 3 103.044500000 100.545000000 23.225000000
2167 3 3 103.044500000 102.323000000 25.003000000
2168 3 3 104.822500000 102.323000000 23.225000000
2169 3 3 100.377500000 103.212000000 24.114000000
2170 3 3 101.266500000 104.101000000 25.003000000

Dear user
After a minimization, I acquire the restart file (restart.a1).
Then, I need to add a group of atoms to the system for subsequent running and the added atoms has been written in a data file (bullet.data )
However, the problem arose after the following two commands were executed ( ERROR: Incorrect atom format in data files)

read_restart restart.a1
read_data bullet.data add merge group bullet

I haved used this command in the past many times, so I thought it was ok. I check the bullet.data and still cannot find out what’s wrong.

what is the atom style that the data in the restart file is stored in?
if it doesn’t match with the format the data file, you would get this error.

axel.

Thank you for your reply.
According to the manuals, the atom style information has been included in a restart file . I guess that’s not the point
Best regards

在 2018-10-28 20:38:34,“Axel Kohlmeyer” <akohlmey@…24…> 写道:

Thank you for your reply.
According to the manuals, the atom style information has been included in a restart file . I guess that’s not the point

you are missing the point here. the error message you quote indicates that your restart file uses a different at style than the data file your try to add.

have you tried reading the data file by itself? with the proper setting of atom style etc.?

you provide extremely little information here and it is impossible to determine exactly what your issue is because of that.
the situation is very simple: if you believe this is LAMMPS’ fault, then you have to do a much better job at providing convincing proof for it. statistics are against you. most people that report issues like yours in the style you do, are making mistakes (and not documenting them well enough to resolve them from remote).

axel.

axel.