  Tsunami-risk and flood-risk mitigation planning has particular importance for
communities like those of the Pacific Northwest, where coastlines are extremely
dynamic and a seismically-active subduction zone looms large. The challenge
does not stop here for risk managers: mitigation options have multiplied since
communities have realized the viability and benefits of nature-based solutions.
To identify suitable mitigation options for their community, risk managers need
the ability to rapidly evaluate several different options through fast and
accessible tsunami models, but may lack high-performance computing
infrastructure. The goal of this work is to leverage the newly developed
Google's Tensor Processing Unit (TPU), a high-performance hardware accessible
via the Google Cloud framework, to enable the rapid evaluation of different
tsunami-risk mitigation strategies available to all communities. We establish a
starting point through a numerical solver of the nonlinear shallow-water
equations that uses a fifth-order Weighted Essentially Non-Oscillatory method
with the Lax-Friedrichs flux splitting, and a Total Variation Diminishing
third-order Runge-Kutta method for time discretization. We verify numerical
solutions through several analytical solutions and benchmarks, reproduce
several findings about one particular tsunami-risk mitigation strategy, and
model tsunami runup at Crescent City, California whose topography comes from a
high-resolution Digital Elevation Model. The direct measurements of the
simulations performance, energy usage, and ease of execution show that our code
could be a first step towards a community-based, user-friendly virtual
laboratory that can be run by a minimally trained user on the cloud thanks to
the ease of use of the Google Cloud Platform.
