Quake survivors huddle by a fire as temperatures drop in Sar-e Pol-e Zahab in western Iran
Tehran (AFP) - Tens of thousands of Iranians spent a second night in the open after a 7.3-magnitude quake struck near the border with Iraq, killing more than 400 people.
Residents who had fled their homes when Sunday's quake rocked the mountainous region spanning Iran's western province of Kermanshah and neighbouring Iraqi Kurdistan braved chilly temperatures as authorities struggled to get aid into the quake zone.
Iran has declared Tuesday a national day of mourning as officials outlined the most pressing priorities and described the levels of destruction in some parts as "total".
President Hassan Rouhani visited the city of Kermanshah on Tuesday and promised that the government would move swiftly to help those left homeless by the disaster.
"I want to assure those who are suffering that the government has begun to act with all means at its disposal and is scrambling to resolve this problem as quickly as possible," he said.
Rouhani said that all aid would be channelled through the Housing Foundation, one of the charitable trusts set up after the Islamic revolution of 1979 that are major players in the Iranian economy.
The head of the elite Revolutionary Guards, Major General Mohammad Ali Jafari, said the immediate need was for tents, water and food.
"Newly constructed buildings... held up well, but the old houses built with earth were totally destroyed," he told state television during a visit to the affected region.
The toll in Iran stood at 413 dead and 6,700 injured, while across the border in more sparsely populated areas of Iraq, the health ministry said eight people had died and several hundred were injured. Iraq's Red Crescent put the toll at nine dead.
Officials said they were setting up relief camps for the displaced and that 22,000 tents, 52,000 blankets and tonnes of food and water had been distributed. The official IRNA news agency said 30 Red Crescent teams had been sent to the area.
Hundreds of ambulances and dozens of army helicopters were reported to have joined the rescue effort after supreme leader Ayatollah Ali Khamenei ordered the government and armed forces to mobilise "all their means".
By late Monday, officials said all the roads in Kermanshah province had been reopened, although the worst-affected town of Sar-e Pol-e Zahab remained without electricity, state television reported.
At least 280 people were killed in the town, home to some 85,000 people. Crumpled vehicles lay under the rubble of flattened buildings on the streets.
- Totally destroyed -
The tremor shook several western Iranian cities including Tabriz and was also felt in southeastern Turkey, an AFP correspondent said. In the city of Diyarbakir, frightened residents ran out into the streets.
Several villages were totally destroyed in Iran's Dalahoo County, the Tasnim news agency reported. Five historical monuments in Kermanshah suffered minor damage, but the UNESCO-listed Behistun inscription from the seventh century BC was not affected, the ISNA news agency said.
In the Iraqi town of Darbandikhan, Nizar Abdullah spent Sunday night with neighbours sifting through the ruins of a two-storey home next door after it crumbled into concrete debris.
"There were eight people inside," the 34-year-old Iraqi Kurd said.
Some family members managed to escape, but "neighbours and rescue workers pulled out the mother and one of the children dead from the rubble".
The quake, which struck at a relatively shallow depth of 23 kilometres (just over 15 miles), was felt for about 20 seconds in Baghdad, and for longer in other provinces of Iraq, AFP journalists said.
It struck along a 1,500-kilometre (950-mile) fault line between the Arabian and Eurasian tectonic plates, which extends through western Iran and northeastern Iraq.
The area sees frequent seismic activity.
In 1990, a 7.4-magnitude quake in northern Iran killed 40,000 people, injured 300,000 and left half a million homeless, reducing dozens of towns and nearly 2,000 villages to rubble.
Thirteen years later, a catastrophic quake flattened swathes of the ancient southeastern Iranian city of Bam, killing at least 31,000.
Iran has experienced at least two major quake disasters since -- one in 2005 that killed more than 600 people and another in 2012 that left some 300 dead.