i have an error in calculation of cohesive energy

Hello
I am a new user of LAMMPS. I installed lammps-12Dec 18. I found many input script on websites and follow them but still there are occuring error . I am trying to use various typs of potential but its not working. i have input script like this…

clear
units metal
dimension 3LAMMPS (12 Dec 2018)
Lattice spacing in x,y,z = 4 4 4
Created orthogonal box = (0 0 0) to (4 4 4)
1 by 1 by 1 MPI processor grid
Created 4 atoms
Time spent = 0.000370979 secs
Replicating atoms …
orthogonal box = (0 0 0) to (4 4 4)
1 by 1 by 1 MPI processor grid
4 atoms
Time spent = 0.0001719 secs
ERROR: Unknown pair style eam (…/force.cpp:262)
Last command: pair_style eam

boundary p p p
atom_style atomic
atom_modify map array

lattice fcc 4
region box block 0 1 0 1 0 1 units lattice
create_box 3 box
create_atoms 1 box
replicate 1 1 1

pair_style eam
pair_coeff * * Ni_u3.eam

neighbor 0.3 bin
neigh_modify delay 5

compute eng all pe/atom
compute eatoms all reduce sum c_eng

reset_timestep 0
dump 1 all atom 50 dump_NiFCC_Or1.atom
thermo 10
thermo_style custom step pe lx ly lz press pxx pyy pzz c_eatoms
min_style cg
minimize 1e-25 1e-25 5000 10000

variable natoms equal “count(all)”
variable teng equal “c_eatoms”
variable length equal “lx”
variable echo equal “v_teng/v_natoms”

print “Total energy (ev) = {teng};" print "Number of atom = {natoms};”
print “Lattice constant (Angstroms) = {length};" print "Cohesive energy (ev) = {echo};”

print “All done!”

But… getting output like this…

LAMMPS (12 Dec 2018)
Lattice spacing in x,y,z = 4 4 4
Created orthogonal box = (0 0 0) to (4 4 4)
1 by 1 by 1 MPI processor grid
Created 4 atoms
Time spent = 0.000370979 secs
Replicating atoms …
orthogonal box = (0 0 0) to (4 4 4)
1 by 1 by 1 MPI processor grid
4 atoms
Time spent = 0.0001719 secs
ERROR: Unknown pair style eam (…/force.cpp:262)
Last command: pair_style eam

please comment
your guidance will very helpful for me.

Hello
I am a new user of LAMMPS. I installed lammps-12Dec 18. I found many input script on websites and follow them but still there are occuring error . I am trying to use various typs of potential but its not working. i have input script like this...

it helps enormously to read the manual:

axel.

oh, and as a new LAMMPS user, you should assume, that any
error/problem, that you encounter, is likely something that other new
users have encountered before. this mailing list has a public archive
dating back to 2005, so there are good chances, that you will find a
suitable answer or at least some pointers in there. typically, if you
go to a web search engine and type the word LAMMPS followed by the
error message, there is a good chance of finding a discussion on the
same or similar enough topic.

axel.