Re: [lammps-users] getting error when running code

Does your system have 2 atom types?
The (incorrect) line following the failing line suggests you have 3 atom types.
The eam/alloy pair style requires a single pair_coeff line with mappings for all atom types. see the pair style eam/alloy documentation. note the page also documents other EAM pair styles which differ in the format of files they can read.