Fearing powerful aftershocks, the government issued a "red alert" that warns people to take precautions, such as evacuating tall buildings. The alert stretches along the country's entire Pacific coast.