Dear Prof. Ceriotti,
Thank you very much for telling me how to fix the center of mass motion. I am very new to PIMD simulations and I didn't know that for multiple beads constraining the rotation is not a defined problem. However, I would like to use PIMD mostly to compare the vibrational properties of molecules. In my previous experience with classical MD of small isolated molecules (eg one N2 molecule in a box), I saw the molecule is rotating very fast. Consequently, while the rotational temperature is way higher, the vibrational temperature is way lower than the target temperature. Moreover, in the VDOS calculated from the velocity autocorrelation, I found a peak ~70-100 cm-1 at ~1000K and this is probably not real since rotational wavenumbers are usually in the microwave region. This problem wasn't severe if I constrain the rotation.
I haven't started PIMD simulations yet, however, I am trying to imagine what could be the effect of uncontrolled rotations of the molecules in the PIMD trajectory. As you suggested, projecting out the rotation by post-processing is, probably, the way to go.
Thanks,
Arpan