debian/0000755000000000000000000000000012252030544007163 5ustar debian/libpetsc3.4.2-dbg.overrides0000644000000000000000000000020512251665117014041 0ustar # False positive: the copyright notice is somewhat buried in the upstream text libpetsc3.4.2-dbg: copyright-without-copyright-notice debian/libpetsc3.4.2-dev.overrides0000644000000000000000000000020512251665117014063 0ustar # False positive: the copyright notice is somewhat buried in the upstream text libpetsc3.4.2-dev: copyright-without-copyright-notice debian/petsc-ext0000644000000000000000000000054012251665117011032 0ustar #/bin/sh -e # This little script determines the extensions on the PETSC_NAME, the shared # library sonames, etc. based on nonstandard compiler and MPI implementations. if [ "$1" = "linux_alpha_dec" ]; then echo -n "-dec"; fi #if [ "$2" != "openmpi" ]; then # echo -n "-$2"; #fi if [ "$3" != "main" ]; then echo -n "-$3"; fi echo "$4" | sed "s/_/-/" debian/libpetsc3.4.2.overrides0000644000000000000000000000020112251665117013303 0ustar # False positive: the copyright notice is somewhat buried in the upstream text libpetsc3.4.2: copyright-without-copyright-notice debian/compat0000644000000000000000000000000212251665117010372 0ustar 7 debian/petsc3.4.2-doc.docs0000644000000000000000000000005012251665117012307 0ustar debian/README.Debian makefile.html docs debian/libpetsc3.4.2-dev.postinst.in0000644000000000000000000000431712251665117014361 0ustar #!/bin/sh -e # Make alternatives links if [ "$1" = "configure" ]; then install -d /usr/share/aclocal update-alternatives --install /usr/lib/petsc petsc /usr/lib/petscdir/petsc_ver 3420 \ --slave /usr/bin/petscarch petscarch /usr/lib/petscdir/petsc_ver/bin/petscarch \ --slave /usr/bin/mpirun_lam mpirun_lam /usr/lib/petscdir/petsc_ver/bin/mpirun_lam \ --slave /usr/share/man/man1/petscarch.1.gz petscarch.1.gz /usr/lib/petscdir/petsc_ver/bin/petscarch.1.gz \ --slave /usr/share/man/man1/mpirun_lam.1.gz mpirun_lam.1.gz /usr/lib/petscdir/petsc_ver/bin/mpirun_lam.1.gz \ --slave /usr/include/petsc petscinclude /usr/lib/petscdir/petsc_ver/include \ --slave /usr/share/aclocal/petsc.m4 petsc.m4 /usr/lib/petscdir/petsc_ver/aclocal/petsc.m4 \ --slave /usr/lib/libpetsc.a libpetsc.a /usr/lib/petscdir/petsc_ver/lib/libO/libpetsc.a \ --slave /usr/lib/libpetsc.so libpetsc.so /usr/lib/libpetsc.so.petsc_ver \ --slave /usr/lib/libpetscdm.a libpetscdm.a /usr/lib/petscdir/petsc_ver/lib/libO/libpetsc.a \ --slave /usr/lib/libpetscdm.so libpetscdm.so /usr/lib/libpetsc.so.petsc_ver \ --slave /usr/lib/libpetscfortran.a libpetscfortran.a /usr/lib/petscdir/petsc_ver/lib/libO/libpetsc.a \ --slave /usr/lib/libpetscmat.a libpetscmat.a /usr/lib/petscdir/petsc_ver/lib/libO/libpetsc.a \ --slave /usr/lib/libpetscmat.so libpetscmat.so /usr/lib/libpetsc.so.petsc_ver \ --slave /usr/lib/libpetscksp.a libpetscksp.a /usr/lib/petscdir/petsc_ver/lib/libO/libpetsc.a \ --slave /usr/lib/libpetscksp.so libpetscksp.so /usr/lib/libpetsc.so.petsc_ver \ --slave /usr/lib/libpetscsnes.a libpetscsnes.a /usr/lib/petscdir/petsc_ver/lib/libO/libpetsc.a \ --slave /usr/lib/libpetscsnes.so libpetscsnes.so /usr/lib/libpetsc.so.petsc_ver \ --slave /usr/lib/libpetscts.a libpetscts.a /usr/lib/petscdir/petsc_ver/lib/libO/libpetsc.a \ --slave /usr/lib/libpetscts.so libpetscts.so /usr/lib/libpetsc.so.petsc_ver \ --slave /usr/lib/libpetscvec.a libpetscvec.a /usr/lib/petscdir/petsc_ver/lib/libO/libpetsc.a \ --slave /usr/lib/libpetscvec.so libpetscvec.so /usr/lib/libpetsc.so.petsc_ver update-alternatives --install /usr/share/aclocal/math-blaslapack.m4 math-blaslapack.m4 /usr/lib/petscdir/petsc_ver/aclocal/math-blaslapack.m4 1 fi #DEBHELPER# debian/mpirun_lam.10000644000000000000000000000122412251665117011420 0ustar .TH mpirun_lam 1 "PETSc's lam mpirun wrapper" "DEBIAN" \" -*- nroff -*- .SH NAME mpirun_lam \- PETSc's lam mpirun wrapper .SH SYNOPSIS \fBmpirun_lam\fP .SH DESCRIPTION This is a real short wrapper around lam's mpirun.lam such that mpich's mpirun syntax can be used. It also adds a few options, though I don't know lam well enough to know what they do. This is used by the makefiles in the examples' source code, it is substituted for $(MPIRUN) if PETSc was built with lam (mpich used to be the default). .PP This was adapted only slightly from PETSc upstream's script named mpirun.lam. .SH BUGS None that I know of. .SH AUTHOR Adam Powell debian/control0000644000000000000000000001007712252030027010567 0ustar Source: petsc Section: devel Priority: extra Maintainer: Debian Science Maintainers Uploaders: "Adam C. Powell, IV" Standards-Version: 3.9.5 Build-Depends: debhelper (>= 7.0.50), quilt, python (>= 2.2), gfortran, autotools-dev, libx11-dev, mpi-default-dev (>= 1.0.2), libblas-dev, liblapack-dev, libsuitesparse-dev (>= 1:4.2.1), 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, libfftw3-dev, libfftw3-mpi-dev Build-Conflicts: libatlas3-base, libatlas-base-dev, 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.4.2-dev Architecture: linux-any hurd-any Section: libdevel Depends: libpetsc3.4.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, libfftw3-dev, libfftw3-mpi-dev Suggests: petsc-dev (= ${binary:Version}), libpetsc3.4.2-dbg (= ${binary:Version}), petsc3.4.2-doc (= ${binary:Version}), libluminate-dev Provides: petsc3.4.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.4.2-dev, ${misc:Depends} Suggests: libpetsc3.4.2-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.4.2 Architecture: linux-any hurd-any Section: libs Depends: ${shlibs:Depends}, ${mpi}, ${misc:Depends} Description: Shared libraries for version 3.4.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.4.2-dbg Architecture: linux-any hurd-any Section: debug Depends: libpetsc3.4.2-dev (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Provides: petsc3.4.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.4.2-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: libpetsc3.4.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. debian/libpetsc3.4.2-dev.docs.in0000644000000000000000000000002512251665117013416 0ustar debian/README.Debian debian/changelog0000644000000000000000000012313212252030256011037 0ustar petsc (3.4.2.dfsg1-6) unstable; urgency=medium * Team upload. * Fix mangling of dfsg suffix in debian/watch (Closes: #730151) * Transition to suitesparse 4.2.1 (Closes: #708398) + umfpack.patch: remove patch, no longer needed + bump build-dependency version * Bump Standards-Version to 3.9.5, no changes needed. -- Sébastien Villemot Wed, 11 Dec 2013 10:30:05 +0100 petsc (3.4.2.dfsg1-5) unstable; urgency=low * Team upload. * Adapt the package for the MPICH transition. (Closes: #728074) - Tighten B-D on mpi-default-dev to be >= 1.0.2. That version is required to handle correctly the mpich2->mpich renaming. - debian/rules: adapt for the mpich2->mpich renaming (and remove lam support). - debian/rules: add a workaround for blacs-mpi and scalapack. Their shared libraries still have the mpich2 suffix * Update Build-Conflicts to libatlas3-base (instead of libatlas3gf-base) -- Sébastien Villemot Sat, 02 Nov 2013 22:10:37 +0100 petsc (3.4.2.dfsg1-4) unstable; urgency=low * Team upload (git is out-of-date) * Change architectures to "hurd-any linux-any" as these architectures do work with this package, in good faith. Net-change is addition of armel, which is known to work in Ubuntu, and future proof adding of upcoming ports which are also known to work - arm64/powerpc. -- Dmitrijs Ledkovs Fri, 25 Oct 2013 01:30:25 +0100 petsc (3.4.2.dfsg1-3) unstable; urgency=low [ Christophe Trophime ] * Team upload. * [bbd895b] Fix missing declaration (found when compiling gmsh with g++-4.8) -- Anton Gladky Sat, 28 Sep 2013 09:49:56 +0200 petsc (3.4.2.dfsg1-2) unstable; urgency=low * [35ff06e] Add copyright-info of some files. (Closes: #722979) * [0002c26] Remove libpastix-dev and change libsuperlu4-dev on libsuperlu3-dev. -- Anton Gladky Tue, 17 Sep 2013 07:52:56 +0200 petsc (3.4.2.dfsg-1) unstable; urgency=low * Team upload. [ Christophe Trophime ] * Non-maintainer upload. * New upstream release * debian/control - remove obsolete DM-Upload-Allowed - remove libblas-3gf.so from Build-Depends - remove liblapack-3gf.so from Build-Depends - add libpastix-dev to Depends for libpetsc3.2-dev - add libfftw3-dev to Depends for libpetsc3.2-dev - add libfftw3-mpi-dev to Depends for libpetsc3.2-dev * debian/rules - add support for fftw - add shared libraries for PETSC_ARCH-c-debug - remove liblapack-3gf.so and libblas-3gf.so * update postinst script - change the version from 3100 to 3420 [ Thomas Weber ] * Make copying config.guess and config.sub independent of automake version. (Closes: #713208) -- Anton Gladky Wed, 11 Sep 2013 19:19:33 +0200 petsc (3.2.dfsg-6) unstable; urgency=low * Team upload. * Fix PETSC_CHECKS m4 macro so that it also detects static petsc library - petsc.m4: add -lhdf5 and -lstdc++ to PETSC_EXTERNAL_LIBS - d/rules: add g++ to petsc-compilers Thanks to Anton Gladky for a first version of the patch. (Closes: #691307) -- Sébastien Villemot Sun, 11 Nov 2012 16:26:06 +0100 petsc (3.2.dfsg-5) unstable; urgency=low * Rebuild with newest version of HDF5, and force >= 1.8.8. -- "Adam C. Powell, IV" Thu, 26 Jan 2012 15:02:15 -0500 petsc (3.2.dfsg-4) unstable; urgency=low * Added lam4-dev to Build-Conflicts (closes: #656189). * Added alpha and lpia to architecture list (closes: #655940). * Added CHOLMOD support (closes: #642439). * Test building with HDF5 on all arches. -- "Adam C. Powell, IV" Thu, 26 Jan 2012 14:10:51 -0500 petsc (3.2.dfsg-3) unstable; urgency=low * Reinstated s390x arch since an external error prevents it from building (no s390x support in PVM -> no ScaLAPACK). * Changed libscotch-dev to libptscotch-dev in libpetsc3.2-dev Build-Depends. * Added cmake to Build-Conflicts because it causes setting of PETSC_BUILD_USING_CMAKE and breaks SLEPc build. -- "Adam C. Powell, IV" Mon, 16 Jan 2012 11:13:41 -0500 petsc (3.2.dfsg-2) unstable; urgency=low * Fixed MUMPS support to work with PTScotch (thanks: Satish Balay). * Removed doc link to non-free PDF file. * Added mpich2 case to debian/rules (closes: #652307). * Restrict architectures to exclude armel because of an unknown python bug (closes: #651453), kfreebsd-* because of a FORTRAN test problem, and s390x because of dependency issues (missing architecture in PVM). -- "Adam C. Powell, IV" Wed, 11 Jan 2012 18:49:43 -0500 petsc (3.2.dfsg-1) unstable; urgency=low * New upstream (closes: #652101). * Removed bin/win32fe/win32fe.exe and win32feutils.dll, docs/developers.pdf, docs/manual.pdf, src/tops/twopager.pdf and the share and xcode directories from upstream due to lack of source. * Forward-ported patches, splitting ld.patch into hypre.patch and nocleanup.patch. * Changed arch-dependent packages to "any" -- let's test all arches. * Reinstated patch/unpatch in build-arch, build-indep and clean targets. * Re-added quilt to Build-Depends, lintian complains otherwise. * PETSc dropped support for Scotch, need to disable MUMPS as well for now (but keeping both in dependencies). * Requires newer SuiteSparse than version 3.4.0 in Debian, kludged it to compile properly but runtime behavior is unpredictable at best. * Lintian overrides for false positives on copyright and petsc-dev. * Using MPI selection from mpi-default-dev. -- "Adam C. Powell, IV" Fri, 30 Dec 2011 13:27:43 -0500 petsc (3.1.dfsg-11.1) unstable; urgency=low * Non-maintainer upload. * Don't mix source format 3.0 (quilt) and manual usage of quilt: - Drop manual quilt calls from debian/rules; - Drop superfluous quilt Build-Depends. Closes: #643488 -- Didier Raboud Tue, 15 Nov 2011 17:20:34 +0100 petsc (3.1.dfsg-11) unstable; urgency=low [ Adam C. Powell, IV ] * Use HDF5 only on openmpi architectures (closes: #602660, #605294). * Bump Standards-Version, no changes needed. * Update to upstream patch level 8 (closes: #621609). * Clean target update. * Fix stamps to prevent double-building. [ Matthias Klose ] * Patch PETSc build system to link properly to hypre libs, and change BLACS lib order in rules, to make binutils-gold work (closes: #608902). * Explicitly set PETSC_BUILD_GNU_SYSTEM in rules. -- "Adam C. Powell, IV" Thu, 07 Apr 2011 21:20:50 -0400 petsc (3.1.dfsg-10) unstable; urgency=low * Fixed mpi-default-dev implementation selection (closes: #604549). -- "Adam C. Powell, IV" Tue, 23 Nov 2010 15:08:38 -0500 petsc (3.1.dfsg-9) unstable; urgency=low * Choose MPI implementation based on mpi-default-dev (closes: #604549). -- "Adam C. Powell, IV" Mon, 22 Nov 2010 20:53:41 -0500 petsc (3.1.dfsg-8) unstable; urgency=low [ Adam C. Powell, IV ] * Build with HDF5 regardless of MPI implementation. * Symlinked $(PETSC_ARCH)-cxx-[opt|debug] to -c-[opt|debug] to indicate C++ support (closes: #594046). [ Christophe Trophime ] * Upstream patch level 5. * Added (non-Scotch) MUMPS support (closes: #600265). * Bumped Standards-Version. * Silenced several clean commands. -- "Adam C. Powell, IV" Thu, 04 Nov 2010 10:10:34 -0400 petsc (3.1.dfsg-7) unstable; urgency=low * Added shared_freebsd8 target to conf/rules (closes: #591262). -- Adam C. Powell, IV Wed, 04 Aug 2010 14:35:10 -0400 petsc (3.1.dfsg-6) unstable; urgency=low * Fixed clean target so it doesn't remove TAGS files from the .pc directory, causing quilt to forget to revert it (closes: #589063, #589064). -- Adam C. Powell, IV Thu, 15 Jul 2010 14:46:58 -0400 petsc (3.1.dfsg-5) unstable; urgency=low * Added patch target so dpkg-buildpackage -B actually runs the build-arch target with patches applied (closes: #584551, #586220, #588334). * Added a couple more file removals to debian/rules clean target. -- Adam C. Powell, IV Wed, 14 Jul 2010 10:24:21 -0400 petsc (3.1.dfsg-4) unstable; urgency=low * Upstream patch level 3. * Fix to clean target. * libpetsc3.1-dev depends on libhdf5-mpi-dev. * Build-conflict with atlas libs since they mess up other packages' builds. * Change target architectures eliminating hppa (closes: #529485). * Reinstated mpirun_lam script since LAM arches will need it. * Point all obsolete libraries' alternative symlinks at petsc library. * Added source lintian overrides about Adam Powell's name. * Bumped Standards-Version. -- Adam C. Powell, IV Tue, 06 Jul 2010 23:00:50 -0400 petsc (3.1.dfsg-3) unstable; urgency=low * Symlink $PETSC_DIR/conf/base -> variables for 3.0.x compatibility. -- Adam C. Powell, IV Thu, 27 May 2010 08:45:04 -0400 petsc (3.1.dfsg-2) unstable; urgency=low * Upstream patch level 2. * Patched to have the effect of regenerating config.[guess|sub] so clean is cleaner. * Added a few more files to the debian/rules clean target. * Added -c-opt to petscvariables directory in examples tarball. * Added --with-c-support to configure options (closes: #580546). * Changed control file to conform to Debian Science Policy Manual. * Added diagnostic to indicate MPI implementation and directory. * Disabled HDF5 support with LAM because libhdf5-lam-dev is missing at least one needed library libhdf5_fortran.so (closes: #582290). -- Adam C. Powell, IV Wed, 19 May 2010 19:14:34 -0400 petsc (3.1.dfsg-1) unstable; urgency=low * New upstream release, patch level 1 (closes: #576023). * Removed bin/win32fe/win32fe.exe and win32feutils.dll, docs/manual.pdf and src/tops/twopager.pdf from upstream due to lack of source. * Changed BLAS and LAPACK links to -lblas and -llapack (closes: #577875). * PETSc brings this into -dev package config files (closes: #579578). * Added --with-clanguage=C++ to configure commands (closes: #576799). * Added HDF5 support (closes: #566920). * Changed to source format 3.0 (quilt). * Bumped Standards-Version. * Added ${misc:Depends} to all package Depends fields. * Disabled SuperLU because this PETSc version doesn't seem compatible. -- Adam C. Powell, IV Fri, 30 Apr 2010 19:08:52 -0400 petsc (3.0.0.dfsg-6) unstable; urgency=low * Updated to patch level 10. * Added ftn-auto and ftn-custom finclude subdirectories (closes: #534211). * Added --with-fortran-interfaces=1 to configure calls (closes: #529970). * Removed Fortran libs from BLASLAPACK_LIBS in the case of Debian's special blas/lapack libraries in math-blaslapack.m4 (closes: #559119). * Changed BLAS/LAPACK links to Debian's special 3gf libs. * Added Build-Depends on automake, and copy its config.guess and config.sub to replace PETSc's versions of those. * Versioned dependency on debhelper. * Bumped Standards-Version. * Added README.source. -- Adam C. Powell, IV Fri, 11 Dec 2009 19:35:42 -0500 petsc (3.0.0.dfsg-5.1) unstable; urgency=low * Non-maintainer upload. * fix Build-Depends for new dpkg-dev (closes: #535276) -- Rene Engelhard Fri, 03 Jul 2009 10:31:34 +0200 petsc (3.0.0.dfsg-5) unstable; urgency=medium * Removed babel-1.2.0 and libsidl-dev from Build-Depends (closes: #529485). * Patched conf/rules to remove double-colon clean target (closes: #533342). -- Adam C. Powell, IV Tue, 16 Jun 2009 14:49:31 -0400 petsc (3.0.0.dfsg-4) unstable; urgency=low * Removed --prefix=/usr because it interfered with building shared libs (closes: #529303). * Fixed buggy petsc.m4 (closes: #528788). * Disabled sprng linkage because the functions PETSc needs aren't in the Debian sprng package, pending closure of bug 529295. -- Adam C. Powell, IV Mon, 18 May 2009 15:15:30 -0400 petsc (3.0.0.dfsg-3) unstable; urgency=low [Christophe Prud'homme] * debian/rules: use --prefix=/usr in configure [Adam C. Powell, IV] * Removed superfluous scotch shlib patch (closes: #528556). * Added fftw and sprng linkages (closes: #515165), but actually doing fftw will require it to use MPI (bug 528680). * Changed PETSC_ARCH to DEB_BUILD_GNU_SYSTEM, and included it in configure command (closes: #528619). -- Adam C. Powell, IV Thu, 14 May 2009 13:54:25 -0400 petsc (3.0.0.dfsg-2) unstable; urgency=low * Removed different package name by MPI implementation (closes: #522764). * Upstream patch level 5. * Updated petsc.m4 to 3.0.0 conventions (closes: #528408). * Updated math-blaslapack.m4 adding gf to library names. * Added Scotch linkage. * Stopped trying to build "dynamic" libraries (closes: #522287). -- Adam C. Powell, IV Wed, 13 May 2009 09:32:01 -0400 petsc (3.0.0.dfsg-1) unstable; urgency=low * New tarball without non-free bin/win32fe. -- Adam C. Powell, IV Fri, 27 Mar 2009 16:15:33 -0400 petsc (3.0.0-1) unstable; urgency=low * New upstream release (closes: #509692). * Build-depends on mpi-default-dev and mpi-default-bin, though still uses PETSC_MPI to allow users to build with non-default MPI implementations (closes: #509785). * Removed debian/control.in from source package (closes: #496946). * Managing patches using quilt. * Building against hypre 2.4.0 (closes: #511117, #512723). * Temporarily desabled broken babel interface. * Made pkg-scicomp-devel maintainer and self first/only uploader. -- Adam C. Powell, IV Mon, 23 Mar 2009 15:07:04 -0400 petsc (2.3.3-15) unstable; urgency=low * Fixed bashism in debian/petsc-ext (closes: #488714). * Added src/mat/impls/aij/mpi/mpiaij.h to include directory in libpetsc2.3.3-dev (closes: #496679). * Moved debian/petsc2.3.2-doc* files to correct version (closes: #496680). -- Adam C. Powell, IV Thu, 28 Aug 2008 12:49:26 -0400 petsc (2.3.3-14) unstable; urgency=low * Change to babel dependency generation and substvars. -- Adam C. Powell, IV Mon, 30 Jun 2008 10:26:50 -0400 petsc (2.3.3-13) unstable; urgency=low * Only use babel support where available (closes: #486825). -- Adam C. Powell, IV Thu, 19 Jun 2008 11:37:00 -0400 petsc (2.3.3-12) unstable; urgency=low * Added hypre preconditioner library support (closes: #451737). * Added babel support (closes: #476423). -- Adam C. Powell, IV Wed, 21 May 2008 14:41:37 -0400 petsc (2.3.3-11) unstable; urgency=low * Removed control file overwrite which caused control-files mismatches. -- Adam C. Powell, IV Sun, 06 Apr 2008 09:22:28 -0400 petsc (2.3.3-10) unstable; urgency=low * Removed -Wno-long-double from compiler options (closes: #474461). * Changed from "ls -l | sed" to "readlink | sed" MPI test based on work by Domenico Andreoli (closes: #474249). -- Adam C. Powell, IV Sat, 05 Apr 2008 22:48:44 -0400 petsc (2.3.3-9) unstable; urgency=low * Changed lam4-runtime to lam-runtime in Build-Depends (D'oh!). -- Adam C. Powell, IV Mon, 24 Mar 2008 08:35:20 -0400 petsc (2.3.3-8) unstable; urgency=low * Explicitly declare arches for openmpi vs. lam building. * Added libspooles-dev to libpetsc2.3.3-dev dependencies. -- Adam C. Powell, IV Thu, 20 Mar 2008 09:15:37 -0400 petsc (2.3.3-7) unstable; urgency=low * Added lam4-dev as a build option (closes: #469664), with auto-detection at build time of which MPI variant is installed. -- Adam C. Powell, IV Wed, 19 Mar 2008 13:05:32 -0400 petsc (2.3.3-6) unstable; urgency=low * Rebuild for unstable. -- Adam C. Powell, IV Fri, 22 Feb 2008 09:27:30 -0500 petsc (2.3.3-5) experimental; urgency=low * Rebuild against, and depend on, new suitesparse with proper shared library versioning. -- Adam C. Powell, IV Mon, 11 Feb 2008 18:38:25 -0500 petsc (2.3.3-4) experimental; urgency=low * Build-depends on gfortran-transitioned BLAS, LAPACK and suitesparse (closes: #463825). * Adds spooles support (closes: #464723). -- Adam C. Powell, IV Sun, 10 Feb 2008 03:21:25 -0500 petsc (2.3.3-3) unstable; urgency=low * New watch file from Daniel Leidert (closes: #440933). * Specifies only gfortran in build-deps and petsc-compilers substvar in debian/rules (closes: #448158). -- Adam C. Powell, IV Thu, 08 Nov 2007 09:46:39 -0500 petsc (2.3.3-2) unstable; urgency=low * Changed build-dep from g77 to gfortran (closes: #434666). -- Adam C. Powell, IV Fri, 24 Aug 2007 18:12:50 -0400 petsc (2.3.3-1) unstable; urgency=low * New upstream release, .orig is patch level 3 (closes: #425998). * New shared library soname and -dev package name for long double (closes: #430292). * Changed default MPI to openmpi. * Fixed mpich and lam MPI build options (closes: #432898). * Old math-blaslapack.m4 macro seems to work with ATLAS libs (closes: #429502). * Separated math-blaslapack.m4 alternatives symlink from other petsc links so other packages can provide it. * Added links to umfpack (libsuitesparse-dev) and superlu (libsuperlu3-dev) (closes: #428007). * Added mpirun_lam based on old upstream mpirun.lam which was removed. * Added removal of .pyc files to rules clean target (closes: #424343). * Package changes: moved compat into file, changed source version substvar. -- Adam C. Powell, IV Tue, 17 Jul 2007 18:12:50 -0400 petsc (2.3.2-3) unstable; urgency=low * Configuring with --useThreads=0 to try to work around bug 345139 on HPPA -- and ARM. -- Adam C. Powell, IV Thu, 18 Jan 2007 10:05:17 -0500 petsc (2.3.2-2) unstable; urgency=low * Upgrade to upstream patch level 8 to try to fix HPPA build by working around bug 354139. -- Adam C. Powell, IV Wed, 17 Jan 2007 14:50:59 -0500 petsc (2.3.2-1) unstable; urgency=low * New upstream release, .orig is patch level 6. * Removed overlap between the -dev and -dbg packages (closes: #363122). * Changed == in rules tests to = (closes: #379540). * Removed postscript files from doc-base list (closes #367312). -- Adam C. Powell, IV Mon, 20 Nov 2006 04:13:08 -0500 petsc (2.3.1-1) unstable; urgency=low * New upstream release, .orig is patch level 11 (closes: #351576). * Upstream changes should support GNU/kFreeBSD (closes: #340710). * Upstream also fixed troubleshooting.html error (closes: #350157). * Change to rules in 2.3.0-3 should fix stranded dirs (closes: #350752). -- Adam C. Powell, IV Thu, 6 Apr 2006 19:57:52 -0400 petsc (2.3.0-3) unstable; urgency=low * mipsel arch is now linux-gnu as it should be (closes: #160253). * This is PETSC 2.3 (closes: #316159). * Changed 2.2 to 2.3 in petsc2.3.0-doc.doc-base (closes: #345166). * Removed top_builddir and $HOME refs from bmake dir (closes: #349756). -- Adam C. Powell, IV Wed, 25 Jan 2006 14:39:51 -0500 petsc (2.3.0-2) unstable; urgency=low * Removed petsc-dbg package as it's not very helpful and almost never used. * Retained versioned -dev packages and petsc-dev per thread at http://lists.debian.org/debian-release/2005/11/msg00107.html continued at http://lists.debian.org/debian-devel/2005/11/msg00986.html -- Adam C. Powell, IV Fri, 16 Dec 2005 16:27:35 -0500 petsc (2.3.0-1) unstable; urgency=low * New upstream release (closes: #316159). * New configure debian/rules target using python-based BuildSystem. * New configure process should address endianness separate from instruction set (closes: #160253). * Modifications to BuildSystem: disabled rpath, disabled no debug warning. * Abandoning separate static libs build without -fPIC as it would require too much work to modify BuildSystem to do this. * No python bindings for now. -- Adam C. Powell, IV Tue, 1 Nov 2005 19:35:35 -0500 petsc (2.2.0-5) unstable; urgency=low * Rebuild of unofficial sarge backport testbed for unstable with mpich 1.2.7. * More documentation in petsc.m4 (closes: #315472). * Thanks to new lintian, noticed and re-added trailer to 2.1.3-3 entry. -- Adam C. Powell, IV Tue, 16 Aug 2005 21:46:59 -0400 petsc (2.2.0-4sarge1) unstable; urgency=low * Rebuilt to link with libmpich1.0-noslog, and removed -lslog from patch-bmake-packages and petsc.m4. * Added versioned dependencies on mpich (>> 1.2.7). -- Adam C. Powell, IV Fri, 12 Aug 2005 18:24:23 -0400 petsc (2.2.0-4) unstable; urgency=low * Update for new mpich >> 1.2.5.3-2. * Fixed src/inline/axpy.h for complex and UNROLL (closes: #284023, #293011). * Added -fno-strict-aliasing to compile flags (closes: #274009). * Switched SLES stuff to KSP in petsc.m4 (closes: 267796). -- Adam C. Powell, IV Thu, 24 Mar 2005 09:46:23 +0900 petsc (2.2.0-3) unstable; urgency=low * Changed libpetscsles alternative symlinks to libpetscksp, and removed alternatives symlinks to libpetsccontrib (closes: #255076). -- Adam C. Powell, IV Wed, 11 Aug 2004 19:50:12 -0400 petsc (2.2.0-2) unstable; urgency=low * Upstream patch level 2. * New PETSC_BOPT_EXTRA option for different BOPT and lib names, with _c++ symlinks only for plain and single (closes: #249617). * New DEBIAN_DIST=contrib option to link with hypre, parmetis (closes: #249619). * Combined petsc-c and petsc-fortran substvars into petsc-compilers. * Extra quote in -dev prerm eliminates "too many arguments" problem. -- Adam C. Powell, IV Mon, 7 Jun 2004 13:41:43 -0400 petsc (2.2.0-1) unstable; urgency=low * New upstream. * Changed X devel dependency from xlibs-dev to libx11-dev since that should be the only one needed. * Changed blas/lapack devel dependencies to libblas-3.so/liblapack-3.so, and math-blaslapack.m4 accordingly. -- Adam C. Powell, IV Thu, 15 Apr 2004 21:36:58 -0400 petsc (2.1.6-2) unstable; urgency=low * Fixed bug in bmake/linux*/variables removing erroneous "-lfrtbegin". * Added new LG-SP draw mechanism (see patch-draw-lgsp). * Fixed rules so clean does unpatch if necessary. * Upstream patch level 10. * Updated the Standards-Version. -- Adam C. Powell, IV Fri, 17 Oct 2003 16:02:48 -0400 petsc (2.1.6-1) unstable; urgency=low * New upstream (closes: #204392). * Upstream patch level 4. * Name changes: shlib is now libpetsc2.1.6, -dev and -dbg add those suffixes. -- Adam C. Powell, IV Thu, 4 Sep 2003 11:45:12 -0400 petsc (2.1.5-4) unstable; urgency=low * Upstream patch level 8. * Removed rpath from bmake/*/packages (patch) and petsc.m4, since that's been removed from mpich (as of 1.2.5-4, hence the versioned dep in control and rules). * Changed petscconf.h to PETSC_USE_BLAS_KERNELS instead of FORTRAN. * Fixed src/inline/axpy.h to work with PETSC_USE_BLAS_KERNELS. * Moved -dev packages to section libdevel. -- Adam C. Powell, IV Tue, 20 May 2003 18:11:42 -0400 petsc (2.1.5-3) unstable; urgency=low * Added bmake/*/rules files with libf: target for linux_ppc and hurd (closes: 187669). -- Adam C. Powell, IV Tue, 8 Apr 2003 19:23:35 -0400 petsc (2.1.5-2) unstable; urgency=low * Added -Wl,-rpath -Wl,/usr/lib/mpich/lib/shared/ to MPE_LIB in bmake/*/packages and PETSC_MPI_LIBS in petsc.m4 (closes: #170573). -- Adam C. Powell, IV Tue, 18 Mar 2003 10:36:43 -0500 petsc (2.1.5-1) unstable; urgency=low * New upstream, patch level 4. * Moved shlib building stuff from bmake/$(PETSC_ARCH)/rules to bmake/common/rules to simplify patch-bmake-rules, put "touch" into debian/rules to make sure ppc and hurd get those files. -- Adam C. Powell, IV Tue, 18 Feb 2003 20:21:52 -0500 petsc (2.1.3-8) unstable; urgency=low * Upstream patch level 9. * Removed . from end of descriptions (Lintian warning). * Switched from gcc-3.2 and friends to gcc, since it's now gcc-3.2; this will make building dependencies like illuminator easier (closes: #176237). * The -dev package now suggests illuminator-dev (as it should have long since done...). * Updated the Standards-Version. * Changed manpages' sections from 1L to 1 (oops!). -- Adam C. Powell, IV Wed, 8 Jan 2003 21:25:00 -0500 petsc (2.1.3-7) unstable; urgency=low * Updated patch-bmake-packages and petsc.m4 to include -lslog with -lmpe for compatibility with new mpich 1.2.4-10 package. * Put mpich version in Build-Depends and rules' mpi substvar setting. * Made shlibs explicitly indicate this version or newer. -- Adam C. Powell, IV Fri, 20 Dec 2002 13:09:16 -0500 petsc (2.1.3-6) unstable; urgency=low * New petsc.m4 with libraries, broken for lam though (see PETSC_MPI_LIBS). * The new petsc.m4 depends on math-blaslapack.m4, which is also included. -- Adam C. Powell, IV Mon, 21 Oct 2002 21:53:39 -0400 petsc (2.1.3-5) unstable; urgency=low * Commented "make clean" in clean: rule (closes: #160240). * Removed lapack99-dev from build-depends since it doesn't exist on ARM; maybe this will actually work with gcc-3.0-built lapack on alpha? -- Adam C. Powell, IV Tue, 10 Sep 2002 00:06:01 +0000 petsc (2.1.3-4) unstable; urgency=low * Added directory handling for /usr/share/aclocal in case that dir isn't provided by any other package. -- Adam C. Powell, IV Sun, 08 Sep 2002 08:12:01 +0000 petsc (2.1.3-3) unstable; urgency=low * Upstream patch level 6. * Uses gcc-3.2 and g77-3.2 for shared libg2c. * Okay, in this one the shared mpich libs should actually work (except libmpe, which breaks IA-64 and HPPA when I add $(PETSC_EXTERNAL_LIB) to the shlib linking command in bmake/rules). * Removed ${linear-algebra} and xlibs from petsc2.1.3 deps because they should be auto-detected by dh_shlibdeps (as should libg2c0). * New patch system should simplify future upgrades. * Put lapack99-dev as preferred lapack-dev in -dev package's dependencies. * Added petsc.m4 to -dev package (closes: #160042). -- Adam C. Powell, IV Sun, 08 Sep 2002 07:16:28 +0000 petsc (2.1.3-2) unstable; urgency=low * New version built against shared mpich in unstable, no other changes yet. -- Adam C. Powell, IV Thu, 20 Jun 2002 21:45:14 +0000 petsc (2.1.3-1.woody.1) testing; urgency=low * Special release for Woody, built against its libs, etc. * Several significant updates vs. 2.1.1.30-1, previous woody version, as mentioned below. * Put lapack99-dev as preferred lapack-dev in Build-Depends because it actually works on Alpha, unlike all other lapack2-dev Providers -- see bug 149834. * Commented shlib building in linux_alpha_dec subarch because I still can't make it work, one other small fix to that arch's petscconf.h. (Note: this does not affect any uploaded Debian binary packages, just the option to build source with PETSC_ARCH=linux_alpha_dec which uses the non-free HPaq compilers for Alpha.) -- Adam C. Powell, IV Tue, 18 Jun 2002 19:09:33 -0400 petsc (2.1.3-1) unstable; urgency=low * New upstream major release. * Moved to Priority: extra because dependency mpich is there. * In includes, using EXTERN_C_BEGIN and _END from petsc.h instead of the whole #ifdef business; I think this will work better and be easier to port forward. -- Adam C. Powell, IV Tue, 4 Jun 2002 13:29:40 -0400 petsc (2.1.2-2) unstable; urgency=low * Upstream patch level 8. * Removed ${PETSC_EXTERNAL_LIB_BASIC} from shlib linking, to get rid of non-PIC stuff in shlibs (closes: #142647). This cuts the size of the shlib package in half, and some individual libs by a factor of ten! * Reinstated MPE on alpha and IA-64 since this wasn't the cause of the problem. * Because first thing broke auto linear-algebra shlib deps, put them in rules by hand. (Incidentally, fixes a lintian problem with lapack deps...) -- Adam C. Powell, IV Sun, 12 May 2002 12:23:00 -0400 petsc (2.1.2-1) unstable; urgency=low * New upstream major release. Package name no longer includes patch level, to avoid repeated upload of 99.99% identical .orig.tar.gz. * Upstream patch level 6. * Removed MPE support for linux_alpha and derivatives to fix IA-64 PIC/non-PIC mix in shlibs (workaround for #142647). * Added #ifdef __cplusplus extern "C" { } etc. to headers so C++ building works, removed note from README.Debian. (closes: #137978) * Other minor updates to README.Debian. * Changed library linking to -lblas2 -llapack2 to support /etc/alternatives symlinks in packages providing blas2-dev. * Removed -assume no2underscores from linux_alpha_dec/variables so fortran might *really* work on this subarch this time (though not shlibs)... * Removed empty file deleter for examples src.tar.gz. * Added package homepage link to readme.html -- Adam C. Powell, IV Mon, 6 May 2002 21:32:41 -0400 petsc (2.1.1.30-1) unstable; urgency=low * New upstream patch release(s). * Changed xlib6g-dev to xlibs-dev in -dev Depends (overlooked last time). * Changed atlas2-base-dev | blas-dev and atlas2-base-dev | lapack-dev (in rules) to blas2-dev and lapack2-dev in -dev Depends, and also Build-Depends now that they exist. * In bmake/linux_alpha_dec/variables, added SYMLINK, changed cc to ccc, disabled shared libs because they don't work), removed fortran junk from C_SYS_LIB, removed rpath, added PETSC_HAVE_FORTRAN_UNDERSCORE_UNDERSCORE to bmake/linux_alpha_dec/petscconf.h, so that "subarch" works again. * Added debian/packagename directory removal to clean target for -dec and -lam alternative support. * Removed potato mpich dir names from bmake/*/packages. * Added a note on C++ "libraries" to README.Debian. -- Adam C. Powell, IV Fri, 15 Mar 2002 00:04:49 -0500 petsc (2.1.1.21-1) unstable; urgency=low * New upstream patch release(s). * Changed xlib6g-dev to xlibs-dev in Build-Depends (breaking build on potato, though that hasn't worked for some time) (closes: #130521). * Removed atlas so it might get into testing * Added symlinks in -doc package so .h.html links work (closes: #130522). -- Adam C. Powell, IV Sat, 9 Feb 2002 19:34:55 -0500 petsc (2.1.1.16-1) unstable; urgency=low * New upstream patch release(s!) (closes: #130407). * Fixed double semicolon in line 67 of src/sys/src/viewer/impls/draw/drawv.c. * Switched atlas2-base-dev and blas-dev, lapack-dev dependency order for ${linear-algebra-dev} where set in rules line 267 (closes: #129427). -- Adam C. Powell, IV Tue, 22 Jan 2002 18:44:27 -0500 petsc (2.1.1.8-1) unstable; urgency=low * New upstream 2.1.1 package (closes: #126092) * Build-Depends on "atlas2-base-dev | blas-dev, atlas2-base-dev lapack-dev" instead of atlas2-base-dev so it will build on all architectures. * Changed default linear-algebra-dev substvar to "atlas2-base-dev | blas-dev, atlas2-base-dev | lapack-dev" so -dev will install on all arches. -- Adam C. Powell, IV Fri, 11 Jan 2002 13:10:26 -0500 petsc (2.1.0-4) unstable; urgency=low * Build-depends on atlas2-base-dev since that works for PPC now. * Also added "gcc |", "g77 |" and "| lam3-dev" to Build-Depends. * Added petsc-c and petsc-fortran substvars so petsc2.1.0-dev depends on the appropriate compilers (closes: #111446). * Changed DH_COMPAT to 3 and removed petsc2.1.0.postinst.in since that postinst is auto-generated now. * Fixed bmake/linux_alpha_dec files so that "platform" works! -- Adam C. Powell, IV Tue, 13 Nov 2001 20:55:35 -0500 petsc (2.1.0-3) unstable; urgency=low * Removed unneeded stuff from Build-Depends. * Corrected bmake/*/base.site BLASLAPACK_LIB (closes: #105873). * Added man pages for petscarch and mpirun.lam (closes: #86677). * Removed "linear-algebra" substvar since the proper shlib dep should be dragged in by the using package (but left mpi because mpich and lam-runtime are not dragged in). * Removed -dev's c-shell dependency since petscarch is a dummy sh script. * Because lam changed mpirun_lam to mpirun.lam, I changed mpirun.lam to mpirun_lam. * Harmonized descriptions of petsc-dev and petsc-dbg (closes: #109572). * Removed references to the obsolete -examples package from docs/faq.html. * Updated standards version. -- Adam C. Powell, IV Wed, 29 Aug 2001 20:08:57 -0400 petsc (2.1.0-2) unstable; urgency=low * Removed obsolete "Local Variables:" from the bottom of this file. * Changed #define to typedef for Scalar in petscmath.h (closes: #97633). * Changed pdf link to pdf.gz because the pdf is compressed, and moved /usr/include/petsc/(*/)*.h.html from -dev to -doc (closes: #98729). * Changed -examples' Depends: -dev to Recommends:. * Put all examples minus their documentation into a src.tar.gz file, shrinking petsc2.1.0-examples' installed-size from 7835K to 455K! Updated README.Debian accordingly. * At that size, there's really no longer a reason for separate petsc2.1.0-examples, so I'm merging it into -doc. * Changed atlas2-dev dependencies to atlas-dev, removed lapack from deps (except on PPC). * Removed libc6-dev from Build-Depends. -- Adam C. Powell, IV Tue, 10 Jul 2001 14:37:58 -0400 petsc (2.1.0-1) unstable; urgency=low * New upstream release! * No more C++ ifdefs in headers (lots of work, will replace them with better C++ headers in the future). -- Adam C. Powell, IV Sun, 15 Apr 2001 22:12:36 -0400 petsc (2.0.29-6) unstable; urgency=low * Versioned depends for petsc-dev and petsc-dbg. * Got rid of Replaces and Conflicts since they were only in unstable. * Made alternative petsc2.0.29-dbg packages provide petsc2.0.29-dbg. -- Adam C. Powell, IV Fri, 23 Mar 2001 00:13:46 -0500 petsc (2.0.29-5) unstable; urgency=low * D'oh! The control file had "Adam Powell" vs. "Adam C. Powell, IV". So the last upload was marked as NMU, though all previous upload had this problem. -- Adam C. Powell, IV Tue, 20 Mar 2001 08:31:14 -0500 petsc (2.0.29-4) unstable; urgency=low * Added a fake manpage symlink for mpirun.lam. * Changed the double-colon clean target in bmake/common to single-colon. (Closes: #85770) * Removed PPC-only status of lapack-dev build-dep. (Closes: #85771) * Made PLogFlops macro in include/petsclog.h always give zero. (Closes: #85821) * Made timestepping work matrix-free in src/ts/impls/implicit/beuler/beuler.c and cn/cn.c. (Closes: #86073) * Added mvs to debian/rules clean target to preserve src/fortran/custom/TAGS. * Added link from readme.html to README.Debian. * Corrected MPE_LIB typo in bmake/*/base.site. * Made petsc2.0.29-dbg suggest petsc-dbg. * Hundreds of new documentation corrections, particularly in docs/manual/manual.html, also bmake/base_variables.defs. * Updated variable names at the bottom of this changelog for new dpkg-dev-el. * Updated -dev Depends adding "csh |" to c-shell. * Removed those diffs in examples makefiles which involve comparisons with empty files (empty files are removed because of policy), replaced with "if [ -s ...]", -- Adam C. Powell, IV Tue, 13 Mar 2001 00:25:10 -0500 petsc (2.0.29-3) unstable; urgency=low * Removed hyphen from package names between petsc and version. * Made these hyphen-less packages replace and conflict with old packages (for the benefit of testing/unstable users, will remove before release). * Added petsc-dev and petsc-dbg virtual packages which depend on the latest version of devel and debug packages. * Changed /usr/lib subdirectory names from e.g. petsc-2.0.29 to petscdir/2.0.29 so all installed versions are within a single dir. (Closes: #81096) * Added m68k, mips, hppa and sparc "support" by making petscarch return linux_ppc for those arches; also ia64 returns linux_alpha, and arm and mipsel should work with the linux default. Problem: ATLAS BLAS support is not used for any 32-bit BE arch, since it is not currently available on PPC (gcc bug, -funroll-all-loops is broken). * Using PETSC_ARCH=linux_alpha_dec adds -dec to package names, subdir names, alternatives symlinks, and shared library sonames; and modifies substvars for linear algebra dependencies. * Added lam MPI alternative using PETSC_MPI buildtime variable, which (if used) adds -lam to the same things as -dec is added to above; and modifies substvars for mpi and mpi-dev dependencies. (Closes: #82040) * Added alternatives symlink to mpirun.lam scripts to pull in the right options. (Closes: #82041) * Revised README.Debian for new package names, new lam build alternatives, and a note on /etc/alternatives symlinks. -- Adam C. Powell, IV Fri, 2 Feb 2001 16:18:09 -0500 petsc (2.0.29-2) unstable; urgency=low * Made Depends: arch-specific since PPC depends on lapack(-dev), others on atlas(-dev). * Made all internal dependencies require the same source version. * Added another lib path to MPI_LIBS in bmake/*/base.site so it builds on mpich 1.2.0 as well as 1.1.2 (i.e. woody as well as potato). * It should now successfully build with PETSC_ARCH=linux_alpha_dec. -- Adam C. Powell, IV Tue, 28 Nov 2000 22:10:01 -0500 petsc (2.0.29-1) unstable; urgency=low * New upstream release. * Added material to README.Debian. * Removed lapack and lapack-dev dependencies since they are part of the atlas packages. * Made petscarch manpage symlink via /etc/alternatives. * Changed `pwd` to $(CURDIR) in rules. * Eliminated empty files in -examples package. * New maintainer email address. -- Adam C. Powell, IV Mon, 6 Nov 2000 21:01:56 -0500 petsc (2.0.28.2-7) unstable; urgency=low * Fixed MPI_INCLUDES in bmake/*/base.site so petsc works with lam2-dev installed. * Added MPE support, since we're depending on mpich. * Fixed a bug which eliminated the petscarch manpage, now it's there again. * Greatly simplified .files for -examples and -dbg. -- Adam C. Powell, IV (24) Wed, 27 Sep 2000 22:58:10 -0400 petsc (2.0.28.2-6) unstable; urgency=low * First upload (Closes: #72073) * Changed description in control file so first line fits in one line. * Added language to README.Debian to make it clearer people should file bug reports which I'll forward upstream. * Added debhelper to Build-Depends. * Changed /usr/share/doc/petsc-2.0.28-examples/src to examples with a symlink from src to get rid of lintian errors. -- Adam C. Powell, IV (24) Thu, 21 Sep 2000 16:21:25 -0400 petsc (2.0.28.2-5) unstable; urgency=low * Added a hyphen to the binary package names for consistency with e.g. the /usr/lib/petsc alternatives symlink. * Symlinked bmake/$(PETSC_ARCH)/*.h to include/ so one can use #include or * Removed extraneous directories from debian/tmp so they don't show up in the -dev package. -- Adam C. Powell, IV (24) Sun, 17 Sep 2000 23:50:40 -0400 petsc (2.0.28.2-4) unstable; urgency=low * Added linux_ppc to petscarch script and bmake directory. * Symlinked libO_c++ to libO and libg_c++ to libg so C++ should work. * Added -m parameter to dh_makeshlibs so it gets the library version right. * Removed bmake/$(PETSC_ARCH)/buildtest for good! * Added README.Debian file for the -dev package. * Added undocumented.7.gz symlink for petscarch fake manpage. -- Adam C. Powell, IV (24) Wed, 6 Sep 2000 17:05:48 -0400 petsc (2.0.28.2-3) unstable; urgency=low * Made three files in debian/ auto-generate because they're architecture- dependent. -- Adam C. Powell, IV (24) Wed, 30 Aug 2000 07:07:37 -0400 petsc (2.0.28.2-2) unstable; urgency=low * Incorporated new linux_alpha and linux_alpha_dec bmake subdirs from upstream (not yet public). * Renamed binary packages to include version number. * Changed main petsc directory to /usr/lib/petsc-2.0.28. * Moved most files (includes, non-shared libs, petscarch) into that directory, with the exception of -doc and -examples files in /usr/share. * /etc/alternatives master link created to link /usr/lib/petsc to petsc-2.0.28, and lots of slaves for /usr/include/petsc and /usr/lib/libpetscX.so and same .a's. * Changed library version numbers from 1 to 2.0.28. * Explicitly depends on mpich now (not mpi) because I can't get lam to work. -- Adam C. Powell, IV (24) Tue, 29 Aug 2000 18:18:20 -0400 petsc (2.0.28.2-1) unstable; urgency=low * Initial Release. * Currently depends on mpi, but I don't know whether lam will work, or whether it depends on which mpi petsc is built with. * Currently depends on atlas, will change to blas/lapack if anyone complains. * Assumes little endian for now (after all, everyone knows Linux is just for Intel :-), I'll have to fix that. -- Adam C. Powell, IV (24) Sun, 6 Aug 2000 01:25:48 -0600 debian/rules0000755000000000000000000006314212251665117010262 0ustar #!/usr/bin/make -f # Sample debian/rules file - for GNU Hello (1.3). # Copyright 1994,1995 by Ian Jackson. # I hereby give you perpetual unlimited permission to copy, # modify and relicense this file, provided that you do not remove # my name from the file itself. (I assert my moral right of # paternity under the Copyright, Designs and Patents Act 1988.) # This file may have to be extensively modified DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This is the debhelper compatability version to use. #export DH_COMPAT=4 # Deprecated, now provided in file debian/compat # On Alpha, override this with debian/rules PETSC_ARCH=linux_alpha_dec binary # to build PETSc libs with the Compaq compilers, though that requires at least: # libots, cpml-ev(5|6), cxml-ev(5|6), cfal and ccc. # Note that only arch-dependent .debs are generated when you do this. DEB_BUILD_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM) PETSC_ARCH=$(DEB_BUILD_GNU_SYSTEM) # This defines the MPI implementation to use. The easiest way to override this # default is to specify while building, e.g. debian/rules PETSC_MPI=lam binary. # Again, only arch-dependent .debs are generated when you do this. # Note that as of PETSc 2.3.0 this only specifies the name of the PETSc # packages, the implementation is chosen by BuildSystem according to what's # available at build time. include /usr/share/mpi-default-dev/debian_defaults PETSC_MPI=$(ARCH_DEFAULT_MPI_IMPL) PETSC_MPI_DIR=/usr/lib/$(PETSC_MPI) # The following is a workaround for blacs-mpi and scalapack, whose libraries # still have the mpich2 suffix ifeq ($(PETSC_MPI),mpich) PETSC_MPI_ALT=mpich2 else PETSC_MPI_ALT=$(PETSC_MPI) endif # Overriding this with "contrib" attempts to link with parmetis (unimplemented). DEBIAN_DIST=main # PETSC_EXT is non-empty if a non-standard compiler (e.g. Compaq compilers on # alpha), non-standard MPI implementation (e.g. lam), non-standard option (e.g. # complex) or non-standard distribution (e.g. contrib) is being used. PETSC_EXT=$(shell chmod +x debian/petsc-ext && debian/petsc-ext $(PETSC_ARCH) $(PETSC_MPI) $(DEBIAN_DIST) && chmod -x debian/petsc-ext) PETSC_HDF5_FLAGS=$(shell if [ -e /usr/lib/libhdf5.so ]; then echo "--with-hdf5=1 --with-hdf5-dir=/usr"; fi) PETSC_BABEL_FLAGS=$(shell if [ -e /usr/lib/libsidl.so ]; then echo "--with-babel=1 --with-babel-dir=/usr"; fi) # PETSC_VERSION is used for the package names, library sonames, and # /usr/lib/petscdir subdirectory names. PETSC_VERSION=3.4.2$(PETSC_EXT) # PETSC_NAME is the install dir under /usr/lib and the base for package names PETSC_NAME=petsc$(PETSC_VERSION) # These files need to be customized based on architecture and/or version. # See the binary arch target for how they are generated. ARCH_GENERATED_FILES=debian/lib$(PETSC_NAME)-dev.docs \ debian/lib$(PETSC_NAME)-dev.postinst debian/lib$(PETSC_NAME)-dev.prerm clean: dh_testdir if [ -f TAGS.backup ]; then mv -f TAGS.backup TAGS; fi dh_quilt_unpatch dh_clean -XTAGS # These are needed for -lam, -dec and -contrib builds -rm -rf debian/lib$(PETSC_NAME) debian/lib$(PETSC_NAME)-dev \ debian/lib$(PETSC_NAME)-dbg -rm -f build* install* debian/*.substvars debian/extemp $(ARCH_GENERATED_FILES) # This is commented because it really doesn't do anything useful for us # (removes example executables, so what?) # make PETSC_ARCH=$(PETSC_ARCH) PETSC_DIR=$(CURDIR) clean # These probably should be removed by `make clean' but aren't -rm -f RDict.log RDict.db configure.log.bkp debian/control.in make.log \ confdefs.h conffix.h conftest.c lib1.so lib2.so CMakeLists.txt -rm -f config/BuildSystem/config/packages/config.* conf/petscvariables -rm -f `find . -name \*.o -print` `find . -name \*.pyc -print` -rm -rf lib $(PETSC_ARCH)-c-debug $(PETSC_ARCH)-c-opt configure.log # PETSc uses the "doctext" program to convert html docs to man pages, which # apparently is open-source and available from # http://www.mcs.anl.gov/~gropp/sowing . When it is Debianized, I'll use it. build-indep: dh_quilt_patch # $(MAKE) -C docs PETSC_ARCH=$(PETSC_ARCH) \ # PETSC_DIR=$(CURDIR)/lib$(PETSC_NAME) manualpages touch $@ # With debugging=1, only static libraries are generated. # Build optimized libs second so files are consistent with optimized. build-arch: dh_quilt_patch echo Using MPI implementation $(PETSC_MPI) in directory $(PETSC_MPI_DIR) cp -fp /usr/share/misc/config.* config/BuildSystem/config/packages/ if [ ! -f TAGS.backup ]; then cp -a TAGS TAGS.backup; fi PETSC_DIR=$(CURDIR) PETSC_ARCH=$(PETSC_ARCH)-c-debug \ ./config/configure.py --with-shared-libraries --with-debugging=1 \ --useThreads 0 --with-clanguage=C++ --with-c-support \ --with-fortran-interfaces=1 \ --with-mpi-dir=$(PETSC_MPI_DIR) \ --with-blas-lib=-lblas --with-lapack-lib=-llapack \ --with-blacs=1 --with-blacs-include=/usr/include \ --with-blacs-lib=[/usr/lib/libblacsCinit-$(PETSC_MPI_ALT).so,/usr/lib/libblacs-$(PETSC_MPI_ALT).so] \ --with-scalapack=1 --with-scalapack-include=/usr/include \ --with-scalapack-lib=/usr/lib/libscalapack-$(PETSC_MPI_ALT).so \ --with-mumps=1 --with-mumps-include=/usr/include \ --with-mumps-lib=[/usr/lib/libdmumps.so,/usr/lib/libzmumps.so,/usr/lib/libsmumps.so,/usr/lib/libcmumps.so,/usr/lib/libmumps_common.so,/usr/lib/libpord.so] \ --with-umfpack=1 --with-umfpack-include=/usr/include/suitesparse \ --with-umfpack-lib=[/usr/lib/libumfpack.so,/usr/lib/libamd.so] \ --with-cholmod=1 --with-cholmod-include=/usr/include/suitesparse \ --with-cholmod-lib=/usr/lib/libcholmod.so \ --with-spooles=1 --with-spooles-include=/usr/include/spooles \ --with-spooles-lib=/usr/lib/libspooles.so \ --with-hypre=1 --with-hypre-dir=/usr \ --with-ptscotch=1 --with-ptscotch-include=/usr/include/scotch \ --with-ptscotch-lib=[/usr/lib/libptesmumps.so,/usr/lib/libptscotch.so,/usr/lib/libptscotcherr.so] \ --with-fftw=1 --with-fftw-include=/usr/include \ --with-fftw-lib=[/usr/lib/$(DEB_HOST_GNU_TYPE)/libfftw3.so,/usr/lib/$(DEB_HOST_GNU_TYPE)/libfftw3_mpi.so] \ $(PETSC_HDF5_FLAGS) --CXX_LINKER_FLAGS="-Wl,--no-as-needed" # --with-pastix=1 --with-pastix-include=/usr/include/pastix \ # --with-pastix-lib=[/usr/lib/libpastix.so] \ # --with-superlu=1 --with-superlu-include=/usr/include/superlu \ # --with-superlu-lib=/usr/lib/libsuperlu.so \ # --with-sprng=1 --with-sprng-include=/usr/include/sprng \ # --with-sprng-lib=/usr/lib/libsprng.so # $(PETSC_BABEL_FLAGS) $(MAKE) PETSC_ARCH=$(PETSC_ARCH)-c-debug PETSC_DIR=$(CURDIR) \ PETSC_INSTALL_DIR=/usr/lib/petscdir/$(PETSC_VERSION) \ SL_LINKER_SUFFIX_VERSIONED="so.$(PETSC_VERSION)" all-legacy PETSC_DIR=$(CURDIR) PETSC_ARCH=$(PETSC_ARCH)-c-opt \ ./config/configure.py --with-shared-libraries --with-debugging=0 \ --useThreads 0 --with-clanguage=C++ --with-c-support \ --with-fortran-interfaces=1 \ --with-mpi-dir=$(PETSC_MPI_DIR) --with-mpi-shared=1 \ --with-blas-lib=-lblas --with-lapack-lib=-llapack \ --with-blacs=1 --with-blacs-include=/usr/include \ --with-blacs-lib=[/usr/lib/libblacsCinit-$(PETSC_MPI_ALT).so,/usr/lib/libblacs-$(PETSC_MPI_ALT).so] \ --with-scalapack=1 --with-scalapack-include=/usr/include \ --with-scalapack-lib=/usr/lib/libscalapack-$(PETSC_MPI_ALT).so \ --with-mumps=1 --with-mumps-include=/usr/include \ --with-mumps-lib=[/usr/lib/libdmumps.so,/usr/lib/libzmumps.so,/usr/lib/libsmumps.so,/usr/lib/libcmumps.so,/usr/lib/libmumps_common.so,/usr/lib/libpord.so] \ --with-umfpack=1 --with-umfpack-include=/usr/include/suitesparse \ --with-umfpack-lib=[/usr/lib/libumfpack.so,/usr/lib/libamd.so] \ --with-cholmod=1 --with-cholmod-include=/usr/include/suitesparse \ --with-cholmod-lib=/usr/lib/libcholmod.so \ --with-spooles=1 --with-spooles-include=/usr/include/spooles \ --with-spooles-lib=/usr/lib/libspooles.so \ --with-hypre=1 --with-hypre-dir=/usr \ --with-ptscotch=1 --with-ptscotch-include=/usr/include/scotch \ --with-ptscotch-lib=[/usr/lib/libptesmumps.so,/usr/lib/libptscotch.so,/usr/lib/libptscotcherr.so] \ --with-fftw=1 --with-fftw-include=/usr/include \ --with-fftw-lib=[/usr/lib/$(DEB_HOST_GNU_TYPE)/libfftw3.so,/usr/lib/$(DEB_HOST_GNU_TYPE)/libfftw3_mpi.so] \ $(PETSC_HDF5_FLAGS) --CXX_LINKER_FLAGS="-Wl,--no-as-needed" # --with-pastix=1 --with-pastix-include=/usr/include/pastix \ # --with-pastix-lib=[/usr/lib/libpastix.so] \ # --with-superlu=1 --with-superlu-include=/usr/include/superlu \ # --with-superlu-lib=/usr/lib/libsuperlu.so \ # --with-sprng=1 --with-sprng-include=/usr/include/sprng \ # --with-sprng-lib=/usr/lib/libsprng.so # $(PETSC_BABEL_FLAGS) $(MAKE) PETSC_ARCH=$(PETSC_ARCH)-c-opt PETSC_DIR=$(CURDIR) \ PETSC_INSTALL_DIR=/usr/lib/petscdir/$(PETSC_VERSION) \ SL_LINKER_SUFFIX_VERSIONED="so.$(PETSC_VERSION)" all-legacy touch $@ build: build-arch build-indep touch $@ install-arch: build-arch # Install mpirun.lam and fake petscarch in PETSC_DIR/bin and manpages. # If someone builds with non-standard PETSC_ARCH we want that to be # reflected in the installed script (also removes c-shell dependence). install -d debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/bin cp -p debian/mpirun_lam \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/bin/mpirun_lam chmod +x debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/bin/mpirun_lam echo "#!/bin/sh -e" > \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/bin/petscarch echo "echo $(PETSC_ARCH)-c-opt" >> \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/bin/petscarch chmod +x debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/bin/petscarch # I know bin is an awkward place to put these, but can't think of a # better one... (doc is a symlink in the -doc package) cp -p debian/petscarch.1 debian/mpirun_lam.1 \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/bin gzip --best debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/bin/*.1 # Install conf in PETSC_DIR install -d debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/conf for cfile in `ls conf`; do \ grep -v top_builddir conf/$$cfile | \ sed "s/`echo $(CURDIR) | sed s/\\\\//\\\\\\\\\\\\//g`/\/usr\/lib\/petscdir\/$(PETSC_VERSION)/g" > \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/conf/$$cfile ; \ done # Install PETSC_ARCH/conf and PETSC_ARCH/include files in PETSC_DIR/PETSC_ARCH/; # replace this dir with install dir, and remove top_builddir install -d debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/$(PETSC_ARCH)-c-opt/conf ln -s $(PETSC_ARCH)-c-opt debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/$(PETSC_ARCH)-cxx-opt for cfile in `ls $(PETSC_ARCH)-c-opt/conf`; do \ grep -v top_builddir $(PETSC_ARCH)-c-opt/conf/$$cfile | \ sed "s/`echo $(CURDIR) | sed s/\\\\//\\\\\\\\\\\\//g`/\/usr\/lib\/petscdir\/$(PETSC_VERSION)/g" > \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/$(PETSC_ARCH)-c-opt/conf/$$cfile ; \ done rm -f debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/$(PETSC_ARCH)-c-opt/conf/*.py cp -a $(PETSC_ARCH)-c-opt/include debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/$(PETSC_ARCH)-c-opt/ # Now conf and include for the -dbg package install -d debian/lib$(PETSC_NAME)-dbg/usr/lib/petscdir/$(PETSC_VERSION)/$(PETSC_ARCH)-c-debug/conf ln -s $(PETSC_ARCH)-c-debug debian/lib$(PETSC_NAME)-dbg/usr/lib/petscdir/$(PETSC_VERSION)/$(PETSC_ARCH)-cxx-debug for cfile in `ls $(PETSC_ARCH)-c-debug/conf`; do \ grep -v top_builddir $(PETSC_ARCH)-c-debug/conf/$$cfile | \ sed "s/`echo $(CURDIR) | sed s/\\\\//\\\\\\\\\\\\//g`/\/usr\/lib\/petscdir\/$(PETSC_VERSION)/g" > \ debian/lib$(PETSC_NAME)-dbg/usr/lib/petscdir/$(PETSC_VERSION)/$(PETSC_ARCH)-c-debug/conf/$$cfile ; \ done rm -f debian/lib$(PETSC_NAME)-dbg/usr/lib/petscdir/$(PETSC_VERSION)/$(PETSC_ARCH)-c-debug/conf/*.py cp -a $(PETSC_ARCH)-c-debug/include debian/lib$(PETSC_NAME)-dbg/usr/lib/petscdir/$(PETSC_VERSION)/$(PETSC_ARCH)-c-debug/ # Install headers in PETSC_DIR/include install -d debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/finclude cp -p include/*.h include/*.hh \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include cp -p include/finclude/*.h include/finclude/*.h90 \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/finclude cp -a include/finclude/ftn-auto include/finclude/ftn-custom \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/finclude install -d debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/sieve # # No more include/sieve/problem in petsc 3.4.2 cp -a include/sieve/*.hh \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/sieve install -d debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/petsc-private # # Rename include/private to include/petsc-private in petsc 3.4.2 cp -p include/petsc-private/*.h \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/petsc-private cd debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include && \ ln -s ../$(PETSC_ARCH)-c-opt/include/*.h . install -d debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/src/mat/impls/aij/mpi sed "s/..\/src/src/" < src/mat/impls/aij/mpi/mpiaij.h > \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/src/mat/impls/aij/mpi/mpiaij.h install -d debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/src/mat/impls/aij/seq cp -p src/mat/impls/aij/seq/aij.h \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/src/mat/impls/aij/seq/aij.h install -d debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/src/mat/impls/dense/mpi sed "s/..\/src/src/" < src/mat/impls/dense/mpi/mpidense.h > \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/src/mat/impls/dense/mpi/mpidense.h install -d debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/src/mat/impls/dense/seq cp -p src/mat/impls/dense/seq/dense.h \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/src/mat/impls/dense/seq/dense.h install -d debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/src/sys # # No more src/sys/ctable.h in petsc 3.4.2 #cp -p src/sys/ctable.h \ # debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/include/src/sys/ # Add m4 files, /usr/share/aclocal symlinks will be made by postinst install -d debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/aclocal cp -p debian/petsc.m4 debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/aclocal cp -p debian/math-blaslapack.m4 debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/aclocal # Install libs in PETSC_DIR, move shared libs to /usr/lib and symlink install -d debian/lib$(PETSC_NAME)/usr/lib cp -a $(PETSC_ARCH)-c-opt/lib debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/$(PETSC_ARCH)-c-opt/ cp -a $(PETSC_ARCH)-c-debug/lib debian/lib$(PETSC_NAME)-dbg/usr/lib/petscdir/$(PETSC_VERSION)/$(PETSC_ARCH)-c-debug/ for LIB in `cd $(PETSC_ARCH)-c-opt/lib && ls *.so.*` ; \ do \ mv debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/$(PETSC_ARCH)-c-opt/lib/$$LIB \ debian/lib$(PETSC_NAME)/usr/lib/$$LIB ; \ ln -s ../../../../$$LIB \ debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/$(PETSC_ARCH)-c-opt/lib/$$LIB ; \ done # Make legacy symlinks including C++ install -d debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/lib ln -s ../$(PETSC_ARCH)-c-opt/lib debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/lib/libO ln -s ../$(PETSC_ARCH)-c-opt/lib debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/lib/libO_c++ install -d debian/lib$(PETSC_NAME)-dbg/usr/lib/petscdir/$(PETSC_VERSION)/lib ln -s ../$(PETSC_ARCH)-c-debug/lib debian/lib$(PETSC_NAME)-dbg/usr/lib/petscdir/$(PETSC_VERSION)/lib/libg ln -s ../$(PETSC_ARCH)-c-debug/lib debian/lib$(PETSC_NAME)-dbg/usr/lib/petscdir/$(PETSC_VERSION)/lib/libg_c++ # Legacy symlink so packages for 3.0 can build against 3.4.2 ln -s variables debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/conf/base # Lintian overrides install -d debian/lib$(PETSC_NAME)/usr/share/lintian/overrides install -d debian/lib$(PETSC_NAME)-dev/usr/share/lintian/overrides install -d debian/lib$(PETSC_NAME)-dbg/usr/share/lintian/overrides sed "s/petsc3.4.2/$(PETSC_NAME)/" < debian/lib$(PETSC_NAME).overrides > \ debian/lib$(PETSC_NAME)/usr/share/lintian/overrides/lib$(PETSC_NAME) sed "s/petsc3.4.2/$(PETSC_NAME)/" < debian/lib$(PETSC_NAME)-dev.overrides > \ debian/lib$(PETSC_NAME)-dev/usr/share/lintian/overrides/lib$(PETSC_NAME)-dev sed "s/petsc3.4.2/$(PETSC_NAME)/" < debian/lib$(PETSC_NAME)-dbg.overrides > \ debian/lib$(PETSC_NAME)-dbg/usr/share/lintian/overrides/lib$(PETSC_NAME)-dbg touch install-arch # Depends on install-arch because it creates PETSC_DIR install-indep: build-indep install-arch ifeq ($(PETSC_VERSION),3.4.2) # Install header documentation in -doc/include install -d debian/$(PETSC_NAME)-doc/usr/share/doc/$(PETSC_NAME)-doc/include/finclude cp -p include/*.html \ debian/$(PETSC_NAME)-doc/usr/share/doc/$(PETSC_NAME)-doc/include cp -p include/finclude/*.html \ debian/$(PETSC_NAME)-doc/usr/share/doc/$(PETSC_NAME)-doc/include/finclude install -d debian/$(PETSC_NAME)-doc/usr/share/doc/$(PETSC_NAME)-doc/include/sieve cp -p include/sieve/*.html \ debian/$(PETSC_NAME)-doc/usr/share/doc/$(PETSC_NAME)-doc/include/sieve install -d debian/$(PETSC_NAME)-doc/usr/share/doc/$(PETSC_NAME)-doc/include/petsc-private cp -p include/petsc-private/*.html \ debian/$(PETSC_NAME)-doc/usr/share/doc/$(PETSC_NAME)-doc/include/petsc-private for HEADERDOC in `cd debian/$(PETSC_NAME)-doc/usr/share/doc/$(PETSC_NAME)-doc/ && find include -name \*.h.html -print | sed s/.h.html/.h/`; \ do \ dh_link -p$(PETSC_NAME)-doc \ usr/lib/petscdir/$(PETSC_VERSION)/$$HEADERDOC \ usr/share/doc/$(PETSC_NAME)-doc/$$HEADERDOC; \ done # Install examples documentation in -doc/src directory for TESTDIR in `find src -name tests -print | sed "s/src\///"` \ `find src -name tutorials -print | sed "s/src\///"` benchmarks \ snes/examples/tutorials/ex10d; \ do \ install -d debian/$(PETSC_NAME)-doc/usr/share/doc/$(PETSC_NAME)-doc/src/$$TESTDIR; \ for TESTDOC in `find src/$$TESTDIR -name \*.html -print`; do \ cp -a $$TESTDOC \ debian/$(PETSC_NAME)-doc/usr/share/doc/$(PETSC_NAME)-doc/src/$$TESTDIR; \ done ; \ done # I don't know of a way to do this "recursively" rmdir `find debian/petsc3.4.2-doc -empty -type d -print` rmdir `find debian/petsc3.4.2-doc -empty -type d -print` rmdir `find debian/petsc3.4.2-doc -empty -type d -print` # Install examples & makefiles into temporary directory debian/extemp for TESTDIR in `find src -name tests -print | sed "s/src\///"` \ `find src -name tutorials -print | sed "s/src\///"` benchmarks; \ do \ install -d debian/extemp/src/$$TESTDIR; \ cp -a src/$$TESTDIR/* debian/extemp/src/$$TESTDIR; \ done for MAKEFILE in `find src -name makefile -print | sed "s/src\///"`; \ do \ if [ -d debian/extemp/src/`echo $$MAKEFILE | sed "s/makefile//"` ] ;\ then \ cp -p src/$$MAKEFILE debian/extemp/src/$$MAKEFILE; \ fi; \ done # Clean up documentation from debian/extemp rm -f `find debian/extemp -name \*.html -print` # HACK ALERT! This is a very inelegant way to assemble this makefile! rm -f debian/extemp/src/makefile sed "s/inline//" < src/makefile | grep -v include \ > debian/extemp/src/makefile grep -v \$$Id makefile | grep -v DIRS >> debian/extemp/src/makefile install -d debian/extemp/src/$(PETSC_ARCH)-c-opt/conf cp -p debian/lib$(PETSC_NAME)-dev/usr/lib/petscdir/$(PETSC_VERSION)/conf/petscvariables \ debian/extemp/src/$(PETSC_ARCH)-c-opt/conf/petscvariables # Pack debian/extemp/src into src.tar.gz and install cd debian/extemp && tar czf src.tar.gz src mv debian/extemp/src.tar.gz \ debian/$(PETSC_NAME)-doc/usr/share/doc/$(PETSC_NAME)-doc/src.tar.gz rm -rf debian/extemp # Make links to documentation and examples from PETSC_DIR and docs dh_link -p$(PETSC_NAME)-doc \ usr/share/doc/$(PETSC_NAME)-doc/docs \ usr/lib/petscdir/$(PETSC_VERSION)/docs \ usr/share/doc/$(PETSC_NAME)-doc/docs/index.html \ usr/lib/petscdir/$(PETSC_VERSION)/index.html \ usr/share/doc/$(PETSC_NAME)-doc/makefile.html \ usr/lib/petscdir/$(PETSC_VERSION)/makefile.html \ usr/share/doc/$(PETSC_NAME)-doc/src \ usr/lib/petscdir/$(PETSC_VERSION)/src # Lintian overrides install -d debian/$(PETSC_NAME)-doc/usr/share/lintian/overrides sed "s/petsc3.4.2/$(PETSC_NAME)/" < debian/petsc3.4.2-doc.overrides > \ debian/$(PETSC_NAME)-doc/usr/share/lintian/overrides/$(PETSC_NAME)-doc install -d debian/petsc-dev/usr/share/lintian/overrides install -m 644 debian/petsc-dev.overrides \ debian/petsc-dev/usr/share/lintian/overrides/petsc-dev touch install-indep endif install: install-arch install-indep touch install binary-indep: install-indep ifeq ($(PETSC_VERSION),3.4.2) dh_testdir -i dh_testroot -i dh_installdirs -i dh_installdocs -i # Clean up and finish rm -f `find debian/$(PETSC_NAME)-doc -name ?akefile -print` rm -f `find debian/$(PETSC_NAME)-doc -name *.cit* -print` rm -f `find debian/$(PETSC_NAME)-doc -empty -type f -print` dh_installchangelogs -i docs/changes/34.html dh_compress -i -X.xbm -X.pdf dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i endif binary-arch: install-arch dh_testdir -a dh_testroot -a # Customize control etc. using package names (maybe with -lam or -dec) mv -f debian/control debian/control.in sed "s/3.4.2/$(PETSC_VERSION)/" < debian/control.in | \ sed "s/$(PETSC_VERSION)-doc/3.4.2-doc/" | \ sed "s/Provides: $(PETSC_NAME)-dev/Provides: petsc3.4.2-dev/" | \ sed "s/Provides: $(PETSC_NAME)-dbg/Provides: petsc3.4.2-dbg/" \ > debian/control if [ "$(DEBIAN_DIST)" = "contrib" ]; then \ sed "s/Section: lib/Section: contrib\/lib/" < debian/control > \ debian/control.contrib ; \ mv -f debian/control.contrib debian/control ; \ fi for ARCHGEN in $(ARCH_GENERATED_FILES); do \ rm -f $$ARCHGEN ; \ sed "s/petsc_arch/$(PETSC_ARCH)-c-opt/" < \ `echo "$$ARCHGEN.in" | sed "s/$(PETSC_NAME)/petsc3.4.2/"` | \ sed "s/petsc_ver/$(PETSC_VERSION)/" > $$ARCHGEN; \ done # Generate substvars for MPI, linear algebra implementations and dist rm -f debian/*.substvars if [ "$(PETSC_MPI)" = "openmpi" ]; then \ echo "mpi=openmpi-bin" > debian/lib$(PETSC_NAME).substvars; \ echo "mpi-dev=libopenmpi-dev" > debian/lib$(PETSC_NAME)-dev.substvars; \ elif [ "$(PETSC_MPI)" = "mpich" ]; then \ echo "mpi=mpich" > debian/lib$(PETSC_NAME).substvars; \ echo "mpi-dev=libmpich-dev" > debian/lib$(PETSC_NAME)-dev.substvars; \ else \ echo "Unknown MPI implementation, stopping"; \ exit 1; \ fi if [ -e /usr/lib/libhdf5.so ]; then \ echo "hdf5-dev=libhdf5-mpi-dev" >> debian/lib$(PETSC_NAME)-dev.substvars; \ else \ echo "hdf5-dev=" >> debian/lib$(PETSC_NAME)-dev.substvars; \ fi if [ -e /usr/lib/libsidl.so ]; then \ echo "babel-dev=libsidl-dev" >> debian/lib$(PETSC_NAME)-dev.substvars; \ else \ echo "babel-dev=" >> debian/lib$(PETSC_NAME)-dev.substvars; \ fi if [ "$(PETSC_ARCH)" = "linux_alpha_dec" ]; then \ echo "linear-algebra-dev=cxml" >> debian/lib$(PETSC_NAME)-dev.substvars; \ echo "petsc-compilers=ccc, cfal" >> debian/lib$(PETSC_NAME)-dev.substvars; \ else \ echo "linear-algebra-dev=libblas-dev, liblapack-dev" >> debian/lib$(PETSC_NAME)-dev.substvars; \ echo "petsc-compilers=gfortran, g++" >> debian/lib$(PETSC_NAME)-dev.substvars; \ fi if [ "$(DEBIAN_DIST)" = "main" ]; then \ echo "petsc-extra-dev=" >> debian/lib$(PETSC_NAME)-dev.substvars; \ elif [ "$(DEBIAN_DIST)" = "contrib" ]; then \ echo "petsc-extra-dev=libparmetis-dev" >> debian/lib$(PETSC_NAME)-dev.substvars; \ else \ echo "Unknown Debian distribution, stopping"; \ exit 1; \ fi # The rest is pretty much debhelper boilerplate dh_installdirs -a dh_installdocs -a dh_installchangelogs -a docs/changes/34.html dh_strip -a -Xlibg$(PETSC_BOPT_EXTRA) --dbg-package=libpetsc$(PETSC_VERSION)-dbg # # To avoid slepc complaining about shared libs being out of date touch debian/lib$(PETSC_NAME)-dbg/usr/lib/petscdir/$(PETSC_VERSION)/$(PETSC_ARCH)-c-debug/lib/*.so* dh_makeshlibs -a -m$(PETSC_VERSION) dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a # Below here is fairly generic really binary: binary-indep binary-arch DEB_SOURCE_PACKAGE = petsc DEB_UPSTREAM_VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p') DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n -e 's/\.dfsg.*$$//p') USCAN_DESTDIR := $(CURDIR) .PHONY: binary binary-arch binary-indep clean checkroot get-orig-source: uscan --force-download --verbose --check-dirname-level 0 --destdir $(USCAN_DESTDIR) --download-version $(DEB_STRIPPED_UPSTREAM_VERSION) --upstream-version $(DEB_STRIPPED_UPSTREAM_VERSION) ; \ set -ex ; test -d $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig && rm -rf $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig ; \ TMPDIR=$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig; \ mkdir $$TMPDIR; \ cp $(USCAN_DESTDIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_STRIPPED_UPSTREAM_VERSION).orig.tar.gz "$$TMPDIR" ; \ tar -C "$$TMPDIR" --strip-components 1 -xzf "$$TMPDIR"/$(DEB_SOURCE_PACKAGE)_$(DEB_STRIPPED_UPSTREAM_VERSION).orig.tar.gz ; \ rm -f "$$TMPDIR"/$(DEB_SOURCE_PACKAGE)*.tar.gz ; \ find "$$TMPDIR"/docs -name \*.pdf | xargs rm ; \ GZIP=-9 tar -czf \ $(CURDIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz \ $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig ; \ rm -rf "$$TMPDIR" debian/README.Debian0000644000000000000000000001323612251665117011242 0ustar PETSc Debian Package Description -------------------------------- For up-to-date information about the package, its issues, and future plans, please see: http://lyre.mit.edu/~powell/petsc.html . You can also look there for old versions of the package, in case you need to build something against a 2.0.28 or 2.1.0 release (I keep the last package for each upstream version). This is upstream version 3.4.2. I'm no longer including the upstream patch level in the Debian version number to minimize wasteful redistribution of 99.99% identical .orig.tar.gz files for each release. INTRODUCTION This source package is distributed in five binary packages: the shared libraries are in libpetsc3.4.2; header files, static libraries, the petscarch and mpirun_lam scripts and important files for building examples are in libpetsc3.4.2-dev, this also sets up various alternatives links; debugging static libraries are in libpetsc3.4.2-dbg; extensive documentation and source code from "tests" and "tutorials" directories are in petsc3.4.2-doc. With libpetsc3.4.2-dev installed, you can build programs against it two ways: 1. Standard build convention: use -I/usr/include/petsc for headers and link to optimized libraries in /usr/lib, so your resulting binaries will only depend on libpetsc3.4.2. To link against the static debugging libs in libpetsc3.4.2-dbg, just set LD_LIBRARY_PATH to /usr/lib/petsc/lib/libg/`petscarch`. 2. PETSc build convention: adapt a makefile from one of their tests or tutorial directories and build with make PETSC_DIR=/usr/lib/petsc PETSC_ARCH=`petscarch` PETSC_LIB_DIR=$PETSC_DIR/$PETSC_ARCH/lib . Of these, the latter is probably the easier one, as it automatically sets up all of the include paths and library linkages for PETSc and its various dependencies. EXAMPLES For your testing convenience, petsc3.4.2-doc comes with the source code of the full PETSc test and tutorial suite. Just do: tar xzf /usr/share/doc/petsc3.4.2-doc/src.tar.gz then cd src, and use the PETSc build convention make command above with target testexamples or testfortran (add _uni to the target name for single-processor operation). This will build and run the entire suite. Then choose an appropriate example to modify for your own purposes, and you're off. NOTE: not all of the examples work! If one fails for you, please try to patch it to make it work; you can often use a similar example in the same directory to do this. You may be able to get some help from the upstream maintainers for this, see the homepage for details, but the examples do not seem to be consistently maintained. If you file a bug report because of a failed example, I will forward it upstream and leave it open until it's fixed, but can't promise I'll try to fix it. REPORTING BUGS and BUILDING FROM SOURCE Also, upstream does not maintain old versions of PETSc. If you have trouble with the version in stable, you should file a bug report (see http://bugs.debian.org/ for directions), then try building the version in unstable, by adding an unstable source code line to /etc/apt/sources.list, then typing (as a normal user): fakeroot apt-get --compile source petsc This will download and build everything for you. If the unstable version does not solve your problem, or the customizations below don't meet your needs, file a bug report, and if your problem is not specific to the Debian package then I'll forward it upstream. CUSTOMIZING THE DEBIAN PETSC PACKAGE There are several ways to customize this package: 1) To use a different PETSC_ARCH variable (e.g. linux_alpha_dec to use the Compaq compilers on an Alpha), do: apt-get source petsc cd petsc-3.4.2 fakeroot debian/rules PETSC_ARCH=linux_alpha_dec binary Note that this will only build architecture-dependent packages, and with different package names, different directory names (still linked from /usr/lib/petsc), and different shared library sonames. 2) You can also build the libraries to use the lam or mpich MPI implementation instead of the default openmpi by setting PETSC_MPI=lam (or mpich) and PETSC_MPI_DIR=/usr/lib/lam (or mpich, or mpich-mpd or mpich-shmem) and build as with the Compaq compilers above. This will also result in only architecture-dependent packages with different package names, directory names, and shared library sonames. NOTE ON SYMBOLIC LINKS THROUGH /etc/alternatives Because it is possible and often desirable to have multiple versions of PETSc installed at the same time, this package facilitates the process by setting up multiple symbolic links through /etc/alternatives. To switch the default symbolic links from one installed version to another, you should use the update-alternatives Debian script (in /usr/sbin). For example: update-alternatives --display petsc will show you the current symlink from /usr/lib/petsc, and all of its accompanying "slave" links, as well as all of the other possible values of links if you have multiple versions of PETSc installed. The command: update-alternatives --config petsc (as root) will present you with a list of possible values to choose from, if there is more than one. To maintain the consistency of the master and slave symlinks, it is very important that you use the Debian update-alternatives command, and do NOT hand-edit the symbolic links yourself. Note that individual users can build against non-default installed versions of PETSc simply by setting the PETSC_DIR environment variable to the target directory instead of /usr/lib/petsc, for example to build against the lam version a user might set PETSC_DIR=/usr/lib/petscdir/3.4.2-lam . -- "Adam C. Powell, IV" , Thu, 29 Dec 2011 10:06:45 -0500 debian/mpirun_lam0000644000000000000000000000077512251665117011273 0ustar #!/bin/sh #set -x # # This program is a wrapper over lam's mpirun. It converts # the mpich's mpirun formated command to lam's format. # and invokes lam's mpirun with it. # if [ $1 != "-np" ]; then echo "Error in mpirun command" exit 1 fi shift np=$1 shift progname=$1 shift options=$* # # Please modify the following path to point to the correct location of LAM's mpirun # lam_path=/usr/bin # # Now execute the mpirun comman # $lam_path/mpirun.lam -w -c $np -s n0 $progname -- $options $lam_path/lamclean debian/copyright0000644000000000000000000000770512251665117011140 0ustar This package was debianized by Adam Powell on April 16 2001 based on the petsc source package of 2.0.28 begun August 14 2000 It was downloaded from http://www.mcs.anl.gov/petsc/ as 3.4.3 tarball, .orig.tar.gz contains the 3.4.2 release minus non-free files mentioned in the changelog. Upstream authors: Satish Balay, William D. Gropp, Lois Curfman McInnes, Barry F. Smith Copyright: (from docs/copyright.html) Licensing Notification Permission to use, reproduce, prepare derivative works, and to redistribute to others this software, derivatives of this software, and future versions of this software as well as its documentation is hereby granted, provided that this notice is retained thereon and on all copies or modifications. This permission is perpetual, world-wide, and provided on a royalty-free basis. UChicago Argonne, LLC and all other contributors make no representations as to the suitability and operability of this software for any purpose. It is provided "as is" without express or implied warranty. Software authors o Mathematics and Computer Science Division o Argonne National Laboratory, o Argonne IL 60439 FAX: (630) 252-5986 o Any questions or comments on the software may be directed to petsc-maint@mcs.anl.gov . Portions of this software are copyright by UChicago Argonne, LLC. Argonne National Laboratory with facilities in the state of Illinois, is owned by The United States Government, and operated by UChicago Argonne, LLC under provision of a contract with the Department of Energy. DISCLAIMER PORTIONS OF THIS SOFTWARE WERE PREPARED AS AN ACCOUNT OF WORK SPONSORED BY AN AGENCY OF THE UNITED STATES GOVERNMENT. NEITHER THE UNITED STATES GOVERNMENT NOR ANY AGENCY THEREOF, NOR THE UNIVERSITY OF CHICAGO, NOR ANY OF THEIR EMPLOYEES OR OFFICERS, MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY INFORMATION, APPARATUS, PRODUCT, OR PROCESS DISCLOSED, OR REPRESENTS THAT ITS USE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS. REFERENCE HEREIN TO ANY SPECIFIC COMMERCIAL PRODUCT, PROCESS, OR SERVICE BY TRADE NAME, TRADEMARK, MANUFACTURER, OR OTHERWISE, DOES NOT NECESSARILY CONSTITUTE OR IMPLY ITS ENDORSEMENT, RECOMMENDATION, OR FAVORING BY THE UNITED STATES GOVERNMENT OR ANY AGENCY THEREOF. THE VIEW AND OPINIONS OF AUTHORS EXPRESSED HEREIN DO NOT NECESSARILY STATE OR REFLECT THOSE OF THE UNITED STATES GOVERNMENT OR ANY AGENCY THEREOF. Files: bin/matlab/laplacianlicense.txt bin/matlab/laplacian.m.html Copyright: Bryan C. Smith and Andrew V. Knyazev 2011 License: BSD-like Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: config/BuildSystem/patch.py Copyright: anatoly techtonik 2008-2011 License: MIT debian/petscarch.10000644000000000000000000000103412251665117011230 0ustar .TH petscarch 1 "PETSc architecture indicator" "DEBIAN" \" -*- nroff -*- .SH NAME petscarch \- PETSc architecture indicator .SH SYNOPSIS \fBpetscarch\fP .SH DESCRIPTION This one-line script tells the value of the PETSC_ARCH variable under which the PETSc Debian package was built. It is a symbolic link through /etc/alternatives to the currently selected version of PETSc, slaved to the petsc link. (If you don't understand this, please visit the manpage for update-alternatives.) .SH BUGS None. .SH AUTHOR Adam Powell debian/petsc.m40000644000000000000000000000530212251665117010554 0ustar dnl PETSc checks by Adam Powell last modified 2002-10-15 dnl Copyright 2002 Adam Powell, redistributable under the terms of the GNU dnl General Public License version 2 or later. dnl Note: to use these, one must put: dnl include $(PETSC_DIR)/conf/base dnl very high in the Makefile.am of the directory where the links are made to dnl PETSc libraries. This will then allow the use of variables like dnl $(PETSC_DM_LIB) in _LIBADD fields. dnl See the illuminator package for a good example of this. AC_DEFUN([PETSC_CHECKS],[ dnl PETSc checks, with defaults for PETSC_DIR, PETSC_ARCH and BOPT. dnl Note: this trusts PETSc to provide valid flags and libs for dnl BLAS/LAPACK and MPI. I don't see an easy way to verify this. AC_CHECK_FILE($PETSC_DIR/bin/petscarch, , [ AC_CHECK_FILE(/usr/lib/petsc/bin/petscarch, PETSC_DIR=/usr/lib/petsc, AC_MSG_ERROR(Cannot find petscarch, please set PETSC_DIR for your PETSc install.))]) AC_SUBST(PETSC_DIR) AC_CHECK_PROG(PETSC_ARCH, petscarch, `petscarch`, , $PETSC_DIR/bin, /usr/bin) AC_SUBST(PETSC_ARCH) AC_CHECK_FILE($PETSC_DIR/$PETSC_ARCH/lib/libpetsc.a, , AC_MSG_ERROR(Library libpetsc.a does not seem to be installed.)) dnl And now, the lib defs MATH_BLASLAPACK_CHECKS PETSC_X11_LIBS="-L/usr/X11R6/lib -lX11" dnl This is wrong, or rather, only right for one MPI configuration. dnl Will have to change it so the PETSc package sets it properly. PETSC_MPI_LIBS="-lmpi" dnl This kind of mirrors conf/variables, though only for .m4 dnl files; makefiles should include "$(PETSC_DIR)/conf/base" dnl and use e.g. ${PETSC_DM_LIB} etc. PETSC_LIBDIR="$PETSC_DIR/$PETSC_ARCH/lib" PETSC_EXTERNAL_LIBS="$PETSC_MPI_LIBS $PETSC_X11_LIBS $BLASLAPACK_LIBS -lhdf5 -lstdc++" dnl Basic check aLIBS="$LIBS" LIBS="$aLIBS -L$PETSC_LIBDIR $PETSC_EXTERNAL_LIBS" AC_CHECK_LIB(petsc, PetscPrintf, , AC_MSG_ERROR("PETSc libraries not found")) LIBS="$aLIBS" dnl And lots of definitions PETSC_SYS_LIB_BASIC="-lpetsc $PETSC_EXTERNAL_LIBS" PETSC_VEC_LIB_BASIC="-lpetscvec $PETSC_SYS_LIB_BASIC" PETSC_MAT_LIB_BASIC="-lpetscmat $PETSC_VEC_LIB_BASIC" PETSC_DM_LIB_BASIC="-lpetscdm $PETSC_MAT_LIB_BASIC" PETSC_KSP_LIB_BASIC="-lpetscksp $PETSC_DM_LIB_BASIC" PETSC_SNES_LIB_BASIC="-lpetscsnes $PETSC_KSP_LIB_BASIC" PETSC_TS_LIB_BASIC="-lpetscts $PETSC_SNES_LIB_BASIC" dnl These are the ones to use in other m4 tests PETSC_SYS_LIB="-L$PETSC_LIBDIR $PETSC_SYS_LIB_BASIC" PETSC_VEC_LIB="-L$PETSC_LIBDIR $PETSC_VEC_LIB_BASIC" PETSC_MAT_LIB="-L$PETSC_LIBDIR $PETSC_MAT_LIB_BASIC" PETSC_DM_LIB="-L$PETSC_LIBDIR $PETSC_DM_LIB_BASIC" PETSC_KSP_LIB="-L$PETSC_LIBDIR $PETSC_KSP_LIB_BASIC" PETSC_SNES_LIB="-L$PETSC_LIBDIR $PETSC_SNES_LIB_BASIC" PETSC_TS_LIB="-L$PETSC_LIBDIR $PETSC_TS_LIB_BASIC" ]) debian/watch0000644000000000000000000000017012251665316010224 0ustar version=3 opts=dversionmangle=s/\.dfsg\d// \ http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-([\d\.]+).tar.gz debian/math-blaslapack.m40000644000000000000000000000510012251665117012456 0ustar dnl Math and linear algebra checks by Adam Powell last modified 2002-10-16. dnl Copyright 2002 Adam Powell, redistributable under the terms of the GNU dnl General Public License version 2 or later. AC_DEFUN([MATH_BLASLAPACK_CHECKS],[ dnl ffm is free fast math by Joachim Wesner and Kazushige Goto for dnl Linux/Alpha. AC_CHECK_HEADERS(libffm.h) AC_CHECK_LIB(ffm, dsqrtiv, MATH_LIBS="$MATH_LIBS -lffm" MATH_INCLUDES="-DFFM") dnl Alphas need this sometimes AC_CHECKING([whether -mieee is needed to avoid SIGFPE on divide by zero]) case $build/$CC in alpha*/gcc* ) MIEEE_CFLAGS="-mieee" AC_MSG_RESULT([yes]) ;; * ) MIEEE_CFLAGS="" AC_MSG_RESULT([not needed]) ;; esac AC_SUBST(MIEEE_CFLAGS) dnl Used to check for IRIX multi-processor BLAS, but result was dnl EXTREMELY slow (here just for historical purposes) dnl AC_CHECK_LIB(blas_mp, dgemm_, BLAS_LIBS="-mp -lblas_mp", [ dnl AC_CHECK_LIB(f77blas, dgemm_, BLAS_LIBS="-lf77blas -latlas", [ dnl LIBS="$aLIBS $MATH_LIBS $FLIBS"])]) dnl For now, I don't see a need for mixed blas/lapackgf-3 or dnl blas-3gf/lapack, only blas-3gf/lapackgf-3 and blas/lapack are checked. AC_F77_LIBRARY_LDFLAGS aLIBS="$LIBS" LIBS="$aLIBS $FLIBS" AC_CHECK_LIB(blas-3gf, dgemm_, [ HAVE_BLAS="yes" LIBS="-lblas-3gf $aLIBS $MATH_LIBS $FLIBS" AC_CHECK_LIB(lapackgf-3, dgetrf_, HAVE_LAPACK="yes" BLASLAPACK_LIBS="-lblas-3gf -llapackgf-3 $FLIBS", dnl This second check is for Debian woody on Alpha LIBS="$aLIBS -lblas-3gf /lib/libgcc_s.so.1 $MATH_LIBS $FLIBS" AC_CHECK_LIB(lapackgf-3, dgetri_, HAVE_LAPACK="yes" BLASLAPACK_LIBS="-lblas-3gf -llapackgf-3 /lib/libgcc_s.so.1 $MATH_LIBS", HAVE_LAPACK="no" BLASLAPACK_LIBS="-lblas-3gf $MATH_LIBS"))], [ AC_CHECK_LIB(blas, dgemv_, [ HAVE_BLAS="yes" LIBS="$aLIBS -lblas $MATH_LIBS $FLIBS" AC_CHECK_LIB(lapack, dgetrf_, HAVE_LAPACK="yes" BLASLAPACK_LIBS="-lblas -llapack $MATH_LIBS $FLIBS", BLASLAPACK_LIBS="-lblas $MATH_LIBS $FLIBS")])]) LIBS="$aLIBS" dnl cpml is the Compaq Portable Math Library for Linux/Alpha, and often dnl comes with cxml which has superfast blas/lapack included, so this dnl overrides the above BLAS and LAPACK checks. aLIBS="$LIBS" LIBS="$aLIBS -lots" AC_CHECK_LIB(cpml, sqrt, MATH_LIBS="-lots -lcpml $MATH_LIBS" MATH_INCLUDES="$MATH_INCLUDES" LIBS="-lots -lcpml $aLIBS" [ AC_CHECK_LIB(cxml, dgemm_, BLASLAPACK_LIBS="-lcxml $MATH_LIBS" HAVE_BLAS="yes" HAVE_LAPACK="yes")]) LIBS="$aLIBS" AC_SUBST(MATH_LIBS) AC_SUBST(MATH_INCLUDES) AC_SUBST(BLASLAPACK_LIBS) AC_SUBST(HAVE_BLAS) AC_SUBST(HAVE_LAPACK) ]) debian/patches/0000755000000000000000000000000012252027665010624 5ustar debian/patches/example-src-dir.patch0000644000000000000000000000313412251665117014641 0ustar Remove relative path so -I$PETSC_DIR/include finds installed headers Index: petsc-3.4.2/src/mat/examples/tests/ex110.c =================================================================== --- petsc-3.4.2.orig/src/mat/examples/tests/ex110.c 2013-08-20 15:26:51.000000000 +0200 +++ petsc-3.4.2/src/mat/examples/tests/ex110.c 2013-08-20 15:26:51.000000000 +0200 @@ -1,7 +1,7 @@ static char help[] = "Testing MatCreateMPIAIJWithSplitArrays().\n\n"; #include -#include <../src/mat/impls/aij/mpi/mpiaij.h> +#include #undef __FUNCT__ #define __FUNCT__ "main" Index: petsc-3.4.2/src/mat/examples/tutorials/ex4.c =================================================================== --- petsc-3.4.2.orig/src/mat/examples/tutorials/ex4.c 2013-08-20 15:26:51.000000000 +0200 +++ petsc-3.4.2/src/mat/examples/tutorials/ex4.c 2013-08-20 15:26:51.000000000 +0200 @@ -89,7 +89,7 @@ return 0; } -#include <../src/mat/impls/dense/mpi/mpidense.h> +#include #include #undef __FUNCT__ Index: petsc-3.4.2/src/mat/examples/tutorials/ex5.c =================================================================== --- petsc-3.4.2.orig/src/mat/examples/tutorials/ex5.c 2013-08-20 15:26:51.000000000 +0200 +++ petsc-3.4.2/src/mat/examples/tutorials/ex5.c 2013-08-20 15:26:51.000000000 +0200 @@ -7,7 +7,7 @@ #include #if defined(USE_FAST_MAT_SET_VALUES) -#include <../src/mat/impls/aij/mpi/mpiaij.h> +#include #define MatSetValues MatSetValues_MPIAIJ #else #include debian/patches/mumps.patch0000644000000000000000000000417212251665117013011 0ustar Change MUMPS graph partition dependency from ParMETIS to Scotch. Index: petsc/config/PETSc/packages/MUMPS.py =================================================================== --- petsc.orig/config/PETSc/packages/MUMPS.py +++ petsc/config/PETSc/packages/MUMPS.py @@ -19,13 +19,12 @@ self.blasLapack = framework.require('config.packages.BlasLapack',self) self.blacs = framework.require('PETSc.packages.blacs',self) self.scalapack = framework.require('PETSc.packages.SCALAPACK',self) - self.parmetis = framework.require('PETSc.packages.ParMetis',self) - self.deps = [self.parmetis,self.scalapack,self.blacs,self.mpi,self.blasLapack] - if self.framework.argDB.get('download-scotch') or self.framework.argDB.get('with-scotch'): - self.scotch = framework.require('PETSc.packages.PTScotch',self) - self.deps.append(self.scotch) + self.deps = [self.scalapack,self.blacs,self.mpi,self.blasLapack] + if self.framework.argDB.get('download-ptscotch') or self.framework.argDB.get('with-ptscotch'): + self.ptscotch = framework.require('PETSc.packages.PTScotch',self) + self.deps.append(self.ptscotch) else: - self.scotch = 0 + self.ptscotch = 0 return def Install(self): @@ -37,10 +36,10 @@ g.write('LPORDDIR = $(topdir)/PORD/lib/\n') g.write('IPORD = -I$(topdir)/PORD/include/\n') g.write('LPORD = -L$(LPORDDIR) -lpord\n') - g.write('IMETIS = '+self.headers.toString(self.parmetis.include)+'\n') - g.write('LMETIS = '+self.libraries.toString(self.parmetis.lib)+'\n') - orderingsc = '-Dmetis -Dparmetis -Dpord' - orderingsf = self.compilers.FortranDefineCompilerOption+'metis '+self.compilers.FortranDefineCompilerOption+'parmetis '+self.compilers.FortranDefineCompilerOption+'pord' + #g.write('IMETIS = '+self.headers.toString(self.parmetis.include)+'\n') + #g.write('LMETIS = '+self.libraries.toString(self.parmetis.lib)+'\n') + orderingsc = '-Dpord' + orderingsf = self.compilers.FortranDefineCompilerOption+'pord' # Disable threads on BGL if self.libraryOptions.isBGL(): orderingsc += ' -DWITHOUT_PTHREAD' debian/patches/lib-versions.patch0000644000000000000000000000352712251665117014267 0ustar This changes the shared library name to a versioned one, with a symlink, and fixes the shared library out-of-date test accordingly. Index: petsc-3.4.2/conf/rules =================================================================== --- petsc-3.4.2.orig/conf/rules 2013-08-20 15:29:40.000000000 +0200 +++ petsc-3.4.2/conf/rules 2013-08-20 15:29:40.000000000 +0200 @@ -65,7 +65,7 @@ chkopts: chk_upgrade @for LIBNAME in ${SHLIBS}; do \ library=${INSTALL_LIB_DIR}/$$LIBNAME.a; \ - sharedlibrary=${INSTALL_LIB_DIR}/$$LIBNAME.${SL_LINKER_SUFFIX}; \ + sharedlibrary=`readlink -e ${INSTALL_LIB_DIR}/$$LIBNAME.${SL_LINKER_SUFFIX}`; \ flag=""; \ if [ -f $$library ]; then \ if [ -f $$sharedlibrary ]; then \ @@ -518,8 +518,8 @@ echo ${RM} -rf ${INSTALL_LIB_DIR}/$${LIBNAME}.dylib.dSYM; \ ${RM} -rf ${INSTALL_LIB_DIR}/$${LIBNAME}.dylib.dSYM; \ fi; \ - echo ${RM} ${INSTALL_LIB_DIR}/$${LIBNAME}.${SL_LINKER_SUFFIX}; \ - ${RM} ${INSTALL_LIB_DIR}/$${LIBNAME}.${SL_LINKER_SUFFIX}; \ + echo ${RM} ${INSTALL_LIB_DIR}/$${LIBNAME}.${SL_LINKER_SUFFIX}*; \ + ${RM} ${INSTALL_LIB_DIR}/$${LIBNAME}.${SL_LINKER_SUFFIX}*; \ done @if [ -f ${INSTALL_LIB_DIR}/so_locations ]; then \ echo ${RM} ${INSTALL_LIB_DIR}/so_locations; \ @@ -878,7 +878,8 @@ shared_linux: -@cd ${SHARED_LIBRARY_TMPDIR}; \ - ${CLINKER} -shared -Wl,-soname,${LIBNAME}.${SL_LINKER_SUFFIX} -o ${INSTALL_LIB_DIR}/$$LIBNAME.${SL_LINKER_SUFFIX} *.o ${PETSC_EXTERNAL_LIB_BASIC} ${OTHERSHAREDLIBS}; \ + ${CLINKER} -shared -Wl,-soname,${LIBNAME}.${SL_LINKER_SUFFIX_VERSIONED} -o ${INSTALL_LIB_DIR}/$$LIBNAME.${SL_LINKER_SUFFIX_VERSIONED} *.o ${PETSC_EXTERNAL_LIB_BASIC} ${OTHERSHAREDLIBS}; \ + ln -s $$LIBNAME.${SL_LINKER_SUFFIX_VERSIONED} ${INSTALL_LIB_DIR}/$$LIBNAME.${SL_LINKER_SUFFIX} shared_darwin: -@cd ${SHARED_LIBRARY_TMPDIR}; \ debian/patches/configure-kfreebsd8.patch0000644000000000000000000000062412251665117015502 0ustar Add Debian GNU/KFreeBSD version 8 support Index: petsc/conf/rules =================================================================== --- petsc.orig/conf/rules 2010-08-04 14:31:36.000000000 -0400 +++ petsc/conf/rules 2010-08-04 14:32:09.000000000 -0400 @@ -865,6 +865,7 @@ shared_kfreebsd6: shared_kfreebsd shared_kfreebsd: shared_linux +shared_kfreebsd8: shared_linux shared_aix3: shared_aix4: debian/patches/nocleanup.patch0000644000000000000000000000266112251665117013635 0ustar Turn off cleanup. Index: petsc-3.4.2/config/BuildSystem/config/framework.py =================================================================== --- petsc-3.4.2.orig/config/BuildSystem/config/framework.py 2013-08-20 15:33:19.000000000 +0200 +++ petsc-3.4.2/config/BuildSystem/config/framework.py 2013-08-20 15:33:19.000000000 +0200 @@ -192,7 +192,7 @@ help.addArgument('Framework', '-ignoreCompileOutput=', nargs.ArgBool(None, 1, 'Ignore compiler output')) help.addArgument('Framework', '-ignoreLinkOutput=', nargs.ArgBool(None, 1, 'Ignore linker output')) help.addArgument('Framework', '-ignoreWarnings=', nargs.ArgBool(None, 0, 'Ignore compiler and linker warnings')) - help.addArgument('Framework', '-doCleanup=', nargs.ArgBool(None, 1, 'Delete any configure generated files (turn off for debugging)')) + help.addArgument('Framework', '-doCleanup=', nargs.ArgBool(None, 0, 'Delete any configure generated files (turn off for debugging)')) help.addArgument('Framework', '-with-alternatives=', nargs.ArgBool(None, 0, 'Provide a choice among alternative package installations')) help.addArgument('Framework', '-search-dirs', nargs.Arg(None, searchdirs, 'A list of directories used to search for executables')) help.addArgument('Framework', '-package-dirs', nargs.Arg(None, packagedirs, 'A list of directories used to search for packages')) debian/patches/build-no-rpath.patch0000644000000000000000000000334312251665117014474 0ustar This gets rid of rpath in the build system. Index: petsc-3.4.2/config/BuildSystem/config/setCompilers.py =================================================================== --- petsc-3.4.2.orig/config/BuildSystem/config/setCompilers.py 2013-08-20 15:24:48.000000000 +0200 +++ petsc-3.4.2/config/BuildSystem/config/setCompilers.py 2013-08-20 15:24:48.000000000 +0200 @@ -1288,11 +1288,7 @@ return def checkSharedLinkerPaths(self): - '''Determine the shared linker path options - - IRIX: -rpath - - Linux, OSF: -Wl,-rpath, - - Solaris: -R - - FreeBSD: -Wl,-R,''' + '''Linker rpath setting turned off for Debian PETSc package.''' languages = ['C'] if hasattr(self, 'CXX'): languages.append('Cxx') @@ -1302,23 +1298,6 @@ languages.append('CUDA') for language in languages: flag = '-L' - self.pushLanguage(language) - # test '-R' before '-rpath' as sun compilers [c,fortran] don't give proper errors with wrong options. - if not Configure.isDarwin(): - testFlags = ['-Wl,-rpath,', '-R','-rpath ' , '-Wl,-R,'] - else: - testFlags = [] - # test '-R' before '-Wl,-rpath' for SUN compilers [as cc on linux accepts -Wl,-rpath, but f90 & CC do not. - if self.isSun(self.framework.getCompiler()): - testFlags.insert(0,'-R') - for testFlag in testFlags: - self.framework.logPrint('Trying '+language+' linker flag '+testFlag) - if self.checkLinkerFlag(testFlag+os.path.abspath(os.getcwd())): - flag = testFlag - break - else: - self.framework.logPrint('Rejected '+language+' linker flag '+testFlag) - self.popLanguage() setattr(self, language+'SharedLinkerFlag', flag) return debian/patches/sprng-2.patch0000644000000000000000000000224712251665117013141 0ustar Small adaptations to use Debian sprng. Index: petsc-3.4.2/config/PETSc/packages/sprng.py =================================================================== --- petsc-3.4.2.orig/config/PETSc/packages/sprng.py 2013-08-20 15:32:59.000000000 +0200 +++ petsc-3.4.2/config/PETSc/packages/sprng.py 2013-08-20 15:32:59.000000000 +0200 @@ -6,7 +6,7 @@ self.download = ['http://ftp.mcs.anl.gov/pub/petsc/externalpackages/sprng-1.0.tar.gz'] self.functions = ['make_new_seed_mpi'] self.includes = ['sprng.h'] - self.liblist = [['liblcg.a']] + self.liblist = [['libsprng.a']] return def setupDependencies(self, framework): Index: petsc-3.4.2/src/sys/classes/random/impls/sprng/sprng.c =================================================================== --- petsc-3.4.2.orig/src/sys/classes/random/impls/sprng/sprng.c 2013-08-20 15:32:59.000000000 +0200 +++ petsc-3.4.2/src/sys/classes/random/impls/sprng/sprng.c 2013-08-20 15:32:59.000000000 +0200 @@ -12,7 +12,7 @@ PetscErrorCode PetscRandomSeed_Sprng(PetscRandom r) { PetscFunctionBegin; - init_sprng(r->seed,SPRNG_DEFAULT); + init_sprng(SPRNG_CMRG,r->seed,SPRNG_DEFAULT); PetscFunctionReturn(0); } debian/patches/scotch-shlib.patch0000644000000000000000000000137412251665117014233 0ustar --- petsc-3.0.0.dfsg/config/PETSc/packages/Scotch.py~ 2008-12-19 15:17:05.000000000 -0500 +++ petsc-3.0.0.dfsg/config/PETSc/packages/Scotch.py 2009-05-12 16:28:11.000000000 -0400 @@ -10,8 +10,8 @@ PETSc.package.Package.__init__(self, framework) self.download = ['http://gforge.inria.fr/frs/download.php/10715/scotch_5.1.2.tar.gz'] self.downloadname = self.name.lower() - self.liblist = [['libscotch.a','libscotcherr.a'], - ['libscotch.a','libscotcherr.a','librt.a']] + self.liblist = [['libscotch.so','libscotcherr.so'], + ['libscotch.so','libscotcherr.so','librt.so']] self.functions = ['SCOTCH_archBuild'] self.includes = ['scotch.h'] self.complex = 0 debian/patches/build-debug-nowarn.patch0000644000000000000000000000241612251665117015334 0ustar This gets rid of silly warnings about compiling without debugging symbols. Index: petsc-3.4.2/config/PETSc/utilities/debugging.py =================================================================== --- petsc-3.4.2.orig/config/PETSc/utilities/debugging.py 2013-08-20 15:21:46.000000000 +0200 +++ petsc-3.4.2/config/PETSc/utilities/debugging.py 2013-08-20 15:21:46.000000000 +0200 @@ -26,17 +26,7 @@ # should do error checking if self.framework.argDB['with-errorchecking']: self.addDefine('USE_ERRORCHECKING',1) - else: - self.logPrintBox(' WARNING! Compiling PETSc with NO error checking/exception handling, \n \ - this should only be done for timing and production runs where you DO NOT \n \ - use PETSc exceptions. All development should be done when configured using \n \ - --with-errorchecking=1') - self.debugging = self.compilerFlags.debugging - if not self.debugging: - self.logPrintBox(' WARNING! Compiling PETSc with no debugging, this should \n \ - only be done for timing and production runs. All development should \n \ - be done when configured using --with-debugging=1') def configure(self): self.executeTest(self.configureDebugging) debian/patches/series0000644000000000000000000000036112252027665012041 0ustar build-debug-nowarn.patch build-no-rpath.patch docs.patch example-src-dir.patch #install-dir.patch lib-versions.patch sprng-2.patch clean-no-double-colon.patch #configure-kfreebsd8.patch #mumps.patch hypre.patch nocleanup.patch g++-4.8.patch debian/patches/docs.patch0000644000000000000000000000705412251665117012602 0ustar A few minor Debian customizations of the HTML PETSc documentation. Remove links to non-free PDF files. Index: petsc-3.4.2/docs/bugreporting.html =================================================================== --- petsc-3.4.2.orig/docs/bugreporting.html 2013-08-20 15:24:54.000000000 +0200 +++ petsc-3.4.2/docs/bugreporting.html 2013-08-20 15:24:54.000000000 +0200 @@ -59,7 +59,7 @@
  • PETSc Version: (run PETSc program with -v, or look in - include/petscversion.h) + include/petscversion.h)
  • MPI implementation: (e.g., MPICH, LAM, IBM, SGI)
  • Index: petsc-3.4.2/docs/index.html =================================================================== --- petsc-3.4.2.orig/docs/index.html 2013-08-20 15:24:54.000000000 +0200 +++ petsc-3.4.2/docs/index.html 2013-08-20 15:24:54.000000000 +0200 @@ -23,7 +23,7 @@

    Index: petsc-3.4.2/docs/faq.html =================================================================== --- petsc-3.4.2.orig/docs/faq.html 2013-08-20 15:24:54.000000000 +0200 +++ petsc-3.4.2/docs/faq.html 2013-08-20 15:24:54.000000000 +0200 @@ -439,23 +439,22 @@
    1. - The directory ${PETSC_DIR}/docs contains a set of HTML manual pages in - for use with a browser. You can delete these pages to save about .8 + The directory /usr/share/doc/petsc3.3-doc contains a set of HTML manual pages in + for use with a browser. Don't install the -doc package to save about .8 Mbyte of space.
    2. The PETSc users manual is provided in PDF in - ${PETSC_DIR}/docs/manual.pdf. You can delete this. + manual.pdf.
    3. The PETSc test suite contains sample output for many of the examples. These are contained in the PETSc directories - ${PETSC_DIR}/src/*/examples/tutorials/output and - ${PETSC_DIR}/src/*/examples/tests/output. Once you have run the test - examples, you may remove all of these directories to save about 300 - Kbytes of disk space. + /usr/share/doc/petsc3.3-doc/src/*/examples/tutorials/output and + /usr/share/doc/petsc3.3-doc/src/*/examples/tests/output. Don't install + the -doc package to save disk space.
    4. debian/patches/install-dir.patch0000644000000000000000000000244212251665117014070 0ustar Add PETSC_INSTALL_DIR variable to differentiate local package installation directory $(CURDIR)/debian/tmp from installed location. Seems to be obsolete in PETSc 3.1, these two makefiles don't have PETSC_LIB_DIR defines. --- petsc-3.0.0/src/sys/utils/makefile~ 2009-03-20 10:36:47.000000000 -0400 +++ petsc-3.0.0/src/sys/utils/makefile 2009-03-20 10:37:49.000000000 -0400 @@ -1,7 +1,7 @@ ALL: lib -CFLAGS = -DPETSC_LIB_DIR='"${INSTALL_DIR}/lib"' -DPETSC_ARCH='"${PETSC_ARCH}"' -DPETSC_DIR='"${PETSC_DIR}"' +CFLAGS = -DPETSC_LIB_DIR='"${PETSC_INSTALL_DIR}/lib"' -DPETSC_ARCH='"${PETSC_ARCH}"' -DPETSC_DIR='"${PETSC_DIR}"' FFLAGS = SOURCEC = arch.c fhost.c fuser.c memc.c mpiu.c psleep.c sortd.c sorti.c \ str.c sortip.c pbarrier.c pdisplay.c ctable.c psplit.c \ --- petsc-3.0.0/src/sys/objects/makefile~ 2009-03-20 10:36:47.000000000 -0400 +++ petsc-3.0.0/src/sys/objects/makefile 2009-03-20 10:38:05.000000000 -0400 @@ -3,7 +3,7 @@ CFLAGS = FFLAGS = -CPPFLAGS = -DPETSC_LIB_DIR='"${INSTALL_DIR}/lib"' +CPPFLAGS = -DPETSC_LIB_DIR='"${PETSC_INSTALL_DIR}/lib"' SOURCEC = gcomm.c gtype.c olist.c pname.c tagm.c \ destroy.c gcookie.c inherit.c options.c pgname.c prefix.c init.c \ pinit.c ptype.c state.c aoptions.c mpinit.c subcomm.c zope.c debian/patches/g++-4.8.patch0000644000000000000000000000075612251665117012537 0ustar Fix missing declaration Index: petsc-3.4.2/src/mat/impls/aij/seq/umfpack/umfpack.c =================================================================== --- petsc-3.4.2.orig/include/petscsys.h +++ petsc-3.4.2/include/petscsys.h @@ -14,6 +14,9 @@ #include #include +/* Fix missing memcpy declaration */ +#include + #if defined(PETSC_DESIRE_FEATURE_TEST_MACROS) /* Feature test macros must be included before headers defined by IEEE Std 1003.1-2001 debian/patches/clean-no-double-colon.patch0000644000000000000000000000111712251665117015720 0ustar Remove double-colon from clean target which causes breakage in reverse-depends. Index: petsc-3.4.2/conf/rules =================================================================== --- petsc-3.4.2.orig/conf/rules 2013-08-20 15:33:06.000000000 +0200 +++ petsc-3.4.2/conf/rules 2013-08-20 15:33:06.000000000 +0200 @@ -168,7 +168,7 @@ @${CP} -f *.mod ${PETSC_DIR}/${PETSC_ARCH}/include # Removes garbage files -clean:: +clean: @-${RM} ${CLEANFILES} ${TESTS} *.o *.lo *~ \ ex[0-9] ex[0-9][0-9] ex[0-9][0-9][0-9] \ ex[0-9]f ex[0-9][0-9]f ex[0-9][0-9][0-9]f \ debian/patches/hypre.patch0000644000000000000000000000171612251665117013000 0ustar Fix build system to set hypre libraries properly. Index: petsc-3.4.2/config/PETSc/packages/hypre.py =================================================================== --- petsc-3.4.2.orig/config/PETSc/packages/hypre.py 2013-08-20 15:33:12.000000000 +0200 +++ petsc-3.4.2/config/PETSc/packages/hypre.py 2013-08-20 15:33:12.000000000 +0200 @@ -7,7 +7,7 @@ 'http://ftp.mcs.anl.gov/pub/petsc/externalpackages/hypre-2.9.1a.tar.gz'] self.functions = ['HYPRE_IJMatrixCreate'] self.includes = ['HYPRE.h'] - self.liblist = [['libHYPRE.a']] + self.liblist = [['libHYPRE_utilities.a', 'libHYPRE_struct_mv.a', 'libHYPRE_struct_ls.a', 'libHYPRE_sstruct_mv.a', 'libHYPRE_sstruct_ls.a', 'libHYPRE_IJ_mv.a', 'libHYPRE_parcsr_ls.a']] self.license = 'https://computation.llnl.gov/casc/linear_solvers/sls_hypre.html' # Per hypre users guide section 7.5 - install manually on windows for MS compilers. self.worksonWindows = 1 debian/libpetsc3.4.2-dev.prerm.in0000644000000000000000000000061112251665117013614 0ustar #!/bin/sh -e # Remove alternatives links if [ "$1" = "remove" ]; then update-alternatives --remove petsc /usr/lib/petscdir/petsc_ver update-alternatives --remove math-blaslapack.m4 /usr/lib/petscdir/petsc_ver/aclocal/math-blaslapack.m4 # Somewhat inelegant, but there's no test for empty dir if [ -z "`ls /usr/share/aclocal`" ]; then rmdir /usr/share/aclocal fi fi #DEBHELPER# debian/petsc3.4.2-doc.overrides0000644000000000000000000000020212251665117013360 0ustar # False positive: the copyright notice is somewhat buried in the upstream text petsc3.4.2-doc: copyright-without-copyright-notice debian/source/0000755000000000000000000000000012251665117010474 5ustar debian/source/lintian-overrides0000644000000000000000000000023512251665117014055 0ustar # Lintian thinks uploader Adam Powell's name violates policy petsc source: uploader-address-missing "Adam C. Powell petsc source: uploader-not-full-name IV" debian/source/format0000644000000000000000000000001412251665117011702 0ustar 3.0 (quilt) debian/petsc3.4.2-doc.doc-base0000644000000000000000000000132712251665117013044 0ustar Document: petsc3.4.2-doc Title: PETSc 3.4.2 Documentation Author: Satish Balay, William D. Gropp, Lois Curfman McInnes, Barry F. Smith Abstract: PETSc is 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. Section: Programming Format: HTML Index: /usr/share/doc/petsc3.4.2-doc/docs/index.html Files: /usr/share/doc/petsc3.4.2-doc/docs/*.html /usr/share/doc/petsc3.4.2-doc/docs/*/*.html /usr/share/doc/petsc3.4.2-doc/docs/*/*/*.html debian/petsc-dev.overrides0000644000000000000000000000017512251665117013015 0ustar # False positive: the copyright notice is somewhat buried in the upstream text petsc-dev: copyright-without-copyright-notice