SLEPc for Debian ---------------- This source package includes the following binary packages: libslepc3.2 - shared libraries libslepc3.2-dev - static libraries, shared links, and header files libslepc3.2-dbg - static debugging libraries slepc3.2-doc - documentation and examples With libslepc3.2-dev installed, you can build programs against it two ways: 1. Standard build convention: use -I/usr/include/slepc for headers and link to optimized libraries in /usr/lib, so your resulting binaries will only depend on libslepc3.2. To link against the static debugging libs in libslepc3.2-dbg, add -L/usr/lib/slepc/lib/libg when linking and set LD_LIBRARY_PATH to /usr/lib/slepc/lib/libg. 2. PETSc/SLEPc build convention: modify the makefile from the one in their examples directory and build with PETSC_DIR=/usr/lib/petsc PETSC_ARCH=`petscarch` \ PETSC_LIB_DIR=$PETSC_DIR/$PETSC_ARCH/lib SLEPC_DIR=/usr/lib/slepc \ SLEPC_LIB_DIR=$SLEPC_DIR/$PETSC_ARCH/lib make The slepc3.2-doc package comes with the full source code of the SLEPc examples. Just do: tar xzf /usr/share/doc/slepc3.2-doc/src.tar.gz then cd src/examples, and use the PETSc/SLEPc build convention make command above. See also README.Debian in the PETSc package for more releated notes.