It seems the following is missed in compute_centro_atom.h from the
current version of LAMMPS:
1) at the beginning
#ifdef COMPUTE_CLASS
ComputeStyle(centro/atom,ComputeCentroAtom)
#else
2) at the end
#endif
So it leads to compute centro/atom doesn't work with the message
'Invalid compute style'.
With best regards,
Alexey Kuksin