Rescuers had to struggle to help survivors and recover the dead from the hard-to-reach area in Pasamayo, about 43 miles north of Lima.