Hello Sreekant,
Regarding you question. The script I posted worked in Lammps-12Jan2007. So I believe the mass was expressed in different units back then. BTW, you do not need to compute the lattice parameter. The script was just an example.
Regards, Javier