The United States said Monday it was opposed to military cooperation with Iran in Iraq but was open to further talks, hours after Tehran said it had rejected US overtures to help in the fight against jihadists.