Solving the Shallow Water Equations on the Cray X-MP/48 and the Connection Machine 2

The shallow water equations in Cartesian coordinates and two dimensions are solved on the Connection Machine 2 (CM-2) using both the spectral and finite difference methods. A description of these implementations is presented together with a brief discussion of the CM-2 as it relates to these specific computations. The finite difference code was written both in C* and *LISP and the spectral code was written in *LISP. The performance of the codes is compared with a FORTRAN version that was optimized for the Cray XMP/48.