For his part , Mr. Erdogan said Turkey seeks to end the use of Iraq as what he called a " virtual terrorism training ground . "