University of Minnesota
University Relations

Minnesota Supercomputing Institute

Log out of MyMSI

Tutorial Details: Hands-on PETSc Tutorial

Date: Monday, September 30, 2013, 09:00 am - 04:00 pm
Location: 575 Walter

Invited Speaker: Matthew G. Knepley, University of Chicago

Dr. Knepley is an author of the widely used PETSc library for scientific computing from ANL, and is a principal designer of the PyLith library for the solution of dynamic and quasi-static tectonic deformation problems.

Abstract PETSc, is a suite of data structures and routines for the scalable parallel solution of scientific applications, often modeled by partial differential equations. It supports MPI, shared memory pthreads, and GPUs, as well as hybrid MPI-shared memory pthreads or MPI-GPU parallelism. In this tutorial, we will cover basic sparse parallel linear algebra, as well as linear and nonlinear algebraic solvers, and timestepping. Students will learn to use the dynamic configuration object system in PETSc, and use it to assemble hierarchical, multilevel solvers for multiphysics problems. We will also learn to debug and profile the resulting applications.

The Morning session will cover Basic Usage: • Vectors and Matrices • Generic Solver Setup • Dynamic Object Configuration • Debugging and Profiling

The Afternoon session will cover Advanced Usage: • Structured Meshes using DMDA • Linear Preconditioning • Structured Linear Multigrid • Block Preconditioners • Nonlinear Solvers • Nonlinear Preconditioners • Timestepping

Notes: • Participants are invited to bring their own laptops to the tutorial • Participants should visit the PETSc Website,, and install PETSc. You can install the latest release, but the most up-to-date snapshot is preferred, which would use the 'git checkout next' branch and is available at the following link, • Detailed information on the speaker and related material can be found here: