In cities across the country, clashes erupted as Morsi supporters tried to storm local government buildings or military facilities.