Officials say the rains destroyed thousands of homes .