Iranian health officials have begun slaughtering thousands of birds along the country 's border with Turkey , in an attempt to prevent the spread of avian flu .