Regarding force calculation using LAMMPS

Dear all,

I would like to calculate the forces on each atom for a given configuration and a EAM potential file (setfl format &alloy system ). Using LAMMPS it is possible. I want to know how LAMMPS calculate the forces from EAM potential .please consider my request.

Thanking you

and with best regards