Ada : The PETSc library


Petsc is a library of functions written in C which permits managing vectors and sparse matrixes and solving the corresponding linear systems (often linked to partial derived equations) with direct or iterative solvers. Petsc also proposes non-linear solvers, resolution methods for differential equations and many other tools. In addition, Petsc allows using external packages.

Versions installed

Many versions are installed on Ada using real numbers and MUMPS (or HYPRE for some versions).

It is also possible to add complementary libraries to PETSc. For this, contact the User Support Team.


The library is accessed with the module command:

$ module load petsc

To know which versions are installed on the machine:

module avail petsc