At least 24 Iraqis have been killed and dozens of others wounded in Baghdad as rains of mortar and rocket attacks started hitting the country since polling stations opened early Sunday.