Bug#699894: [petsc] please add shared library to dbg package

trophime christophe.trophime at lncmi.cnrs.fr
Wed Feb 6 12:34:30 UTC 2013


Package: petsc
Version: 3.2
Severity: normal

It will be great to have also a shared library for petsc in dbg package
Right now there is only a static library in /usr/lib/petscdir/3.2/linux-c-debug

You can use the attached debian/rules(*) to get it build.
Note that we have to touch the shared library in /usr/lib/petscdir/3.2/linux-c-debug
to assure it is more recent than the static library. This is required by builtin petsc
mechanism (see /usr/lib/petscdir/3.2/conf/rules). If we do not do that any code linked 
with the shared lib in /usr/lib/petscdir/3.2/linux-c-debug will fail with an message 
complaining about out of date shared libs.

(*) contains also support for fftw3 (see debian/control attached)

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.2.0-4-amd64

Debian Release: 7.0
  500 wheezy          neuro.debian.net 
  500 testing-proposed-updates ftp.fr.debian.org 
  500 testing         security.debian.org 
  500 testing         http.us.debian.org 
  500 testing         ftp.fr.debian.org 
  500 testing         euler.lcmi.local 
  500 stable          dl.google.com 
  500 squeeze         apsy.gse.uni-magdeburg.de 
  500 intrepid        ppa.launchpad.net 
  500 data            neuro.debian.net 
  500 data            apsy.gse.uni-magdeburg.de 

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.

-- 


Christophe TROPHIME
Research Engineer

LNCMI
CNRS - LNCMI
25, rue des Martyrs
BP 166
38042 GRENOBLE Cedex 9
FRANCE
CNRS

Tel : +33 (0)4 76 88 90 02 
Fax : +33 (0) 4 76 88 10 01
Office U 19 
M at il : christophe.trophime at lncmi.cnrs.fr 
________________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rules
Type: text/x-makefile
Size: 25328 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20130206/8cefd222/attachment-0001.bin>
-------------- next part --------------
Source: petsc
Section: devel
Priority: extra
Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: "Adam C. Powell, IV" <hazelsct at debian.org>
DM-Upload-Allowed: yes
Standards-Version: 3.9.2
Build-Depends: debhelper (>= 5.0), quilt, python (>= 2.2), gfortran, automake,
 libx11-dev, mpi-default-dev, mpi-default-bin,
 libblas-dev, liblapack-dev,
 libsuitesparse-dev (>= 3.1.0-2),
 libspooles-dev (>= 2.2-6), libhypre-dev (>= 2.4.0), libptscotch-dev,
 libhdf5-mpi-dev (>= 1.8.8),
 libblacs-mpi-dev, libscalapack-mpi-dev, libmumps-dev,
 libpastix-dev, libfftw3-dev, libfftw3-mpi-dev
Build-Conflicts: libatlas3gf-base, libatlas-base-dev, cmake, lam4-dev
Vcs-Git: git://git.debian.org/git/debian-science/packages/petsc.git
Vcs-Browser: http://git.debian.org/?p=debian-science/packages/petsc.git
Homepage: http://www.mcs.anl.gov/petsc

Package: libpetsc3.2-dev
Architecture: alpha amd64 armhf hurd-i386 i386 ia64 lpia mips mipsel powerpc s390 s390x sparc
Section: libdevel
Depends: libpetsc3.2 (= ${binary:Version}), ${mpi-dev}, ${linear-algebra-dev}, ${petsc-compilers},
 ${petsc-extra-dev}, libx11-dev, libsuitesparse-dev, libsuperlu3-dev, libspooles-dev,
 libhypre-dev (>= 2.0.0.dfsg-7), libptscotch-dev, ${babel-dev}, ${misc:Depends},
 ${hdf5-dev}, libblacs-mpi-dev, libscalapack-mpi-dev, libmumps-dev,
 libpastix-dev, libfftw3-dev, libfftw3-mpi-dev
Suggests: petsc-dev (= ${binary:Version}), libpetsc3.2-dbg (= ${binary:Version}), petsc3.2-doc (= ${binary:Version}), libluminate-dev
Provides: petsc3.2-dev
Description: Static libraries, shared links, header files for PETSc
 PETSc is the "Portable Extensible Toolkit for Scientific Computation", a suite
 of data structures and routines for the scalable (parallel) solution of
 scientific applications modeled by partial differential equations.  It employs
 the MPI standard for all message-passing communication.  Several sample
 scientific applications, as well as various papers and talks, demonstrate the
 features of the PETSc libraries.

Package: petsc-dev
Architecture: all
Section: libdevel
Depends: libpetsc3.2-dev, ${misc:Depends}
Suggests: petsc-dbg
Description: Virtual package depending on latest PETSc development package
 This metapackage will always depend on the most recent version of petscX-dev
 (X=version), so if you install it then you will get upgrades automatically.

Package: libpetsc3.2
Architecture: alpha amd64 armhf hurd-i386 i386 ia64 lpia mips mipsel powerpc s390 s390x sparc
Section: libs
Depends: ${shlibs:Depends}, ${mpi}, ${misc:Depends}
Description: Shared libraries for version 3.2 of PETSc
 PETSc is the "Portable Extensible Toolkit for Scientific Computation", a suite
 of data structures and routines for the scalable (parallel) solution of
 scientific applications modeled by partial differential equations.  It employs
 the MPI standard for all message-passing communication.  Several sample
 scientific applications, as well as various papers and talks, demonstrate the
 features of the PETSc libraries.

Package: libpetsc3.2-dbg
Architecture: alpha amd64 armhf hurd-i386 i386 ia64 lpia mips mipsel powerpc s390 s390x sparc
Section: debug
Depends: libpetsc3.2-dev (= ${binary:Version}), ${misc:Depends}
Suggests: petsc-dbg (= ${binary:Version})
Provides: petsc3.2-dbg
Description: Static debugging libraries for PETSc
 PETSc is the "Portable Extensible Toolkit for Scientific Computation", a suite
 of data structures and routines for the scalable (parallel) solution of
 scientific applications modeled by partial differential equations.  It employs
 the MPI standard for all message-passing communication.  Several sample
 scientific applications, as well as various papers and talks, demonstrate the
 features of the PETSc libraries.

Package: petsc3.2-doc
Architecture: all
Section: doc
Depends: ${misc:Depends}
Suggests: libpetsc3.2-dev (= ${binary:Version}), illuminator-doc
Description: Documentation and examples for PETSc
 PETSc is the "Portable Extensible Toolkit for Scientific Computation", a suite
 of data structures and routines for the scalable (parallel) solution of
 scientific applications modeled by partial differential equations.  It employs
 the MPI standard for all message-passing communication.  Several sample
 scientific applications, as well as various papers and talks, demonstrate the
 features of the PETSc libraries.


More information about the debian-science-maintainers mailing list