Curvature of a Riemannian metric on compact homogeneous manifolds