[Pkg-scicomp-commits] slepc/trunk/debian
Johannes Ring
johannr at simula.no
Tue Mar 31 12:27:13 UTC 2009
SVN commit 4341 by johannr-guest:
Removed now invalid README.source and updated README.Debian with instructions on how to build against SLEPc.
M +28 -6 slepc/trunk/debian/README.Debian
D slepc/trunk/debian/README.source
--- slepc/trunk/debian/README.Debian #4340:4341
@@ -1,11 +1,33 @@
-slepc for Debian
+SLEPc for Debian
----------------
-Compile your files with:
+This source package includes the following binary packages:
-gcc -I/usr/include/slepc -I/usr/include/petsc -I/usr/include/mpi -c -o ex1.o ex1.c
-gcc -o ex1 ex1.o -lpetsc -lpetscksp -lpetscmat -lpetscvec -lslepc
+ libslepc3.0.0 - shared libraries
+ libslepc3.0.0-dev - static libraries, shared links, and header files
+ libslepc3.0.0-dbg - static debugging libraries
+ slepc3.0.0-doc - documentation and examples
-Note: the ex1.c can be found in /usr/share/doc/libslepc2.3.3-dev/examples
+With libslepc3.0.0-dev installed, you can build programs against it two ways:
- -- Christophe Prud'homme <prudhomm at debian.org>, Tue, 28 Oct 2008 06:37:08 +0100
+ 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.0.0. To link against the static
+ debugging libs in libslepc3.0.0-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.0.0-doc package comes with the full source code of the SLEPc
+examples. Just do:
+
+ tar xzf /usr/share/doc/slepc3.0.0-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.
More information about the Pkg-scicomp-commits
mailing list