I was running a simulation in LAMMPS but got the error :Unexpected empty line in BondCoeffs section (src/read_data.cpp:1821) Last command: read_data data.CdS_water1

LAMMPS (23 Jun 2022 - Update 2)
OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:98)
using 1 OpenMP thread(s) per MPI task
Reading data file …
orthogonal box = (-100.5 -100.5 -100.5) to (100.5 100.5 100.5)
1 by 1 by 1 MPI processor grid
ERROR: Unexpected empty line in BondCoeffs section (src/read_data.cpp:1821)
Last command: read_data data.CdS_water1
this was the complete error I got.
also attaching the data file
data.CdS_water1 (888.3 KB)

i had gone through the LAMMPS documentation,but couldn’t find the error.
it would be very much helpful if someone could find the error.
Unni Krishnan

Your data file header says there are 3 bond types, but your BondCoeffs section only has 2 entries, hence the spot-on error message that there is an empty line where there should be one with bond coeffs data.