A volcano erupted for the third time in as many months on the western Indonesian island of Sumatra, forcing hundreds of villagers to evacuate, officials said.