nobody here is likely to take your files and review your work and correct it for you.
“different results” is not enough of an indicator of a bug in the LAMMPS code and not enough of a hint to know where to start looking for it.
sorry, you’ll have to keep digging and try to narrow it down some more,
axel.