Use compute ke/atom to get the kinetic energy for each atom, then use an atom style variable to get the temperature from that.
Use compute ke/atom to get the kinetic energy for each atom, then use an atom style variable to get the temperature from that.