Thousands of people have fled to monasteries, schools or other places so that temporary settlements have been created.