ERROR on proc 0: 1-3 bond count is inconsistent

Dear LAMMPS users,

When I try to run my script I get the message: “ERROR on proc 0: 1-3 bond count is inconsistent (…/special.cpp: 299)”. According to the LAMMPS documentation I probably made some errors in the Bonds section of my input file, although to my believe all bonds are implemented correctly. How should I solve this error?

Please find the entire message below and the input file in attachment.

WARNING: OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (…/comm.cpp:90)

using 1 OpenMP thread(s) per MPI task

Reading data file …

orthogonal box = (-20 -20 -20) to (70 70 100)

1 by 1 by 1 MPI processor grid

reading atoms …

2009 atoms

scanning bonds …

3 = max bonds/atom

scanning angles …

5 = max angles/atom

reading bonds …

1768 bonds

reading angles …

1609 angles

Finding 1-2 1-3 1-4 neighbors …

Special bond factors lj: 0 0 0

Special bond factors coul: 0 0 0

4 = max # of 1-2 neighbors

10 = max # of 1-3 neighbors

ERROR on proc 0: 1-3 bond count is inconsistent (…/special.cpp:299)

Kind regards,

Tim

input_LAMMPS.dat (171 KB)

Dear LAMMPS users,

When I try to run my script I get the message: “ERROR on proc 0: 1-3 bond
count is inconsistent (../special.cpp: 299)”. According to the LAMMPS
documentation I probably made some errors in the Bonds section of my input
file, although to my believe all bonds are implemented correctly. How should
I solve this error?

this is misleading. actually, the error is more likely in the "Angles"
section. you probably have angles, where two atom ids are the same,
which is incorrect.
if you upgrade LAMMPS to the latest version (16 March 2018 currently),
you should receive a more specific error message, as a check
specifically for this topology issue has been added to the code.

axel.