[lammps-users] Question with the use of GaN.sw potential file

I want to use GaN.sw in my simulation and I input it like the following as the manual said:

pair_style sw
pair_coeff * * …/…/potentials/GaN.sw Ga N Ga

After I start the simulation, I get such error:

ERROR: Incorrect args for pair coefficients

Could anyone help me with this problem? Thanks.

Wei

Do you have 3 atom types in your system? If not,
that's not correct syntax.

Steve