Authorities in Afghanistan have ended the search for survivors of an earthquake that struck on Wednesday and has killed more than 1,000 people, a senior official said on Friday, adding that supplies of medicine and other critical aid were inadequate.