Lammps "No bonds allowed with this atom style"

Hi everybody,
In my data file, I defined bonds, angles, dihedrals and charges, so I use “atom_style full”. But Lammps said “No bonds allowed with this atom style”.
I have two types of atoms:

  • the fisrt: bonds, angles and dihedrals
  • the second: charges

Can you have some suggestion? Can we define an ID for the atom_style?

Thanks.

Hi everybody,
In my data file, I defined bonds, angles, dihedrals and charges, so I use
"atom_style full". But Lammps said "No bonds allowed with this atom style".
I have two types of atoms:
- the fisrt: bonds, angles and dihedrals
- the second: charges
Can you have some suggestion? Can we define an ID for the atom_style?

most likely you are making a mistake somewhere. without seeing the
input deck, however, there is little else to do than guessing.
my best guess would be that you don't define the atom style before
reading the data file.

axel.