Pair coeff for hybrid has invalid style

Hi,

I am using the following commands for pair style and air coefficents in my input script -

########################POTENTIAL PARAMETER########################
pair_style hybrid sw lj/cut/coul/long 12.0
pair_modify mix arithmetic
bond_style harmonic
angle_style harmonic
dihedral_style opls
kspace_style pppm 1.0e-5
#kspace_modify slab 3.0
My potential parameter as following:

Si-Si interactions (sw potential)

pair_coeff * * Si.sw Si NULL
pair_coeff * * Si.sw Si NULL
pair_coeff * * Si.sw Si NULL
pair_coeff * * Si.sw Si NULL
pair_coeff * * Si.sw Si NULL
pair_coeff * * Si.sw Si NULL
pair_coeff * * Si.sw Si NULL
pair_coeff * * Si.sw Si NULL

Water-water interactions (Lennard-Jones)

pair_coeff 9 9 lj/cut/coul/long 0.046000 0.400014
pair_coeff 10 10 lj/cut/coul/long 0.152100 3.150574
pair_coeff 11 11 lj/cut/coul/long 0.024000 2.387609
pair_coeff 12 12 lj/cut/coul/long 0.046000 0.400014
pair_coeff 13 13 lj/cut/coul/long 0.078000 3.652685
pair_coeff 14 14 lj/cut/coul/long 0.192100 3.144872
pair_coeff 15 15 lj/cut/coul/long 0.066000 3.500000
pair_coeff 16 16 lj/cut/coul/long 0.053000 2.950000
pair_coeff 17 17 lj/cut/coul/long 0.140000 2.900000
But when I run the input script it is showing -
ERROR: Pair coeff for hybrid has invalid style (src/pair_hybrid.cpp:469)
Last command: pair_coeff * * Si.sw Si NULL

Can anyone tell me how to solve it? Thanks in advance.

Regards,
Arya

All the explanations are in the LAMMPS manual.
Please also study the forum guidelines to learn how to properly format your post and which information to provide.

BTW: you must be using an outdated LAMMPS version, because the error message you should be getting is:

ERROR: Expected hybrid sub-style instead of Si.sw in pair_coeff command (src/pair_hybrid.cpp:530)
Last command: pair_coeff * * Si.sw Si NULL