ERROR PAIR COEFF

hello dear
i’ve modified parameters of pair style and pair coeff.but again shows this error"“you must define pairstyle before pair coeff”…does any body have any idea?thanks

1122 atoms
748 bonds
374 angles
0 dihedrals
0 impropers

2 atom types
1 bond types
1 angle types
0 dihedral types
0 improper types

-12.498 12.43 xlo xhi
-12.397 12.45 ylo yhi
-12.304 12.371 zlo zhi

Masses

1 1.008
2 15.9994

Pair Coeffs

1 0.046 0.4000135 0.046 0.4000135
2 0.1521 3.150574 0.1521 3.150574

Hi,

Have you searched the related page?

http://lammps.sandia.gov/doc/Section_errors.html

you’re showing a portion of a data file and an input

script. But the script does not have a read_data

command. So it makes little sense.

Steve