Generic properties of singularly perturbed nonlinear elliptic problems on Riemannian manifold