Thousands of Iranians have gathered in the southeastern city of Bam to mark Sunday 's one-year anniversary of the earthquake that claimed more than 31,000 lives and devastated the ancient city .