PAUL N. SWARZTRAUBER
Ported to OpenACC by Mathew Colgrove from SPEC OMP2012 363.swim
Swim is a weather prediction benchmark program for comparing the performance of current supercomputers. The swim code is a finite-difference approximation of the shallow-water equations and is known to be memory bandwidth limited. It computes on a 1335x1335 area array of data and iterates over 512 timesteps.
It does a 2000x2000 area array of data and iterates over 6500 timesteps.
It prints the diagonal elements of the velocity field.
Robert Sadourny, The Dynamics of Finite-Difference Models of the Shallow-Water Equations, J. Atm. Sciences, Vol 32, NO 4, April 1975. DOI
G.-R. Hoffmann, P. N. Swarztrauber, and R. A. Sweet, Aspects of using multiprocessors for meteorological modeling, In: Multiprocessing in Meteorological Models, G.-R. Hoffman and D.F. Snelling, eds., Springer-Verlag, 1988, pp. 125-196.