Package: petsc Version: 3.0.0 Severity: serious --- Please enter the report below this line. ---
here is a simple code #include <petsc/petsc.h> int main( int argc, char** argv ) { PetscInitialize( &argc, &argv, 0, 0 ); } now compile it like this: g++ -I/usr/include/mpi -I/usr/include/petsc -o t t.cpp -lpetsc hjere is what you get % ./t /tmp [0]PETSC ERROR: --------------------- Error Message ------------------------------------ [0]PETSC ERROR: Unable to open file! [0]PETSC ERROR: Unable to locate PETSc dynamic library You cannot move the dynamic libraries!! [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: Petsc Release Version 3.0.0, Patch 0, Fri Dec 19 22:02:38 CST 2008 [0]PETSC ERROR: See docs/changes/index.html for recent updates. [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. [0]PETSC ERROR: See docs/index.html for manual pages. [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: ./t on a linux-gnu named orphu by prudhomm Thu Apr 2 15:08:24 2009 [0]PETSC ERROR: Libraries linked from /home/hazelsct/petsc-3.0.0.dfsg/linux- gnu-c-opt/lib [0]PETSC ERROR: Configure run at Mon Mar 30 10:25:11 2009 [0]PETSC ERROR: Configure options --with-shared --with-dynamic --with- debugging=0 --useThreads 0 --with-mpi-dir=/usr/lib/openmpi --with-mpi-shared=1 --with-blas-lib=-lblas --with-lapack-lib=-llapack --with-umfpack=1 --with- umfpack-include=/usr/include/suitesparse --with-umfpack- lib="[/usr/lib/libumfpack.so,/usr/lib/libamd.so]" --with-superlu=1 --with- superlu-include=/usr/include/superlu --with-superlu-lib=/usr/lib/libsuperlu.so --with-spooles=1 --with-spooles-include=/usr/include/spooles --with-spooles- lib=/usr/lib/libspooles.so --with-hypre=1 --with-hypre-dir=/usr [0]PETSC ERROR: ------------------------------------------------------------------------ [0]PETSC ERROR: PetscInitialize_DynamicLibraries() line 97 in src/sys/dll/reg.c [0]PETSC ERROR: PetscInitialize() line 581 in src/sys/objects/pinit.c basically something went wrong in the installation of the dll, petsc has harcoded the path used for compilation (though debian/rules uses PETSC_INSTALL_DIR), the so libs are unusable at the moment. Am I perhaps missing something ? until 3.0 I never had any problems like that with petsc in Debian. This prevents using petsc (and slepc) hence the bug being serious --- System information. --- Architecture: amd64 Kernel: Linux 2.6.26-1-amd64 Debian Release: squeeze/sid 500 unstable ftp.fr.debian.org 500 stable volatile.debian.org 500 stable security.debian.org 500 stable ftp.fr.debian.org --- Package information. --- Depends (Version) | Installed =======================-+-=========== | -- Debian Developer Annecy - Grenoble Scientific computing related software