Problem in Bukingham potentials "Cannot set this attribute for this atom style"

Dear All

I was trying to create wurtzite structure and use Bukingham potential for GaN taking parameters
for the ‘pair_coeff’. I also set the value of charges but I am getting error which says “Cannot set this
attribute for this atom style”. Extract of my input file is below

Regards,

.
.
.

.

IIRC correctly, the default atom style in LAMMPS does’t support charges. Try setting your atom style to something like “charge”: http://lammps.sandia.gov/doc/atom_style.html

Niall

Dear All

I was trying to create wurtzite structure and use Bukingham potential for
GaN taking parameters
  for the 'pair_coeff'. I also set the value of charges but I am getting
error which says "Cannot set this
attribute for this atom style". Extract of my input file is below

if you want people to seriously look into your problem, always post a
*complete* input that can be run elsewhere. if you don't want to post
the exact system you are working on, then you can always make
something (small) up that exhibits the same issue. with only a partial
input, people will have to guess what is wrong (because it can be in
the part that is not copied) and thus are likely to give incomplete,
bad or wrong advice.

thanks,
     axel.