how to generate eam/fs format potential file?

The EAM potential is generally used for solids where compression or
expansion is small, keeping rho(r) constant. In fact, when minimising using
the EAM potential, the lattice constant is adjusted such that rho(r) values
are satisfied.