Installation#

SLEPc is available on some package managers. Select the tabs below to show the corresponding information. Note that some of them provide separate packages for the real and complex versions.

https://anaconda.org/conda-forge/slepc

$ conda install conda-forge::slepc

https://e4s.io/download.html

Extreme-scale Scientific Software Stack (E4S) provides container images for docker and singularity.

E4S packages are available as pre-built Spack binaries.

https://ports.macports.org/port/slepc/

$ sudo port install slepc

https://software.opensuse.org/package/slepc

$ sudo zypper install slepc

https://pypi.org/project/slepc/

release

$ python -m pip install numpy mpi4py
$ python -m pip install petsc petsc4py
$ python -m pip install slepc slepc4py

development

$ python -m pip install Cython numpy mpi4py
$ python -m pip install --no-deps https://gitlab.com/petsc/petsc/-/archive/main/petsc-main.tar.gz
$ python -m pip install --no-deps https://gitlab.com/slepc/slepc/-/archive/main/slepc-main.tar.gz

debug install

$ spack install slepc +debug

list available variants (configurations)

$ spack info

Alternatively, you can download and install it from source code, according to the following instructions: