Palais--Smale Sequences for the Prescribed Ricci Curvature Functional