Basic Installation Instructions
The following is a quick-start guide for installing SLEPc. For further details, the user is referred to the SLEPc Users Manual.
Previously to the installation of SLEPc, the system must have an appropriate version of PETSc installed (see the PETSc installation documentation for details). Check the Changes section for a list of SLEPc versions and their corresponding PETSc versions.
The installation process for SLEPc is very similar to PETSc, with two main stages: configuration and compilation. SLEPc configuration is much simpler because most of the configuration information is taken from PETSc, including compiler options and scalar type (real or complex). Several configurations can coexist in the same directory tree, being selected by different values of PETSC_ARCH
, so that one can, for instance, have a SLEPc compiled with real scalars and another one with complex scalars.
The main steps for the installation are:
tar xzf slepc-3.22.0.tar.gz
.
This will create a directory and unpack the software there.SLEPC_DIR
to the full path of the SLEPc home directory, for example,export SLEPC_DIR=/home/username/slepc-3.22.0
PETSC_DIR
and PETSC_ARCH
must also be set appropriately../configure
./configure --help
make
--prefix
in step 3 above), then typemake install
make check
Optional Software
SLEPc provides an interface to several software packages. These should be installed before installing SLEPc. These packages are not developed, maintained, or supported by the SLEPc team; we merely provide an interface to them. To integrate one of these libraries in SLEPc:
configure
. For example, to use ARPACK, specify the following options (with the appropriate paths):./configure --with-arpack-dir=/usr/software/ARPACK
SLEPc currently interfaces to the following libraries:
Additional information about these packages can be found in the SLEPc Users Manual.