kinetic energy per atom in rigid molecule

Hello Lammps users,

How to calculate the kinetic energy per atom of system of carbon dioxide molecules CO2 ( CO2 is rigid molecule )

My Regards