## Abstract

Two paradigms for distributed-memory parallel computation that free the application programmer from the details of message passing are compared for an archetypal structured scientific computation - a nonlinear, structured-grid partial differential equation boundary value problem - using the same algorithm on the same hardware. Both paradigms, parallel libraries represented by Argonne's PETSc, and parallel languages represented by the Portland Group's HPF, are found to be easy to use for this problem class, and both are reasonably effective in exploiting concurrency after a short learning curve. The level of involvement required by the application programmer under either paradigm includes specification of the data partitioning (corresponding to a geometrically simple decomposition of the domain of the PDE). Programming in SPMD style for the PETSc library requires writing the routines that discretize the PDE and its Jacobian, managing subdomain-to-processor mappings (affine global-to-local index mappings), and interfacing to library solver routines. Programming for HPF requires a complete sequential implementation of the same algorithm, introduction of concurrency through subdomain blocking (an effort similar to the index mapping), and modest experimentation with rewriting loops to elucidate to the compiler the latent concurrency. Correctness and scalability are cross-validated on up to 32 nodes of an IBM SP2.

Original language | English (US) |
---|---|

Pages (from-to) | 415-423 |

Number of pages | 9 |

Journal | Advances in Engineering Software |

Volume | 29 |

Issue number | 3-6 |

DOIs | |

State | Published - Jan 1 1998 |

## Keywords

- Nonlinear elliptic boundary value problems
- Parallel languages
- Parallel libraries
- Parallel scientific computing

## ASJC Scopus subject areas

- Software
- Engineering(all)