关键词:
Java
parallel programs
Navier-Stokes
摘要:
The Java programming language has a number of features that make it attractive for writing high-quality, portable parallel programs. Aobject formulation, strong typing and the exception model make programs easier to create, debug and maintain. The elegant threading provides a simple route to parallelism on shared-memory machines. Anticipating great improvements in numerical performance, this paper presents a suite of simple programs that indicate how a pure Java Navier-Stokes solver might perform. The suite includes a parallel Euler solver. We present results from a 32-processor Hewlett-Packard machine and a 4-processor Sun server. While speedup is excellent on both machines, indicating a high-quality thread scheduler, the single-processor performance needs much improvement. (C) 2000 Published by Elsevier Science Ltd. Ail lights reserved.