Both countries advise people on the coast to move away from water after waves cross ocean from South Pacific.