  We study a set of cohomology classes which emerge in the cohomological
formulations of the calculus of variations as obstructions to the existence of
(global) solutions of the Euler--Lagrange equations of Chern--Simons gauge
theories in higher dimensions $2p+1 > 3$.
