I don't know what "pressure of a molecule" means
and I doubt that computing its Fcm is useful in a
If I were you, I would convince yourself that you
can calculate what you want in a post-processing
sense (e.g. using a dump file), before worrying
about how to do it within LAMMPS.