Skip to main navigation Skip to search Skip to main content

Developing a geodynamics simulator with PETSc

  • Columbia University
  • Argonne National Laboratory

Research output: Chapter in Book/Report/Conference proceedingChapterpeer-review

8 Scopus citations

Abstract

Most high-performance simulation codes are not written from scratch but begin as desktop experiments and are subsequently migrated to a scalable, parallel paradigm. This transition can be painful, however, because the restructuring required in conversion forces most authors to abandon their serial code and begin an entirely new parallel code. Starting a parallel code from scratch has many disadvantages, such as the loss of the original test suite and the introduction of new bugs. We present a disciplined, incremental approach to parallelization of existing scientific code using the PETSc framework. In addition to the parallelization, it allows the addition of more physics (in this case strong nonlinearities) without the user having to program anything beyond the new pieces of discretization code. Our approach permits users to easily develop and experiment on the desktop with the same code that scales efficiently to large clusters with excellent parallel performance. As a motivating example, we present work integrating PETSc into an existing plate tectonic subduction code.

Original languageEnglish
Title of host publicationNumerical Solution of Partial Differential Equations on Parallel Computers
PublisherSpringer Verlag
Pages413-438
Number of pages26
ISBN (Print)9783540290766
DOIs
StatePublished - 2006

Publication series

NameLecture Notes in Computational Science and Engineering
Volume51
ISSN (Print)1439-7358

Fingerprint

Dive into the research topics of 'Developing a geodynamics simulator with PETSc'. Together they form a unique fingerprint.

Cite this