Skip to content


The Scalable Library for Eigenvalue Problem computations is an extension of PETSc developed at the Universitat Politecnica de Valencia. SLEPc is freely available under a 2-clause BSD license.

Compiling and linking with SLEPc

  • module load slepc

To compile an application against the SLEPc libraries, load the slepc module and use the compiler wrappers cc, CC, and ftn in the usual way. Static libraries are available so no module is required at run time.

The SLEPc module defines SLEPC_DIR which locates the root of the installation.

Version history

  • Module slepc/3.18.3 installed as default May 2023 (PE 22.12)
  • Module slepc/3.14.1 recompiled May 2023 (PE 22.12)

Note: each SLEPc module depends on a PETSc module with the same minor version number.

  • Module slepc/3.14.1 installed October 2021 (PE 21.04)
  • Module slepc/3.13.2 installed January 2021

Compiling your own version

The version of SLEPc currently available on ARCHER2 can be compiled using a script available from the ARCHER2 github repository:

$ git clone
$ cd pe-scripts
$ git checkout modules-2022-12
$ ./sh/ --prefix=/path/to/install/location
The dependencies (including PETSc) can be built in the same way, or taken from the existing modules. See the ARCHER2 github repository for further information.


SLEPc home page

Latest release version of SLEPc user manual (PDF)

SLEPc Gitlab repository