This paper presents the development of a general-purpose parallel ocea
n circulation model, for use on a wide range of computer platforms, fr
om traditional scalar machines to workstation clusters and massively p
arallel processors. Parallelism is provided, as a modular option, via
high-level message-passing routines, thus hiding the technical intrica
cies from the user. An initial implementation highlights that the para
llel efficiency of the model is adversely affected by a number of fact
ors, for which optimisations are discussed and implemented. The result
ing ocean code is portable and, in particular, allows science to be ac
hieved on local workstations that could otherwise only be undertaken o
n state-of-the-art supercomputers.