Turing : 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.

Versions installed

The default version on Turing is version 3.3-p5 with real numbers. Also available is version 3.4.2 with hypre, version 3.4.4, version 3.5.1 and version 3.5.2.

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


The module command must be used.

$ module load petsc
(load) PETSc version 3.3-p5