  In this paper we consider the Toda system of equations on a compact surface,
which is motivated by the study of models in non-abelian Chern-Simons theory.
We prove a general existence result using variational methods. The same
analysis applies to a mean field equation which arises in fluid dynamics.
