How to use eam potential function

dear sir

After exporting the metal atom data file with MS, can I use eam potential for simulation. If so, how to use it?The output of my simulation is as follows:
dimension 3
boundary p p f
units real
atom_style full
neighbor 2.0 multi
neigh_modify delay 5
bond_style class2
angle_style class2
dihedral_style class2#
improper_style class2#
pair_style hybrid eam/fs lj/class2/coul/cut 10
read_data 6nm.data

pair_coeff 1 1 Fe_mm.eam.fs Fe Fe
pair_coeff 1 2 lj/class2/coul/cut 0.00172357 3.4927 10
pair_coeff 1 3 lj/class2/coul/cut 0.002521 2.7794 10
pair_coeff 1 4 lj/class2/coul/cut 0.0013844 2.7794 10
pair_coeff 2 2 lj/class2/coul/cut 0.062 3.854 10
pair_coeff 2 3 lj/class2/coul/cut 0.00005535 3.52626 10
pair_coeff 2 4 lj/class2/coul/cut 0.0000304 3.854 10
pair_coeff 3 3 lj/class2/coul/cut 0.023 2.878 10
pair_coeff 3 4 lj/class2/coul/cut 0.0000445 3.52626 10
pair_coeff 4 4 lj/class2/coul/cut 0.04 3.854 10

group Fe1 id 1:1200
group Fe2 id 1201:2400

fix 1 all nvt temp 300 300 10

thermo_style custom step etotal ke temp pe press density
thermo 2000
timestep 1
dump 1 all xyz 1000 sample.xyz
run_style respa 2 2 pair 1 kspace 2
run 50000

ERROR: Pair coeff for hybrid has invalid style (src/pair_hybrid.cpp:420)
Last command: read_data 6nm.data

Looking forward to your reply.

dear sir

After exporting the metal atom data file with MS, can I use eam potential for simulation. If so, how to use it?The output of my simulation is as follows:

please see the LAMMPS manual for how to set pair_coeff settings for the eam/fs in the EAM pair style docs and then in the pair style hybrid docs for how to modify these settings when using a hybrid pair style. your line is bogus and violating multiple required conditions.

however, this is not the cause for the error you are seeing. this is caused by having a PairCoeff section in your data file that does not account for using a hybrid pair style. you best remove that section from the data file and use pair_coeff commands exclusively to set interaction parameters.

axel.