debian/0000775000000000000000000000000012253507476007203 5ustar debian/rules0000775000000000000000000001301112001223633010234 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) # Disabled because this FTBFS with multiple jobs (bug 620973) #ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) # NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) # MAKEFLAGS += -j$(NUMJOBS) #endif # Add here any variable or target overrides you need. # where sources are DEB_SRCDIR = $(CURDIR)/src ## The following was injected to enable hardening but those flags are overriden ## in debian/Makefile*.inc files - so this code is rather injected there #CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) #CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) #CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) #LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) CCP=mpicc CFLAGS=$(CFLAGS) -I. -fPIC -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME LDFLAGS=$(LDFLAGS) -lz -lm -lrt DEB_DBG_PACKAGE_scotch = scotch-dbg DEB_DBG_PACKAGE_ptscotch = ptscotch-dbg DEB_DBG_PACKAGE_libscotch-5.1 = libscotch-dbg DEB_DBG_PACKAGE_libptscotch-5.1 = libptscotch-dbg DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n -e 's/\.dfsg.*$$//p') SCOTCH_VERSION=$(DEB_STRIPPED_UPSTREAM_VERSION) INTSIZE_VERS := $(shell echo "int int32 int64 long") get-orig-source: mkdir tmp; \ cd tmp; \ wget http://gforge.inria.fr/frs/download.php/5218/scotch_$(SCOTCH_VERSION)_esmumps.tar.gz; \ tar xzf scotch_$(SCOTCH_VERSION)_esmumps.tar.gz; \ mv scotch_5.1_esmumps scotch-$(SCOTCH_VERSION).dfsg;\ cd scotch-$(SCOTCH_VERSION).dfsg;\ rm -f doc/ptscotch_user5.1.pdf doc/scotch_user5.1.ps.gz doc/ptscotch_user5.1.ps.gz doc/scotch_user5.1.pdf; \ cd .. ; \ tar czf ../scotch_$(SCOTCH_VERSION).dfsg.orig.tar.gz scotch-$(SCOTCH_VERSION).dfsg; \ cd ..; rm -rf tmp patch-stamp: QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 touch $@ build: build-arch build-arch: build-arch-stamp build-arch-stamp: patch-stamp dh_testdir dh_prep for v in $(INTSIZE_VERS); do \ mkdir -p $(CURDIR)/$$v; \ mkdir -p $(CURDIR)/$$v/bin; \ mkdir -p $(CURDIR)/$$v/lib; \ mkdir -p $(CURDIR)/$$v/include; \ mkdir -p $(CURDIR)/$$v/share/man/man1; \ done for v in $(INTSIZE_VERS); do \ cp debian/Makefile_$$v.inc src/Makefile.inc; \ (cd src && $(MAKE) realclean prefix=$(CURDIR)/$$v); \ (cd src && $(MAKE) scotch ptscotch prefix=$(CURDIR)/$$v); \ (cd src && $(MAKE) install prefix=$(CURDIR)/$$v); \ mv $$v/bin/gbase $$v/bin/scotch_gbase; \ mv $$v/bin/gmap $$v/bin/scotch_gmap; \ rm -rf lib; \ rm -f src/Makefile.inc; \ done touch $@ build-indep: install: build # Install [par]metis-compatibility symlinks for v in $(INTSIZE_VERS); do \ (cd $$v/lib && ln -s libscotchmetis.a libmetis.a); \ (cd $$v/lib && ln -s libscotchmetis.so libmetis.so); \ (cd $$v/lib && ln -s libptscotchparmetis.a libparmetis.a); \ (cd $$v/lib && ln -s libptscotchparmetis.so libparmetis.so); \ done # add suffix to {int32,int64,long}/bin/* for file in $(shell ls int32/bin); do \ (cd int32/bin && mv $$file $$file-int32); \ done for file in $(shell ls int64/bin); do \ (cd int64/bin && mv $$file $$file-int64); \ done for file in $(shell ls long/bin); do \ (cd long/bin && mv $$file $$file-long); \ done # Fix lintian macro `brol2-0'' not defined cp -f debian/dgscat.1 int/share/man/man1 # Fix lintian macro `-':' not defined cp -f debian/gout.1 int/share/man/man1 # Fix lintian warnings for undefined macro in man pages perl -pi -e 's|\.\"|\.\\\"|' int/share/man/man1/*.1 mv int/share/man/man1/gbase.1 int/share/man/man1/scotch_gbase.1 # Rename gmap to avoid clash with package gmap mv int/share/man/man1/gmap.1 int/share/man/man1/scotch_gmap.1 # Fix lintian missing man pages cp debian/scotch_esmumps.1 int/share/man/man1 cp debian/ptscotch_esmumps.1 int/share/man/man1 # Fix lintian warnings for file in $(shell ls int/bin); do \ (cd int/share/man/man1 && gzip -9 $$file.1); \ done for file in $(shell ls int/bin); do \ (cd int/share/man/man1 && ln -sf $$file.1.gz $$file-int32.1.gz); \ (cd int/share/man/man1 && ln -sf $$file.1.gz $$file-int64.1.gz); \ (cd int/share/man/man1 && ln -sf $$file.1.gz $$file-long.1.gz); \ done clean: dh_testdir dh_clean for v in $(INTSIZE_VERS); do \ (if [ -d $$v ]; then rm -rf $$v; fi); \ done cp debian/Makefile.inc src/ make -C src clean rm -f src/Makefile.inc QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2 rm -f patch-stamp rm -f build-arch-stamp rm -rf .pc lib bin include find src -name \*.so | xargs -r rm find src -name \*.a | xargs -r rm binary-indep: install dh_testdir -i dh_testroot -i dh_installdirs -i dh_install -i dh_installdocs -i dh_installchangelogs -i dh_compress -i -XMakefile -Xcc -Xinp dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i binary-arch: install dh_testdir -a dh_testroot -a dh_installdirs -a dh_install -a dh_installdocs -a dh_installchangelogs -a dh_strip -pscotch --dbg-package=scotch-dbg dh_strip -pptscotch --dbg-package=ptscotch-dbg dh_strip -plibscotch-5.1 --dbg-package=libscotch-dbg dh_strip -plibptscotch-5.1 --dbg-package=libptscotch-dbg dh_makeshlibs -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch .PHONY: binary binary-arch binary-indep clean debian/watch0000664000000000000000000000020712001223633010210 0ustar version=3 opts=dversionmangle=s/\.dfsg$// \ http://gforge.inria.fr/frs/?group_id=248 /frs/download.php/.*/scotch_([\d.]+)\.ta?r?\.?gz debian/Makefile_int64.inc0000664000000000000000000000121312001223633012411 0ustar VERSION = 5.1 EXE = LIB = .a OBJ = .o MAKE = make AR = ar ARFLAGS = -ruv CAT = cat CCS = mpicc CCP = mpicc CCD = mpicc CPPFLAGS= $(shell dpkg-buildflags --get CPPFLAGS) CXXFLAGS= $(shell dpkg-buildflags --get CXXFLAGS) CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -O3 -fPIC -I. -I/usr/include/mpi -I/usr/include/lam -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -DINTSIZE64 LDFLAGS = $(shell dpkg-buildflags --get LDLAGS) -pthread -lz -lm -lrt CP = cp LEX = flex -Pscotchyy -olex.yy.c LN = ln MKDIR = mkdir MV = mv RANLIB = ranlib YACC = bison -pscotchyy -y -b y debian/ptscotch_esmumps.10000664000000000000000000000070712001223633012646 0ustar .\" -*- nroff -*- .TH ptscotch_esmumps 1 "April 2009" "Scotch" .SH NAME ptscotch_esmumps \- ptscotch command .SH SYNOPSIS .B ptscotch_esmumps .br .SH DESCRIPTION This manual page documents briefly the .BR ptscotch_esmumps command. You can find information in the scotch manual and on the scotch web page http://www.labri.fr/perso/pelegrin/scotch/ and project page http://gforge.inria.fr/projects/scotch/. .SH AUTHOR The Debian Scientific Computing Team debian/changelog0000664000000000000000000002526412253507476011066 0ustar scotch (5.1.12b.dfsg-2build1) trusty; urgency=medium * No-change rebuild for libopenmpi1.3 -> libopenmpi1.6 transition. -- Logan Rosen Mon, 16 Dec 2013 00:27:19 -0500 scotch (5.1.12b.dfsg-2) unstable; urgency=low [ Christophe Trophime ] * Rename gmap to avoid clash with "gmap package" (Closes: #680484) * Update install for gmap name change * Correct scotch_gmpap names in [pt]scotch.install Try to supress lintian warnings * Fix install for scotch_gmap.1 manpage * Fix change from gmap to scotch_gmap [ Andreas Tille ] * debian/control: - Add myself to uploaders - Standards-Version: 3.9.3 (no changes needed) * debian/Makefile*.inc: Enable propagation of hardening flags * debian/patches/format-security.patch: Fix format security issue -- Andreas Tille Tue, 17 Jul 2012 10:12:24 +0200 scotch (5.1.12b.dfsg-1.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS: cp: cannot stat `debian/tmp/int/bin/scotch_esmumps': No such file or directory": debian/rules: let build-arch-stamp depend on patch-stamp. (Closes: #666295) -- gregor herrmann Sun, 15 Apr 2012 14:33:10 +0200 scotch (5.1.12b.dfsg-1) unstable; urgency=low * New upstream (closes: #652900). * Rebuild with new mpi-defaults (closes: #652311). * Forward-ported build-fixes.patch (just shifted one hunk two lines). * New build-arch and build-indep targets in rules. * Updated VCS URLs. * Bumped Standards-Version. -- "Adam C. Powell, IV" Wed, 21 Dec 2011 13:40:52 -0500 scotch (5.1.11.dfsg-7) unstable; urgency=low [ Adam C. Powell, IV ] * Revert to building shared and static libs from the same objects, as in -4. * Link libraries properly (closes: #621037). [ Johannes Ring ] * Make ptscotch libs work. -- "Adam C. Powell, IV" Wed, 06 Apr 2011 11:10:22 -0400 scotch (5.1.11.dfsg-6) unstable; urgency=low * Added mpi-default-dev to lib[pt]scotch-dev Depends. * Disable parallel builds (closes: #620973). -- "Adam C. Powell, IV" Tue, 05 Apr 2011 10:36:26 -0400 scotch (5.1.11.dfsg-5) unstable; urgency=low [Johannes Ring] * Change -lscotch to $(LIBSCOTCHDEPS) to facilitate linking with libscotch and libptscotch together * Update Makefile.inc LEX and YACC commands based on src/Make.inc/Makefile.inc.i686_pc_linux2 (see -DSCOTCH_RENAME_PARSER below) * Change CCS and CCD from gcc -I/usr/include/mpi etc. to mpicc [Pierre Saramito] * Add -DSCOTCH_RENAME_PARSER to CFLAGS, this and Johannes' LEX and YACC extensions fix the FTBFS (closes: #619935) * Separate shared and static builds; this and Johannes' Scotch lib change allow linking with libscotch and libptscotch together (closes: #612621) [ Adam C. Powell, IV ] * Descriptive heading to build-fixes.patch -- "Adam C. Powell, IV" Mon, 04 Apr 2011 09:37:47 -0400 scotch (5.1.11.dfsg-4) unstable; urgency=low [Christophe Trophime] * Add support for multiple Integer size versions (closes: #619840) * debian/rules : rewrite to support multiple integer size versions and remove cdbs [Johannes Ring] * Remove -DSCOTCH_PTHREAD option from debian/Makefile*.inc (closes: #612621) * Removed no-extra-clean.patch (closes: #612606). [ Adam C. Powell, IV ] * Fixed a couple of issues in debian/rules clean target. * Reinstated debugging package builds after cdbs removal. [ Angel Abad ] * Fix FTBFS with binutils-gold (closes: #612170) -- "Adam C. Powell, IV" Sun, 27 Mar 2011 14:55:43 -0400 scotch (5.1.11.dfsg-3) unstable; urgency=low * Removed gbase conflict and renamed gbase to scotch_gbase (closes: #608655). * Eliminated extra clean target deps to avoid unnecessary recompilation. * Added LD_LIBRARY_PATH to link binaries with linked libs (closes: #609208). -- "Adam C. Powell, IV" Wed, 12 Jan 2011 09:46:31 -0500 scotch (5.1.11.dfsg-2) unstable; urgency=low [ Matthias Klose ] * Fix FTBFS by placing objects before libs in link command (closes: #608430). [ Adam C. Powell, IV ] * Moved Matthias' patch content into debian/patches/shared-libs.patch, and extended it to include libscotchmetis and esmumps dirs. * Add inter-library dependencies to force build order (closes: #608372). * Removed libscotch objects from libptscotch. * Fixed install and clean targets, which somehow fixed libscotchmetis-5.1.so linkages (closes: #609066). * Made scotch conflict with gbase due to overlapping binary and manpage names (closes: #608655). -- "Adam C. Powell, IV" Thu, 06 Jan 2011 21:25:33 -0500 scotch (5.1.11.dfsg-1) unstable; urgency=low [Christophe Trophime] * New upstream release * Forward-ported patches to version 5.1.10b. * Install scotch headers properly. * Fix chrpath commands in debian/rules. * Fix (pt)scotch library install paths. * Fix lintian errors and warnings. [Adam C. Powell, IV] * Forward-ported patches to version 5.1.11. -- "Adam C. Powell, IV" Wed, 29 Dec 2010 13:07:19 -0500 scotch (5.1.8a.dfsg-2) unstable; urgency=low * Added -I to CCS to fix building with LAM-MPI (closes: #581381). -- Adam C. Powell, IV Wed, 19 May 2010 14:21:57 -0400 scotch (5.1.8a.dfsg-1) unstable; urgency=low * New upstream. * Changed control file to conform to Debian Science Policy Manual. * Added -I to CFLAGS to fix building with LAM-MPI (closes: #581381). -- Adam C. Powell, IV Wed, 12 May 2010 11:33:16 -0400 scotch (5.1.7.dfsg-5) unstable; urgency=low * Fixed debugging packages for libraries, and added debugging packages for executables in scotch and ptscotch. -- Adam C. Powell, IV Tue, 06 Apr 2010 07:34:40 -0400 scotch (5.1.7.dfsg-4) unstable; urgency=low [Christophe Trophime] * Fix lintian warning * Add remove esmumps .so and .a in clean target in debian/rules * Add remove [p]scotch-esmumps in clean target in debian/rules * Add missing ptscotch headers in libptscotch-dev (closes: #576280). [Adam C. Powell, IV] * Added -I/usr/include/lam to Makefile.inc (closes: #574724). -- Adam C. Powell, IV Sun, 04 Apr 2010 22:40:02 -0400 scotch (5.1.7.dfsg-3) unstable; urgency=low * Uses chrpath to remove rpath from ptscotch and libptscotch5.1 binaries. -- Adam C. Powell, IV Mon, 15 Mar 2010 16:25:41 -0400 scotch (5.1.7.dfsg-2) unstable; urgency=low * libscotchmetis-dev conflicts with libparmetis-dev (closes: #568841). * Made package descriptions more descriptive (closes: #568819, #572892). * Added MPI include to library.h included in scotch.h (closes: #570097). -- Adam C. Powell, IV Mon, 15 Mar 2010 15:10:03 -0400 scotch (5.1.7.dfsg-1) unstable; urgency=low [Christophe Trophime] * New upstream release. * Added PT-scotch support (Closes: #561384). [Adam C. Powell, IV] * Removed headers from libptscotch-dev, made it depend on libscotch-dev. * Using version with esmumps subdirectory (closes: #531048). * Changed source format to 3.0 (quilt). * Bumped Standards-Version. -- Adam C. Powell, IV Tue, 02 Feb 2010 20:03:23 -0500 scotch (5.1.6.dfsg-3) unstable; urgency=low [Christophe Prud'homme] * Bug fix: "FTBFS with binutils-gold", thanks to Peter Fritzsche (Closes: #556338). * Bug fix: "Should be arch: all", thanks to Adam C Powell IV (Closes: #496701). -- Christophe Prud'homme Mon, 14 Dec 2009 07:31:38 +0100 scotch (5.1.6.dfsg-2) unstable; urgency=low * Bug fix: "Should be arch: all", thanks to Adam C Powell IV (Closes: #496701). -- Christophe Prud'homme Tue, 26 May 2009 08:32:26 +0200 scotch (5.1.6.dfsg-1) unstable; urgency=low * New upstream release + This is mainly a bugfix revision. A bug in the graph folding code, which was almost silent in previous releases, was not fixed in release 5.1.5 but instead was made more salient. It is now fixed for good. + A new feature has beed added to the API, which allows users to perform asynchronous halo exchange operations, whenever available. -- Christophe Prud'homme Thu, 21 May 2009 22:36:28 +0200 scotch (5.1.4.dfsg-2) unstable; urgency=low [Christophe Prud'homme] * debian/genmanpage.sh: fixed project home page in man pages and regenerated the man pages. [Adam C. Powell, IV] * Updated version number in patches/shared-libs.patch and shared lib package .install file name (closes: #527617). * Fixed my name in control to match my key (generates an erroneous lintian warning, see bug 485705). -- Adam C. Powell, IV Fri, 08 May 2009 10:37:25 -0400 scotch (5.1.4.dfsg-1) unstable; urgency=low [Christophe Prud'homme] * New upstream release * debian/rules: rename rule orig-tarball by standard rule get-orig-source * debian/rules: automatically find out about upstream * debian/control: update Standards-Version to 3.8.1 (no change) * debian/control: added -dbg * debian/control: now generate libscotch-5.1 instead of libscotch-5.1.x, don't use the minor version x, there is no interface change * scotch: provide script to generate 'dummy' manpages for executables * fixed lintian warnings and errors -- Christophe Prud'homme Thu, 16 Apr 2009 10:58:47 +0200 scotch (5.0.6.dfsg-3) unstable; urgency=low * Patched metis.h to include typedef idxtype (closes: #496693). -- Adam C. Powell, IV Tue, 26 Aug 2008 15:26:16 -0400 scotch (5.0.6.dfsg-2) unstable; urgency=low * First upload in a long time (closes: #470419, #470420). * Added shared libraries (closes: #470422). * Added quilt (for shlib patch) and zlib1g-dev Build-Deps. -- Adam C. Powell, IV Mon, 21 Jul 2008 12:16:35 -0400 scotch (5.0.6.dfsg-1) unstable; urgency=low * New upstream release * Update Standards-Version to 3.8.0, no changes -- Christophe Prud'homme Tue, 01 Jul 2008 08:08:45 +0200 scotch (5.0.5.dfsg-1) unstable; urgency=low [ Christophe Prud'homme ] * New upstream release * Bug fix: "scotch: new upstream available", thanks to Adam C Powell IV (Closes: #470420). * Bug fix: "scotch: lintian cleanups", thanks to Adam C Powell IV (Closes: #470419). [ Daniel Leidert ] * debian/control: Added Vcs and Homepage fields. * debian/watch: Fixed. -- Christophe Prud'homme Tue, 11 Mar 2008 06:52:06 +0100 scotch (5.0.1.dfsg-1) unstable; urgency=low * Initial Debian package (Closes: #462487). -- Christophe Prud'homme Fri, 25 Jan 2008 09:13:53 +0100 debian/Makefile_long.inc0000664000000000000000000000120712001223633012407 0ustar VERSION = 5.1 EXE = LIB = .a OBJ = .o MAKE = make AR = ar ARFLAGS = -ruv CAT = cat CCS = mpicc CCP = mpicc CCD = mpicc CPPFLAGS= $(shell dpkg-buildflags --get CPPFLAGS) CXXFLAGS= $(shell dpkg-buildflags --get CXXFLAGS) CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -O3 -fPIC -I. -I/usr/include/mpi -I/usr/include/lam -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -DLONG LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -pthread -lz -lm -lrt CP = cp LEX = flex -Pscotchyy -olex.yy.c LN = ln MKDIR = mkdir MV = mv RANLIB = ranlib YACC = bison -pscotchyy -y -b y debian/libptscotch-dev.install0000664000000000000000000000336512001223633013651 0ustar int/include/ptscotch.h /usr/include/scotch int/include/ptscotchf.h /usr/include/scotch int/lib/libptscotch*.a /usr/lib int/lib/libptscotch.so /usr/lib int/lib/libptscotcherr.so /usr/lib int/lib/libptscotcherrexit.so /usr/lib int/lib/libptscotchparmetis.so /usr/lib int/lib/libptesmumps.a /usr/lib int/lib/libptesmumps.so /usr/lib int32/include/ptscotch.h /usr/include/scotch-int32 int32/include/ptscotchf.h /usr/include/scotch-int32 int32/lib/libptscotch*.a /usr/lib/scotch-int32 int32/lib/libptscotch.so /usr/lib/scotch-int32 int32/lib/libptscotcherr.so /usr/lib/scotch-int32 int32/lib/libptscotcherrexit.so /usr/lib/scotch-int32 int32/lib/libptscotchparmetis.so /usr/lib/scotch-int32 int32/lib/libptesmumps.a /usr/lib/scotch-int32 int32/lib/libptesmumps.so /usr/lib/scotch-int32 int64/include/ptscotch.h /usr/include/scotch-int64 int64/include/ptscotchf.h /usr/include/scotch-int64 int64/lib/libptscotch*.a /usr/lib/scotch-int64 int64/lib/libptscotch.so /usr/lib/scotch-int64 int64/lib/libptscotcherr.so /usr/lib/scotch-int64 int64/lib/libptscotcherrexit.so /usr/lib/scotch-int64 int64/lib/libptscotchparmetis.so /usr/lib/scotch-int64 int64/lib/libptesmumps.a /usr/lib/scotch-int64 int64/lib/libptesmumps.so /usr/lib/scotch-int64 long/include/ptscotch.h /usr/include/scotch-long long/include/ptscotchf.h /usr/include/scotch-long long/lib/libptscotch*.a /usr/lib/scotch-long long/lib/libptscotch.so /usr/lib/scotch-long long/lib/libptscotcherr.so /usr/lib/scotch-long long/lib/libptscotcherrexit.so /usr/lib/scotch-long long/lib/libptscotchparmetis.so /usr/lib/scotch-long long/lib/libptesmumps.a /usr/lib/scotch-long long/lib/libptesmumps.so /usr/lib/scotch-long doc/CeCILL-C_V1-en.txt /usr/share/doc/libptscotch-dev doc/CeCILL-C_V1-fr.txt /usr/share/doc/libptscotch-dev debian/Makefile.inc0000664000000000000000000000120012001223633011361 0ustar VERSION = 5.1 EXE = LIB = .a OBJ = .o MAKE = make AR = ar ARFLAGS = -ruv CAT = cat CCS = mpicc CCP = mpicc CCD = mpicc CPPFLAGS= $(shell dpkg-buildflags --get CPPFLAGS) CXXFLAGS= $(shell dpkg-buildflags --get CXXFLAGS) CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -O3 -fPIC -I. -I/usr/include/mpi -I/usr/include/lam -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -pthread -lz -lm -lrt CP = cp LEX = flex -Pscotchyy -olex.yy.c LN = ln MKDIR = mkdir MV = mv RANLIB = ranlib YACC = bison -pscotchyy -y -b y debian/libscotch-5.1.install0000664000000000000000000000163212001223633013025 0ustar int/lib/libscotch-*.so /usr/lib int/lib/libscotcherr-*.so /usr/lib int/lib/libscotcherrexit-*.so /usr/lib int/lib/libscotchmetis-*.so /usr/lib int/lib/libesmumps-*.so /usr/lib int32/lib/libscotch-*.so /usr/lib/scotch-int32 int32/lib/libscotcherr-*.so /usr/lib/scotch-int32 int32/lib/libscotcherrexit-*.so /usr/lib/scotch-int32 int32/lib/libscotchmetis-*.so /usr/lib/scotch-int32 int32/lib/libesmumps-*.so /usr/lib/scotch-int32 int64/lib/libscotch-*.so /usr/lib/scotch-int64 int64/lib/libscotcherr-*.so /usr/lib/scotch-int64 int64/lib/libscotcherrexit-*.so /usr/lib/scotch-int64 int64/lib/libscotchmetis-*.so /usr/lib/scotch-int64 int64/lib/libesmumps-*.so /usr/lib/scotch-int64 long/lib/libscotch-*.so /usr/lib/scotch-long long/lib/libscotcherr-*.so /usr/lib/scotch-long long/lib/libscotcherrexit-*.so /usr/lib/scotch-long long/lib/libscotchmetis-*.so /usr/lib/scotch-long long/lib/libesmumps-*.so /usr/lib/scotch-long debian/libscotch-dev.install0000664000000000000000000000462412001223633013304 0ustar int/include/esmumps.h /usr/include/scotch int/include/scotch.h /usr/include/scotch int/include/scotchf.h /usr/include/scotch int/lib/libscotch.a /usr/lib int/lib/libscotcherr.a /usr/lib int/lib/libscotcherrexit.a /usr/lib int/lib/libscotchmetis.a /usr/lib int/lib/libesmumps.a /usr/lib int/lib/libscotch.so /usr/lib int/lib/libscotcherr.so /usr/lib int/lib/libscotcherrexit.so /usr/lib int/lib/libscotchmetis.so /usr/lib int/lib/libesmumps.so /usr/lib int32/include/esmumps.h /usr/include/scotch-int32 int32/include/scotch.h /usr/include/scotch-int32 int32/include/scotchf.h /usr/include/scotch-int32 int32/lib/libscotch.a /usr/lib/scotch-int32 int32/lib/libscotcherr.a /usr/lib/scotch-int32 int32/lib/libscotcherrexit.a /usr/lib/scotch-int32 int32/lib/libscotchmetis.a /usr/lib/scotch-int32 int32/lib/libesmumps.a /usr/lib/scotch-int32 int32/lib/libscotch.so /usr/lib/scotch-int32 int32/lib/libscotcherr.so /usr/lib/scotch-int32 int32/lib/libscotcherrexit.so /usr/lib/scotch-int32 int32/lib/libscotchmetis.so /usr/lib/scotch-int32 int32/lib/libesmumps.so /usr/lib/scotch-int32 int64/include/esmumps.h /usr/include/scotch-int64 int64/include/scotch.h /usr/include/scotch-int64 int64/include/scotchf.h /usr/include/scotch-int64 int64/lib/libscotch.a /usr/lib/scotch-int64 int64/lib/libscotcherr.a /usr/lib/scotch-int64 int64/lib/libscotcherrexit.a /usr/lib/scotch-int64 int64/lib/libscotchmetis.a /usr/lib/scotch-int64 int64/lib/libesmumps.a /usr/lib/scotch-int64 int64/lib/libscotch.so /usr/lib/scotch-int64 int64/lib/libscotcherr.so /usr/lib/scotch-int64 int64/lib/libscotcherrexit.so /usr/lib/scotch-int64 int64/lib/libscotchmetis.so /usr/lib/scotch-int64 int64/lib/libesmumps.so /usr/lib/scotch-int64 long/include/esmumps.h /usr/include/scotch-long long/include/scotch.h /usr/include/scotch-long long/include/scotchf.h /usr/include/scotch-long long/lib/libscotch.a /usr/lib/scotch-long long/lib/libscotcherr.a /usr/lib/scotch-long long/lib/libscotcherrexit.a /usr/lib/scotch-long long/lib/libscotchmetis.a /usr/lib/scotch-long long/lib/libesmumps.a /usr/lib/scotch-long long/lib/libscotch.so /usr/lib/scotch-long long/lib/libscotcherr.so /usr/lib/scotch-long long/lib/libscotcherrexit.so /usr/lib/scotch-long long/lib/libscotchmetis.so /usr/lib/scotch-long long/lib/libesmumps.so /usr/lib/scotch-long doc/CeCILL-C_V1-en.txt /usr/share/doc/libscotch-dev doc/CeCILL-C_V1-fr.txt /usr/share/doc/libscotch-dev debian/ptscotch.install0000664000000000000000000000220212001223633012373 0ustar int/bin/dgmap /usr/bin int/bin/dgord /usr/bin int/bin/dgscat /usr/bin int/bin/dgpart /usr/bin int/bin/dgtst /usr/bin int/bin/ptscotch_esmumps /usr/bin int32/bin/dgmap-int32 /usr/bin int32/bin/dgord-int32 /usr/bin int32/bin/dgscat-int32 /usr/bin int32/bin/dgpart-int32 /usr/bin int32/bin/dgtst-int32 /usr/bin int32/bin/ptscotch_esmumps-int32 /usr/bin int64/bin/dgmap-int64 /usr/bin int64/bin/dgord-int64 /usr/bin int64/bin/dgscat-int64 /usr/bin int64/bin/dgpart-int64 /usr/bin int64/bin/dgtst-int64 /usr/bin int64/bin/ptscotch_esmumps-int64 /usr/bin long/bin/dgmap-long /usr/bin long/bin/dgord-long /usr/bin long/bin/dgscat-long /usr/bin long/bin/dgpart-long /usr/bin long/bin/dgtst-long /usr/bin long/bin/ptscotch_esmumps-long /usr/bin doc/CeCILL-C_V1-en.txt /usr/share/doc/ptscotch doc/CeCILL-C_V1-fr.txt /usr/share/doc/ptscotch int/share/man/man1/dgmap*.1.gz /usr/share/man/man1 int/share/man/man1/dgord*.1.gz /usr/share/man/man1 int/share/man/man1/dgscat*.1.gz /usr/share/man/man1 int/share/man/man1/dgpart*.1.gz /usr/share/man/man1 int/share/man/man1/dgtst*.1.gz /usr/share/man/man1 int/share/man/man1/ptscotch_esmumps*.1.gz /usr/share/man/man1 debian/compat0000664000000000000000000000000212001223633010356 0ustar 7 debian/libptscotch-5.1.install0000664000000000000000000000171612001223633013374 0ustar int/lib/libptscotch-*.so /usr/lib int/lib/libptscotcherr-*.so /usr/lib int/lib/libptscotcherrexit-*.so /usr/lib int/lib/libptscotchparmetis-*.so /usr/lib int/lib/libptesmumps-*.so /usr/lib int32/lib/libptscotch-*.so /usr/lib/scotch_int32 int32/lib/libptscotcherr-*.so /usr/lib/scotch_int32 int32/lib/libptscotcherrexit-*.so /usr/lib/scotch_int32 int32/lib/libptscotchparmetis-*.so /usr/lib/scotch_int32 int32/lib/libptesmumps-*.so /usr/lib/scotch_int32 int64/lib/libptscotch-*.so /usr/lib/scotch_int64 int64/lib/libptscotcherr-*.so /usr/lib/scotch_int64 int64/lib/libptscotcherrexit-*.so /usr/lib/scotch_int64 int64/lib/libptscotchparmetis-*.so /usr/lib/scotch_int64 int64/lib/libptesmumps-*.so /usr/lib/scotch_int64 long/lib/libptscotch-*.so /usr/lib/scotch_long long/lib/libptscotcherr-*.so /usr/lib/scotch_long long/lib/libptscotcherrexit-*.so /usr/lib/scotch_long long/lib/libptscotchparmetis-*.so /usr/lib/scotch_long long/lib/libptesmumps-*.so /usr/lib/scotch_long debian/README.source0000664000000000000000000000053312001223633011340 0ustar freefem++ source for Debian --------------------------- The directory arpack has been removed from the package and arpack support has been disabled, until arpack{++} licensing is sorted out. Packaging makes use of CDBS and quilt. For the latter see `/usr/share/doc/quilt/README.source'. -- Daniel Leidert , 24 Oct 2008 debian/genmanpage.sh0000664000000000000000000000167612001223633011630 0ustar #! /usr/bin/sh #set -x #for name in scotch_acpl scotch_amk_ccc scotch_amk_fft2 scotch_amk_grf scotch_amk_hy scotch_amk_m2 scotch_amk_p2 scotch_atst scotch_gbase scotch_gcv scotch_gmap scotch_gmk_hy scotch_gmk_m2 scotch_gmk_m3 scotch_gmk_msh scotch_gmk_ub2 scotch_gmtst scotch_gord scotch_gotst scotch_gout scotch_gtst scotch_mcv scotch_mmk_m2 scotch_mmk_m3 scotch_mord scotch_mtst scotch_esmumps; do for name in scotch_esmumps ptscotch_esmumps; do manname=`echo -n ${name}.1` cat > $manname < on Thu, 18 Oct 2007 09:31:24 +0200. It was downloaded from http://gforge.inria.fr/frs/download.php/5218/ Upstream Author: Francois PELLEGRINI Copyright: Copyright 2004,2007 ENSEIRB, INRIA & CNRS License: CeCILL-C FREE SOFTWARE LICENSE AGREEMENT Notice This Agreement is a Free Software license agreement that is the result of discussions between its authors in order to ensure compliance with the two main principles guiding its drafting: * firstly, compliance with the principles governing the distribution of Free Software: access to source code, broad rights granted to users, * secondly, the election of a governing law, French law, with which it is conformant, both as regards the law of torts and intellectual property law, and the protection that it offers to both authors and holders of the economic rights over software. The authors of the CeCILL-C (for Ce[a] C[nrs] I[nria] L[ogiciel] L[ibre]) license are: Commissariat à l'Energie Atomique - CEA, a public scientific, technical and industrial research establishment, having its principal place of business at 25 rue Leblanc, immeuble Le Ponant D, 75015 Paris, France. Centre National de la Recherche Scientifique - CNRS, a public scientific and technological establishment, having its principal place of business at 3 rue Michel-Ange, 75794 Paris cedex 16, France. Institut National de Recherche en Informatique et en Automatique - INRIA, a public scientific and technological establishment, having its principal place of business at Domaine de Voluceau, Rocquencourt, BP 105, 78153 Le Chesnay cedex, France. Preamble The purpose of this Free Software license agreement is to grant users the right to modify and re-use the software governed by this license. The exercising of this right is conditional upon the obligation to make available to the community the modifications made to the source code of the software so as to contribute to its evolution. In consideration of access to the source code and the rights to copy, modify and redistribute granted by the license, users are provided only with a limited warranty and the software's author, the holder of the economic rights, and the successive licensors only have limited liability. In this respect, the risks associated with loading, using, modifying and/or developing or reproducing the software by the user are brought to the user's attention, given its Free Software status, which may make it complicated to use, with the result that its use is reserved for developers and experienced professionals having in-depth computer knowledge. Users are therefore encouraged to load and test the suitability of the software as regards their requirements in conditions enabling the security of their systems and/or data to be ensured and, more generally, to use and operate it in the same conditions of security. This Agreement may be freely reproduced and published, provided it is not altered, and that no provisions are either added or removed herefrom. This Agreement may apply to any or all software for which the holder of the economic rights decides to submit the use thereof to its provisions. Article 1 - DEFINITIONS For the purpose of this Agreement, when the following expressions commence with a capital letter, they shall have the following meaning: Agreement: means this license agreement, and its possible subsequent versions and annexes. Software: means the software in its Object Code and/or Source Code form and, where applicable, its documentation, "as is" when the Licensee accepts the Agreement. Initial Software: means the Software in its Source Code and possibly its Object Code form and, where applicable, its documentation, "as is" when it is first distributed under the terms and conditions of the Agreement. Modified Software: means the Software modified by at least one Integrated Contribution. Source Code: means all the Software's instructions and program lines to which access is required so as to modify the Software. Object Code: means the binary files originating from the compilation of the Source Code. Holder: means the holder(s) of the economic rights over the Initial Software. Licensee: means the Software user(s) having accepted the Agreement. Contributor: means a Licensee having made at least one Integrated Contribution. Licensor: means the Holder, or any other individual or legal entity, who distributes the Software under the Agreement. Integrated Contribution: means any or all modifications, corrections, translations, adaptations and/or new functions integrated into the Source Code by any or all Contributors. Related Module: means a set of sources files including their documentation that, without modification to the Source Code, enables supplementary functions or services in addition to those offered by the Software. Derivative Software: means any combination of the Software, modified or not, and of a Related Module. Parties: mean both the Licensee and the Licensor. These expressions may be used both in singular and plural form. Article 2 - PURPOSE The purpose of the Agreement is the grant by the Licensor to the Licensee of a non-exclusive, transferable and worldwide license for the Software as set forth in Article 5 hereinafter for the whole term of the protection granted by the rights over said Software. Article 3 - ACCEPTANCE 3.1 The Licensee shall be deemed as having accepted the terms and conditions of this Agreement upon the occurrence of the first of the following events: * (i) loading the Software by any or all means, notably, by downloading from a remote server, or by loading from a physical medium; * (ii) the first time the Licensee exercises any of the rights granted hereunder. 3.2 One copy of the Agreement, containing a notice relating to the characteristics of the Software, to the limited warranty, and to the fact that its use is restricted to experienced users has been provided to the Licensee prior to its acceptance as set forth in Article 3.1 hereinabove, and the Licensee hereby acknowledges that it has read and understood it. Article 4 - EFFECTIVE DATE AND TERM 4.1 EFFECTIVE DATE The Agreement shall become effective on the date when it is accepted by the Licensee as set forth in Article 3.1. 4.2 TERM The Agreement shall remain in force for the entire legal term of protection of the economic rights over the Software. Article 5 - SCOPE OF RIGHTS GRANTED The Licensor hereby grants to the Licensee, who accepts, the following rights over the Software for any or all use, and for the term of the Agreement, on the basis of the terms and conditions set forth hereinafter. Besides, if the Licensor owns or comes to own one or more patents protecting all or part of the functions of the Software or of its components, the Licensor undertakes not to enforce the rights granted by these patents against successive Licensees using, exploiting or modifying the Software. If these patents are transferred, the Licensor undertakes to have the transferees subscribe to the obligations set forth in this paragraph. 5.1 RIGHT OF USE The Licensee is authorized to use the Software, without any limitation as to its fields of application, with it being hereinafter specified that this comprises: 1. permanent or temporary reproduction of all or part of the Software by any or all means and in any or all form. 2. loading, displaying, running, or storing the Software on any or all medium. 3. entitlement to observe, study or test its operation so as to determine the ideas and principles behind any or all constituent elements of said Software. This shall apply when the Licensee carries out any or all loading, displaying, running, transmission or storage operation as regards the Software, that it is entitled to carry out hereunder. 5.2 RIGHT OF MODIFICATION The right of modification includes the right to translate, adapt, arrange, or make any or all modifications to the Software, and the right to reproduce the resulting software. It includes, in particular, the right to create a Derivative Software. The Licensee is authorized to make any or all modification to the Software provided that it includes an explicit notice that it is the author of said modification and indicates the date of the creation thereof. 5.3 RIGHT OF DISTRIBUTION In particular, the right of distribution includes the right to publish, transmit and communicate the Software to the general public on any or all medium, and by any or all means, and the right to market, either in consideration of a fee, or free of charge, one or more copies of the Software by any means. The Licensee is further authorized to distribute copies of the modified or unmodified Software to third parties according to the terms and conditions set forth hereinafter. 5.3.1 DISTRIBUTION OF SOFTWARE WITHOUT MODIFICATION The Licensee is authorized to distribute true copies of the Software in Source Code or Object Code form, provided that said distribution complies with all the provisions of the Agreement and is accompanied by: 1. a copy of the Agreement, 2. a notice relating to the limitation of both the Licensor's warranty and liability as set forth in Articles 8 and 9, and that, in the event that only the Object Code of the Software is redistributed, the Licensee allows effective access to the full Source Code of the Software at a minimum during the entire period of its distribution of the Software, it being understood that the additional cost of acquiring the Source Code shall not exceed the cost of transferring the data. 5.3.2 DISTRIBUTION OF MODIFIED SOFTWARE When the Licensee makes an Integrated Contribution to the Software, the terms and conditions for the distribution of the resulting Modified Software become subject to all the provisions of this Agreement. The Licensee is authorized to distribute the Modified Software, in source code or object code form, provided that said distribution complies with all the provisions of the Agreement and is accompanied by: 1. a copy of the Agreement, 2. a notice relating to the limitation of both the Licensor's warranty and liability as set forth in Articles 8 and 9, and that, in the event that only the object code of the Modified Software is redistributed, the Licensee allows effective access to the full source code of the Modified Software at a minimum during the entire period of its distribution of the Modified Software, it being understood that the additional cost of acquiring the source code shall not exceed the cost of transferring the data. 5.3.3 DISTRIBUTION OF DERIVATIVE SOFTWARE When the Licensee creates Derivative Software, this Derivative Software may be distributed under a license agreement other than this Agreement, subject to compliance with the requirement to include a notice concerning the rights over the Software as defined in Article 6.4. In the event the creation of the Derivative Software required modification of the Source Code, the Licensee undertakes that: 1. the resulting Modified Software will be governed by this Agreement, 2. the Integrated Contributions in the resulting Modified Software will be clearly identified and documented, 3. the Licensee will allow effective access to the source code of the Modified Software, at a minimum during the entire period of distribution of the Derivative Software, such that such modifications may be carried over in a subsequent version of the Software; it being understood that the additional cost of purchasing the source code of the Modified Software shall not exceed the cost of transferring the data. 5.3.4 COMPATIBILITY WITH THE CeCILL LICENSE When a Modified Software contains an Integrated Contribution subject to the CeCILL license agreement, or when a Derivative Software contains a Related Module subject to the CeCILL license agreement, the provisions set forth in the third item of Article 6.4 are optional. Article 6 - INTELLECTUAL PROPERTY 6.1 OVER THE INITIAL SOFTWARE The Holder owns the economic rights over the Initial Software. Any or all use of the Initial Software is subject to compliance with the terms and conditions under which the Holder has elected to distribute its work and no one shall be entitled to modify the terms and conditions for the distribution of said Initial Software. The Holder undertakes that the Initial Software will remain ruled at least by this Agreement, for the duration set forth in Article 4.2. 6.2 OVER THE INTEGRATED CONTRIBUTIONS The Licensee who develops an Integrated Contribution is the owner of the intellectual property rights over this Contribution as defined by applicable law. 6.3 OVER THE RELATED MODULES The Licensee who develops a Related Module is the owner of the intellectual property rights over this Related Module as defined by applicable law and is free to choose the type of agreement that shall govern its distribution under the conditions defined in Article 5.3.3. 6.4 NOTICE OF RIGHTS The Licensee expressly undertakes: 1. not to remove, or modify, in any manner, the intellectual property notices attached to the Software; 2. to reproduce said notices, in an identical manner, in the copies of the Software modified or not; 3. to ensure that use of the Software, its intellectual property notices and the fact that it is governed by the Agreement is indicated in a text that is easily accessible, specifically from the interface of any Derivative Software. The Licensee undertakes not to directly or indirectly infringe the intellectual property rights of the Holder and/or Contributors on the Software and to take, where applicable, vis-à-vis its staff, any and all measures required to ensure respect of said intellectual property rights of the Holder and/or Contributors. Article 7 - RELATED SERVICES 7.1 Under no circumstances shall the Agreement oblige the Licensor to provide technical assistance or maintenance services for the Software. However, the Licensor is entitled to offer this type of services. The terms and conditions of such technical assistance, and/or such maintenance, shall be set forth in a separate instrument. Only the Licensor offering said maintenance and/or technical assistance services shall incur liability therefor. 7.2 Similarly, any Licensor is entitled to offer to its licensees, under its sole responsibility, a warranty, that shall only be binding upon itself, for the redistribution of the Software and/or the Modified Software, under terms and conditions that it is free to decide. Said warranty, and the financial terms and conditions of its application, shall be subject of a separate instrument executed between the Licensor and the Licensee. Article 8 - LIABILITY 8.1 Subject to the provisions of Article 8.2, the Licensee shall be entitled to claim compensation for any direct loss it may have suffered from the Software as a result of a fault on the part of the relevant Licensor, subject to providing evidence thereof. 8.2 The Licensor's liability is limited to the commitments made under this Agreement and shall not be incurred as a result of in particular: (i) loss due the Licensee's total or partial failure to fulfill its obligations, (ii) direct or consequential loss that is suffered by the Licensee due to the use or performance of the Software, and (iii) more generally, any consequential loss. In particular the Parties expressly agree that any or all pecuniary or business loss (i.e. loss of data, loss of profits, operating loss, loss of customers or orders, opportunity cost, any disturbance to business activities) or any or all legal proceedings instituted against the Licensee by a third party, shall constitute consequential loss and shall not provide entitlement to any or all compensation from the Licensor. Article 9 - WARRANTY 9.1 The Licensee acknowledges that the scientific and technical state-of-the-art when the Software was distributed did not enable all possible uses to be tested and verified, nor for the presence of possible defects to be detected. In this respect, the Licensee's attention has been drawn to the risks associated with loading, using, modifying and/or developing and reproducing the Software which are reserved for experienced users. The Licensee shall be responsible for verifying, by any or all means, the suitability of the product for its requirements, its good working order, and for ensuring that it shall not cause damage to either persons or properties. 9.2 The Licensor hereby represents, in good faith, that it is entitled to grant all the rights over the Software (including in particular the rights set forth in Article 5). 9.3 The Licensee acknowledges that the Software is supplied "as is" by the Licensor without any other express or tacit warranty, other than that provided for in Article 9.2 and, in particular, without any warranty as to its commercial value, its secured, safe, innovative or relevant nature. Specifically, the Licensor does not warrant that the Software is free from any error, that it will operate without interruption, that it will be compatible with the Licensee's own equipment and software configuration, nor that it will meet the Licensee's requirements. 9.4 The Licensor does not either expressly or tacitly warrant that the Software does not infringe any third party intellectual property right relating to a patent, software or any other property right. Therefore, the Licensor disclaims any and all liability towards the Licensee arising out of any or all proceedings for infringement that may be instituted in respect of the use, modification and redistribution of the Software. Nevertheless, should such proceedings be instituted against the Licensee, the Licensor shall provide it with technical and legal assistance for its defense. Such technical and legal assistance shall be decided on a case-by-case basis between the relevant Licensor and the Licensee pursuant to a memorandum of understanding. The Licensor disclaims any and all liability as regards the Licensee's use of the name of the Software. No warranty is given as regards the existence of prior rights over the name of the Software or as regards the existence of a trademark. Article 10 - TERMINATION 10.1 In the event of a breach by the Licensee of its obligations hereunder, the Licensor may automatically terminate this Agreement thirty (30) days after notice has been sent to the Licensee and has remained ineffective. 10.2 A Licensee whose Agreement is terminated shall no longer be authorized to use, modify or distribute the Software. However, any licenses that it may have granted prior to termination of the Agreement shall remain valid subject to their having been granted in compliance with the terms and conditions hereof. Article 11 - MISCELLANEOUS 11.1 EXCUSABLE EVENTS Neither Party shall be liable for any or all delay, or failure to perform the Agreement, that may be attributable to an event of force majeure, an act of God or an outside cause, such as defective functioning or interruptions of the electricity or telecommunications networks, network paralysis following a virus attack, intervention by government authorities, natural disasters, water damage, earthquakes, fire, explosions, strikes and labor unrest, war, etc. 11.2 Any failure by either Party, on one or more occasions, to invoke one or more of the provisions hereof, shall under no circumstances be interpreted as being a waiver by the interested Party of its right to invoke said provision(s) subsequently. 11.3 The Agreement cancels and replaces any or all previous agreements, whether written or oral, between the Parties and having the same purpose, and constitutes the entirety of the agreement between said Parties concerning said purpose. No supplement or modification to the terms and conditions hereof shall be effective as between the Parties unless it is made in writing and signed by their duly authorized representatives. 11.4 In the event that one or more of the provisions hereof were to conflict with a current or future applicable act or legislative text, said act or legislative text shall prevail, and the Parties shall make the necessary amendments so as to comply with said act or legislative text. All other provisions shall remain effective. Similarly, invalidity of a provision of the Agreement, for any reason whatsoever, shall not cause the Agreement as a whole to be invalid. 11.5 LANGUAGE The Agreement is drafted in both French and English and both versions are deemed authentic. Article 12 - NEW VERSIONS OF THE AGREEMENT 12.1 Any person is authorized to duplicate and distribute copies of this Agreement. 12.2 So as to ensure coherence, the wording of this Agreement is protected and may only be modified by the authors of the License, who reserve the right to periodically publish updates or new versions of the Agreement, each with a separate number. These subsequent versions may address new issues encountered by Free Software. 12.3 Any Software distributed under a given version of the Agreement may only be subsequently distributed under the same version of the Agreement or a subsequent version. Article 13 - GOVERNING LAW AND JURISDICTION 13.1 The Agreement is governed by French law. The Parties agree to endeavor to seek an amicable solution to any disagreements or disputes that may arise during the performance of the Agreement. 13.2 Failing an amicable solution within two (2) months as from their occurrence, and unless emergency proceedings are necessary, the disagreements or disputes shall be referred to the Paris Courts having jurisdiction, by the more diligent Party. Version 1.0 dated 2006-09-05. The Debian packaging is (C) 2007-2009, Christophe Prud'homme and is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'. debian/source/0000775000000000000000000000000012001223633010460 5ustar debian/source/format0000664000000000000000000000001412001223633011666 0ustar 3.0 (quilt) debian/source/lintian-overrides0000664000000000000000000000023712001223633014043 0ustar # Lintian thinks uploader Adam Powell's name violates policy scotch source: uploader-address-missing "Adam C. Powell scotch source: uploader-not-full-name IV" debian/README.Debian0000664000000000000000000000043412001223633011222 0ustar scotch for Debian ----------------- Scotch provides a metis interface which would allow to compile programs and libraries requiring metis whitout having to install metis (which is a non-free software) -- Christophe Prud'homme , Thu, 18 Oct 2007 09:45:52 +0200 debian/gout.10000664000000000000000000001150012001223633010215 0ustar ." Text automatically generated by txt2man .TH gout 1 "August 03, 2010" "" "Scotch user's manual" .SH NAME \fBgout \fP- output graphics from matrices and graphs \fB .SH SYNOPSIS .nf .fam C \fBgout\fP [\fIoptions\fP] [\fIgfile\fP] [\fIxfile\fP] [\fImfile\fP] [\fIvfile\fP] .fam T .fi .SH DESCRIPTION The \fBgout\fP program creates graphics files of various types, representing the Scotch graph and mapping data which is passed to it. .PP Source graph file \fIgfile\fP can only be a centralized graph file. File \fIxfile\fP stores its associated geometry, whenever necessary. File \fImfile\fP represents label information attached to each of the graph vertices, for instance the index of the part to which each vertex belongs in the case of a mapping file. File \fIvfile\fP is the output graphics file, the type of which may differ according to the input parameters. When file names are not specified, data is read from standard input and written to standard output. Standard streams can also be explicitly represented by a dash '-'. .PP When the proper libraries have been included at compile time, gtst can directly handle compressed graphs, both as input and output. A stream is treated as compressed whenever its name is postfixed with a compressed file extension, such as in 'brol.grf.bz2' or '-.gz'. The compression formats which can be supported are the bzip2 format ('.bz2'), the gzip format ('.gz'), and the lzma format ('.lzma', on input only). .SH OPTIONS .TP .B \fB-h\fP Display some help. .TP .B \fB-g\fP\fIgeop\fP Geometry parameters, which can be an arbitrary combination of any of the following code letters: .RS .TP .B n Do not read geometry data, when it is not available or not required, such as when using the \fB-om\fP option. .TP .B p Permute Y and Z geometry dimensions. .TP .B r Rotate geometry by 90 degrees in the (X,Y) plane. .RE .TP .B \fB-h\fP Display some help. .TP .B \fB-mn\fP Do not read mapping data, when it is not available or not required. .TP .B \fB-o\fP\fIoutp\fP Select the output file type and allows to provide additional parameters between braces and separated by commas: .RS .TP .B i OpenInventor 3D mesh file, to be viewed by means of programs such as \fBivview\fP. Additional parameters for this output file type are: .RS .TP .B c Color output. .TP .B g Gray level output. .TP .B r Remove cut edges. .TP .B v View cut edges. .RE .TP .B m PostScript matrix pattern file. Additional parameters for this output file type are: .RS .TP .B e EPSF-type output. .TP .B f Full-page output. .RE .TP .B p PostScript 2D mesh file. This output module was intended for 2D meshes; as a fallback, the Z coordinate is projected according to isometric perspective rules, but drawings of full 3D objects are most likely to be unreadable. Additional parameters for this output file type are: .RS .TP .B c Color output. .TP .B g Gray level output. .TP .B e EPSF-type output. .TP .B f Full-page output. .TP .B s Short clipping (disks excluded). .TP .B l Large clipping (disks included). .TP .B a Avoid displaying disks. .TP .B d Display disks. .TP .B r Remove cut edges. .TP .B v View cut edges. .TP .B X=\fIrat\fP Maximum x clipping ratio (in [0.0;1.0]). .TP .B x=\fIrat\fP Minimum x clipping ratio. .TP .B Y=\fIrat\fP Maximum y clipping ratio. .TP .B y=\fIrat\fP Minimum y clipping ratio. .RE .TP .B t Tulip 3D mesh file. Additional parameters for this output file type are: .RS .TP .B b Black and white output. .TP .B c Color output. .TP .B a Avoid displaying disks. .TP .B d Display disks. .TP .B r Remove cut edges. .TP .B v View cut edges. .RE .RE .TP .B \fB-V\fP Display program version and copyright. .SH EXAMPLES Build an OpenInventor file of the mapping of graph brol.grf contained in file brol.map. Vertices with no mapping information attached to them will be rendered in white, while distinct colors will be used to represent the different parts. Cut edges will be removed: .PP .nf .fam C $ gout '-oi{r}' brol.grf brol.xyz brol.map brol.iv $ ivview brol.iv .fam T .fi Build an OpenInventor file of graph brol.grf without any vertex information associated to it. Mapping data are not required and will not be read, but a file name has to be provided, hence the '-': .PP .nf .fam C $ gout -oi -mn brol.grf brol.xyz - brol.iv .fam T .fi Output the pattern of matrix brol.grf on the form of a PostScript flat drawing. Geometry and mapping data are not required and will not be read, but file names have to be provided, hence the two '-'s: .PP .nf .fam C $ gout -om -gn -mn brol.grf - - brol.ps .fam T .fi Output a PostScript 2D drawing of a rectangular portion graph brol.grf, with disks representing mapping data: .PP .nf .fam C $ gout '-op{c,e,d,x=0.3,X=0.6,y=0.2,Y=0.5}' brol.grf brol.xyz brol.map brol.ps .fam T .fi .SH SEE ALSO \fBgmap\fP(1), \fBgout\fP(1), \fBgtst\fP(1). .PP Scotch user's manual. .SH AUTHOR Francois Pellegrini debian/Makefile_int.inc0000664000000000000000000000120012001223633012233 0ustar VERSION = 5.1 EXE = LIB = .a OBJ = .o MAKE = make AR = ar ARFLAGS = -ruv CAT = cat CCS = mpicc CCP = mpicc CCD = mpicc CPPFLAGS= $(shell dpkg-buildflags --get CPPFLAGS) CXXFLAGS= $(shell dpkg-buildflags --get CXXFLAGS) CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -O3 -fPIC -I. -I/usr/include/mpi -I/usr/include/lam -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -pthread -lz -lm -lrt CP = cp LEX = flex -Pscotchyy -olex.yy.c LN = ln MKDIR = mkdir MV = mv RANLIB = ranlib YACC = bison -pscotchyy -y -b y debian/acpl.10000664000000000000000000000067512001223633010171 0ustar .\" -*- nroff -*- .TH scotch_esmumps 1 "April 2009" "Scotch" .SH NAME scotch_esmumps \- scotch command .SH SYNOPSIS .B scotch_esmumps .br .SH DESCRIPTION This manual page documents briefly the .BR scotch_esmumps command. You can find information in the scotch manual and on the scotch web page http://www.labri.fr/perso/pelegrin/scotch/ and project page http://gforge.inria.fr/projects/scotch/. .SH AUTHOR The Debian Scientific Computing Team debian/libscotchparmetis-dev.install0000664000000000000000000000124412001223633015044 0ustar int/include/parmetis.h /usr/include/parmetis int/lib/libparmetis.so /usr/lib int/lib/libparmetis.a /usr/lib int32/include/parmetis.h /usr/include/parmetis-int32 int32/lib/libparmetis.so /usr/lib/parmetis-int32 int32/lib/libparmetis.a /usr/lib/parmetis-int32 int64/include/parmetis.h /usr/include/parmetis-int64 int64/lib/libparmetis.so /usr/lib/parmetis-int64 int64/lib/libparmetis.a /usr/lib/parmetis-int64 long/include/parmetis.h /usr/include/parmetis-long long/lib/libparmetis.so /usr/lib/parmetis-long long/lib/libparmetis.a /usr/lib/parmetis-long doc/CeCILL-C_V1-en.txt /usr/share/doc/libscotchparmetis-dev doc/CeCILL-C_V1-fr.txt /usr/share/doc/libscotchparmetis-dev debian/dgscat.10000664000000000000000000001236212001223633010513 0ustar ." Text automatically generated by txt2man .TH dgscat 1 "August 03, 2010" "" "PT-Scotch user's manual" .SH NAME \fBdggath, dgscat, gscat \fP- convert distributed source graphs to or from centralized ones \fB .SH SYNOPSIS .nf .fam C \fBdggath\fP [\fIoptions\fP] [\fIigfile\fP] [\fIogfile\fP] .PP \fBdgscat\fP [\fIoptions\fP] [\fIigfile\fP] [\fIogfile\fP] .PP \fBgscat\fP [\fIoptions\fP] [\fIigfile\fP] [\fIogfile\fP] .fam T .fi .SH DESCRIPTION The \fBdggath\fP program gathers distributed graphs into centralized graphs. It reads a set of files \fIigfile\fP representing fragments of a distributed source graph, and writes them back on the form of a single centralized source graph \fIogfile\fP. .PP The \fBdgscat\fP program scatters centralized source graphs into distributed graphs. It reads a centralized source graph \fIigfile\fP and writes it back on the form of a set of files \fIogfile\fP representing fragments of the corresponding distributed source graph. .PP The \fBgscat\fP program does exactly the same as \fBdgscat\fP, but does not require to be run in a parallel environment. Since \fBgscat\fP processes the input centralized graph file as a text stream, it does not need to load the full graph in memory before building the distributed graph fragment files. It is therefore much less resource consuming, but does not allow for the checking of graph consistency, as it has no global vision of the graph structure. .PP When file names are not specified, data is read from standard input and written to standard output. Standard streams can also be explicitly represented by a dash '-'. .PP When the proper libraries have been included at compile time, \fBdggath\fP and \fBdgscat\fP can directly handle compressed graphs, both as input and output. A stream is treated as compressed whenever its name is postfixed with a compressed file extension, such as in 'brol.grf.bz2' or '-.gz'. The compression formats which can be supported are the bzip2 format ('.bz2'), the gzip format ('.gz'), and the lzma format ('.lzma', on input only). .PP \fBdggath\fP and \fBdgscat\fP base on implementations of the MPI interface to spread work across the processing elements. It is therefore not likely to be run directly, but instead through some launcher command such as \fBmpirun\fP. .SH DISTRIBUTED FILE NAMES In order to tell whether programs should read from, or write to, a single file located on only one processor, or to multiple instances of the same file on all of the processors, or else to distinct files on each of the processors, a special grammar has been designed, which is based on the '%' escape character. Four such escape sequences are defined, which are interpreted independently on every processor, prior to file opening. By default, when a filename is provided, it is assumed that the file is to be opened on only one of the processors, called the root processor, which is usually process 0 of the communicator within which the program is run. The index of the root processor can be changed by means of the \fB-r\fP option. Using any of the first three escape sequences below will instruct programs to open in parallel a file of name equal to the interpreted filename, on every processor on which they are run. .TP .B %p Replaced by the number of processes in the global communicator in which the program is run. Leads to parallel opening. .TP .B %r Replaced on each process running the program by the rank of this process in the global communicator. Leads to parallel opening. .TP .B %- Discarded, but leads to parallel opening. This sequence is mainly used to instruct programs to open on every processor a file of identical name. The opened files can be, according whether the given path leads to a shared directory or to directories that are local to each processor, either to the opening of multiple instances of the same file, or to the opening of distinct files which may each have a different content, respectively (but in this latter case it is much recommended to identify files by means of the '%r' sequence). .TP .B %% Replaced by a single '%' character. File names using this escape sequence are not considered for parallel opening, unless one or several of the three other escape sequences are also present. .RE .PP For instance, filename 'brol' will lead to the opening of file 'brol' on the root processor only, filename '%\fB-brol\fP' (or even 'br%\fB-ol\fP') will lead to the parallel opening of files called 'brol' on every processor, and filename 'brol%p-%r' will lead to the opening of files 'brol2-0' and 'brol2-1', respectively, on each of the two processors on which the program were to run. .SH OPTIONS .TP .B \fB-c\fP For \fBdggath\fP and \fBdgscat\fP only. Check the consistency of the input source graph after loading it into memory. .TP .B \fB-h\fP Display some help. .TP .B \fB-r\fP\fIpnum\fP Set root process for centralized files (default is 0). .TP .B \fB-V\fP Display program version and copyright. .SH EXAMPLE Run \fBdgscat\fP on 5 processing elements to scatter centralized graph file brol.grf into 5 gzipped file fragments brol5-0.dgr.gz to brol5-4.dgr.gz. .PP .nf .fam C $ mpirun -np 5 dgscat brol.grf brol%p-%r.dgr.gz .fam T .fi .SH SEE ALSO \fBdgmap\fP(1), \fBdgord\fP(1), \fBdgtst\fP(1), \fBgmk_hy\fP(1). .PP PT-Scotch user's manual. .SH AUTHOR Francois Pellegrini debian/Makefile_int32.inc0000664000000000000000000000121512001223633012406 0ustar VERSION = 5.1 EXE = LIB = .a OBJ = .o MAKE = make AR = ar ARFLAGS = -ruv CAT = cat CCS = mpicc CCP = mpicc CCD = mpicc CPPFLAGS= $(shell dpkg-buildflags --get CPPFLAGS) CXXFLAGS= $(shell dpkg-buildflags --get CXXFLAGS) CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -O3 -fPIC -I. -I/usr/include/mpi -I/usr/include/lam -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -DINTSIZE32 LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -pthread -lz -lm -lrt CP = cp LEX = flex -Pscotchyy -olex.yy.c LN = ln MKDIR = mkdir MV = mv RANLIB = ranlib YACC = bison -pscotchyy -y -b y debian/control0000664000000000000000000002012312001223633010561 0ustar Source: scotch Section: math Priority: extra Maintainer: Debian Science Maintainers Uploaders: Christophe Prud'homme , "Adam C. Powell, IV" , Andreas Tille DM-Upload-Allowed: yes Build-Depends: quilt, debhelper (>= 7), bison, flex, zlib1g-dev, chrpath, mpi-default-dev, mpi-default-bin Standards-Version: 3.9.3 Vcs-Git: git://anonscm.debian.org/debian-science/packages/scotch.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/scotch.git Homepage: http://www.labri.fr/perso/pelegrin/scotch/ Package: scotch Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: programs and libraries for graph, mesh and hypergraph partitioning Its purpose is to apply graph theory, with a divide and conquer approach, to scientific computing problems such as graph and mesh partitioning, static mapping, and sparse matrix ordering, in application domains ranging from structural mechanics to operating systems or bio-chemistry. . The SCOTCH distribution is a set of programs and libraries which implement the static mapping and sparse matrix reordering algorithms developed within the SCOTCH project. . SCOTCH has many interesting features: . o Its capabilities can be used through a set of stand-alone programs as well as through the libSCOTCH library, which offers both C and Fortran interfaces. . o It provides algorithms to partition graph structures, as well as mesh structures defined as node-element bipartite graphs and which can also represent hypergraphs. . o It can map any weighted source graph onto any weighted target graph. The source and target graphs may have any topology, and their vertices and edges may be weighted. Moreover, both source and target graphs may be disconnected. This feature allows for the mapping of programs onto disconnected subparts of a parallel architecture made up of heterogeneous processors and communication links. . o It computes amalgamated block orderings of sparse matrices, for efficient solving using BLAS routines. . o Its running time is linear in the number of edges of the source graph, and logarithmic in the number of vertices of the target graph for mapping computations. . o It can handle indifferently graph and mesh data structures created within C or Fortran programs, with array indices starting from 0 or 1. . o It offers extended support for adaptive graphs and meshes through the handling of disjoint edge arrays. . o It is dynamically parametrizable thanks to strategy strings that are interpreted at run-time. . o It uses system memory efficiently, to process large graphs and meshes without incurring out-of-memory faults; . o It is highly modular and documented. Since it has been released under the CeCILL-C free/libre software license, it can be used as a testbed for the easy and quick development and testing of new partitioning and ordering methods. . o It can be easily interfaced to other programs. The programs comprising the SCOTCH project have been designed to run in command-line mode without any interactive prompting, so that they can be called easily from other programs by means of system() or popen() calls, or piped together on a single command line. Moreover, vertex labeling capabilities allow for easy renumbering of vertices. . o It provides many tools to build, check, and display graphs, meshes and matrix patterns. . o It is written in C and uses the POSIX interface, which makes it highly portable. PT-SCOTCH uses the MPI interface, and optionally the POSIX threads. Package: ptscotch Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: MPI programs and libraries for graph, mesh and hypergraph partitioning PT-SCOTCH is the MPI version of scotch, which is a set of programs and libraries which implement the static mapping and sparse matrix reordering algorithms developed within the SCOTCH project. Package: libscotch-dev Section: libdevel Architecture: any Depends: libscotch-5.1 (= ${binary:Version}), mpi-default-dev, zlib1g-dev, ${misc:Depends} Description: programs and libraries for graph, mesh and hypergraph partitioning Headers and libraries package for scotch, which is a set of programs and libraries which implement the static mapping and sparse matrix reordering algorithms developed within the SCOTCH project. Package: libptscotch-dev Section: libdevel Architecture: any Depends: libptscotch-5.1 (= ${binary:Version}), libscotch-dev (= ${binary:Version}), mpi-default-dev, zlib1g-dev, ${misc:Depends} Description: MPI programs and libraries for graph, mesh and hypergraph partitioning Headers and libraries package for PT-SCOTCH, the MPI version of scotch, which is a set of programs and libraries which implement the static mapping and sparse matrix reordering algorithms developed within the SCOTCH project. Package: scotch-dbg Section: debug Architecture: any Depends: scotch (= ${binary:Version}), zlib1g-dbg, ${misc:Depends} Description: programs and libraries for graph, mesh and hypergraph partitioning Debug symbols package for scotch, which is a set of programs and libraries which implement the static mapping and sparse matrix reordering algorithms developed within the SCOTCH project. Package: ptscotch-dbg Section: debug Architecture: any Depends: ptscotch (= ${binary:Version}), zlib1g-dbg, ${misc:Depends} Description: MPI programs and libraries for graph, mesh and hypergraph partitioning Debug symbols package for PT-SCOTCH, the MPI version of scotch, which is a set of programs and libraries which implement the static mapping and sparse matrix reordering algorithms developed within the SCOTCH project. Package: libscotch-dbg Section: debug Architecture: any Depends: libscotch-5.1 (= ${binary:Version}), zlib1g-dbg, ${misc:Depends} Description: programs and libraries for graph, mesh and hypergraph partitioning Debug symbols package for the scotch library, which is a set of programs and libraries which implement the static mapping and sparse matrix reordering algorithms developed within the SCOTCH project. Package: libptscotch-dbg Section: debug Architecture: any Depends: libptscotch-5.1 (= ${binary:Version}), zlib1g-dbg, ${misc:Depends} Description: MPI programs and libraries for graph, mesh and hypergraph partitioning Debug symbols package for the PT-SCOTCH library, the MPI version of scotch, which is a set of programs and libraries which implement the static mapping and sparse matrix reordering algorithms developed within the SCOTCH project. Package: libscotchmetis-dev Section: libdevel Architecture: any Depends: libscotch-dev (= ${binary:Version}), ${misc:Depends} Conflicts: libmetis-dev, libparmetis-dev Replaces: libmetis-dev Description: programs and libraries for graph, mesh and hypergraph partitioning Scotch/Metis compatility interface, providing a free implementation of the Metis system for graph partitioning and sparse matrix reordering. Package: libscotchparmetis-dev Section: libdevel Architecture: any Depends: libptscotch-dev (= ${binary:Version}), ${misc:Depends} Conflicts: libparmetis-dev Replaces: libparmetis-dev Description: programs and libraries for graph, mesh and hypergraph partitioning Scotch/ParMetis compatility interface, providing a free implementation of the ParMetis system for parallel graph partitioning and sparse matrix reordering. Package: libscotch-5.1 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: programs and libraries for graph, mesh and hypergraph partitioning Shared libraries package for scotch, which is a set of programs and libraries which implement the static mapping and sparse matrix reordering algorithms developed within the SCOTCH project. Package: libptscotch-5.1 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: MPI programs and libraries for graph, mesh and hypergraph partitioning Shared libraries package for PT-SCOTCH, the MPI version of scotch, which is a set of programs and libraries which implement the static mapping and sparse matrix reordering algorithms developed within the SCOTCH project. debian/docs0000664000000000000000000000006712001223633010036 0ustar LICENCE_fr.txt LICENSE_en.txt LISEZ-MOI.txt README.txt debian/scotch.install0000664000000000000000000001127512001223633012041 0ustar int/bin/acpl /usr/bin int/bin/amk_ccc /usr/bin int/bin/amk_fft2 /usr/bin int/bin/amk_grf /usr/bin int/bin/amk_hy /usr/bin int/bin/amk_m2 /usr/bin int/bin/amk_p2 /usr/bin int/bin/atst /usr/bin int/bin/scotch_gbase /usr/bin int/bin/gcv /usr/bin int/bin/scotch_gmap /usr/bin int/bin/gmk_hy /usr/bin int/bin/gmk_m2 /usr/bin int/bin/gmk_m3 /usr/bin int/bin/gmk_msh /usr/bin int/bin/gmk_ub2 /usr/bin int/bin/gmtst /usr/bin int/bin/gord /usr/bin int/bin/gotst /usr/bin int/bin/gout /usr/bin int/bin/gtst /usr/bin int/bin/mcv /usr/bin int/bin/mmk_m2 /usr/bin int/bin/mmk_m3 /usr/bin int/bin/mord /usr/bin int/bin/mtst /usr/bin int/bin/scotch_esmumps /usr/bin int32/bin/acpl-int32 /usr/bin int32/bin/amk_ccc-int32 /usr/bin int32/bin/amk_fft2-int32 /usr/bin int32/bin/amk_grf-int32 /usr/bin int32/bin/amk_hy-int32 /usr/bin int32/bin/amk_m2-int32 /usr/bin int32/bin/amk_p2-int32 /usr/bin int32/bin/atst-int32 /usr/bin int32/bin/scotch_gbase-int32 /usr/bin int32/bin/gcv-int32 /usr/bin int32/bin/scotch_gmap-int32 /usr/bin int32/bin/gmk_hy-int32 /usr/bin int32/bin/gmk_m2-int32 /usr/bin int32/bin/gmk_m3-int32 /usr/bin int32/bin/gmk_ub2-int32 /usr/bin int32/bin/gmk_msh-int32 /usr/bin int32/bin/gmk_ub2-int32 /usr/bin int32/bin/gmtst-int32 /usr/bin int32/bin/gord-int32 /usr/bin int32/bin/gotst-int32 /usr/bin int32/bin/gout-int32 /usr/bin int32/bin/gtst-int32 /usr/bin int32/bin/mcv-int32 /usr/bin int32/bin/mmk_m2-int32 /usr/bin int32/bin/mmk_m3-int32 /usr/bin int32/bin/mord-int32 /usr/bin int32/bin/mtst-int32 /usr/bin int32/bin/scotch_esmumps-int32 /usr/bin int64/bin/acpl-int64 /usr/bin int64/bin/amk_ccc-int64 /usr/bin int64/bin/amk_fft2-int64 /usr/bin int64/bin/amk_grf-int64 /usr/bin int64/bin/amk_hy-int64 /usr/bin int64/bin/amk_m2-int64 /usr/bin int64/bin/amk_p2-int64 /usr/bin int64/bin/atst-int64 /usr/bin int64/bin/scotch_gbase-int64 /usr/bin int64/bin/gcv-int64 /usr/bin int64/bin/scotch_gmap-int64 /usr/bin int64/bin/gmk_hy-int64 /usr/bin int64/bin/gmk_m2-int64 /usr/bin int64/bin/gmk_m3-int64 /usr/bin int64/bin/gmk_ub2-int64 /usr/bin int64/bin/gmk_msh-int64 /usr/bin int64/bin/gmk_ub2-int64 /usr/bin int64/bin/gmtst-int64 /usr/bin int64/bin/gord-int64 /usr/bin int64/bin/gotst-int64 /usr/bin int64/bin/gout-int64 /usr/bin int64/bin/gtst-int64 /usr/bin int64/bin/mcv-int64 /usr/bin int64/bin/mmk_m2-int64 /usr/bin int64/bin/mmk_m3-int64 /usr/bin int64/bin/mord-int64 /usr/bin int64/bin/mtst-int64 /usr/bin int64/bin/scotch_esmumps-int64 /usr/bin long/bin/acpl-long /usr/bin long/bin/amk_ccc-long /usr/bin long/bin/amk_fft2-long /usr/bin long/bin/amk_grf-long /usr/bin long/bin/amk_hy-long /usr/bin long/bin/amk_m2-long /usr/bin long/bin/amk_p2-long /usr/bin long/bin/atst-long /usr/bin long/bin/scotch_gbase-long /usr/bin long/bin/gcv-long /usr/bin long/bin/scotch_gmap-long /usr/bin long/bin/gmk_hy-long /usr/bin long/bin/gmk_m2-long /usr/bin long/bin/gmk_m3-long /usr/bin long/bin/gmk_ub2-long /usr/bin long/bin/gmk_msh-long /usr/bin long/bin/gmk_ub2-long /usr/bin long/bin/gmtst-long /usr/bin long/bin/gord-long /usr/bin long/bin/gotst-long /usr/bin long/bin/gout-long /usr/bin long/bin/gtst-long /usr/bin long/bin/mcv-long /usr/bin long/bin/mmk_m2-long /usr/bin long/bin/mmk_m3-long /usr/bin long/bin/mord-long /usr/bin long/bin/mtst-long /usr/bin long/bin/scotch_esmumps-long /usr/bin doc/CeCILL-C_V1-en.txt /usr/share/doc/scotch doc/CeCILL-C_V1-fr.txt /usr/share/doc/scotch int/share/man/man1/acpl*.1.gz /usr/share/man/man1 int/share/man/man1/amk_ccc*.1.gz /usr/share/man/man1 int/share/man/man1/amk_fft2*.1.gz /usr/share/man/man1 int/share/man/man1/amk_grf*.1.gz /usr/share/man/man1 int/share/man/man1/amk_hy*.1.gz /usr/share/man/man1 int/share/man/man1/amk_m2*.1.gz /usr/share/man/man1 int/share/man/man1/amk_p2*.1.gz /usr/share/man/man1 int/share/man/man1/atst*.1.gz /usr/share/man/man1 int/share/man/man1/scotch_gbase*.1.gz /usr/share/man/man1 int/share/man/man1/gcv*.1.gz /usr/share/man/man1 int/share/man/man1/scotch_gmap*.1.gz /usr/share/man/man1 int/share/man/man1/gmk_hy*.1.gz /usr/share/man/man1 int/share/man/man1/gmk_m2*.1.gz /usr/share/man/man1 int/share/man/man1/gmk_m3*.1.gz /usr/share/man/man1 int/share/man/man1/gmk_msh*.1.gz /usr/share/man/man1 int/share/man/man1/gmk_ub2*.1.gz /usr/share/man/man1 int/share/man/man1/gmtst*.1.gz /usr/share/man/man1 int/share/man/man1/gord*.1.gz /usr/share/man/man1 int/share/man/man1/gotst*.1.gz /usr/share/man/man1 int/share/man/man1/gout*.1.gz /usr/share/man/man1 int/share/man/man1/gtst*.1.gz /usr/share/man/man1 int/share/man/man1/mcv*.1.gz /usr/share/man/man1 int/share/man/man1/mmk_m2*.1.gz /usr/share/man/man1 int/share/man/man1/mmk_m3*.1.gz /usr/share/man/man1 int/share/man/man1/mord*.1.gz /usr/share/man/man1 int/share/man/man1/mtst*.1.gz /usr/share/man/man1 int/share/man/man1/scotch_esmumps*.1.gz /usr/share/man/man1 debian/libscotchmetis-dev.install0000664000000000000000000000113412001223633014337 0ustar int/include/metis.h /usr/include/metis int/lib/libmetis.so /usr/lib int/lib/libmetis.a /usr/lib int32/include/metis.h /usr/include/metis-int32 int32/lib/libmetis.so /usr/lib/metis-int32 int32/lib/libmetis.a /usr/lib/metis-int32 int64/include/metis.h /usr/include/metis-int64 int64/lib/libmetis.so /usr/lib/metis-int64 int64/lib/libmetis.a /usr/lib/metis-int64 long/include/metis.h /usr/include/metis-long long/lib/libmetis.so /usr/lib/metis-long long/lib/libmetis.a /usr/lib/metis-long doc/CeCILL-C_V1-en.txt /usr/share/doc/libscotchmetis-dev doc/CeCILL-C_V1-fr.txt /usr/share/doc/libscotchmetis-dev debian/dirs0000664000000000000000000000001012001223633010033 0ustar usr/bin debian/patches/0000775000000000000000000000000012001223633010607 5ustar debian/patches/build-fixes.patch0000664000000000000000000002054612001223633014052 0ustar This patch does several things to make the Scotch build system work for Debian: * Default to building scotch and ptscotch * Clean up installation * Fix clean targets to remove shared libraries * Fix library and executable linking commands to work with binutils-gold and allow linking with both libscotch and libptscotch libraries Forwarded: no Reviewed-By: "Adam C. Powell, IV" Last-Update: 2011-04-01 Index: scotch/src/Makefile =================================================================== --- scotch.orig/src/Makefile +++ scotch/src/Makefile @@ -36,7 +36,7 @@ .PHONY : clean default install ptscotch realclean required scotch -default : scotch +default : scotch ptscotch required : Makefile.inc ../bin ../include ../lib @@ -102,10 +102,10 @@ (cd esmumps ; $(MAKE) ptscotch && $(MAKE) ptinstall) install : required $(bindir) $(includedir) $(libdir) $(mandir)/man1 - -$(CP) -f ../bin/[agm]*$(EXE) $(bindir) - -$(CP) -f ../include/*scotch*.h $(includedir) - -$(CP) -f ../lib/*scotch*$(LIB) $(libdir) - -$(CP) -Rf ../man/* $(mandir) + -$(CP) -af ../include/* $(includedir) + -$(CP) -af ../bin/* $(bindir) + -$(CP) -af ../lib/* $(libdir) + -$(CP) -af ../man/* $(mandir) clean : required (cd libscotch ; $(MAKE) clean) Index: scotch/src/libscotchmetis/Makefile =================================================================== --- scotch.orig/src/libscotchmetis/Makefile +++ scotch/src/libscotchmetis/Makefile @@ -61,15 +61,15 @@ libptscotchparmetis$(LIB) install : scotch - -$(CP) metis.h $(includedir) - -$(CP) libscotchmetis$(LIB) $(libdir) + $(CP) -a metis.h $(includedir) + $(CP) -a libscotchmetis$(LIB) libscotchmetis*.so $(libdir) ptinstall : ptscotch - -$(CP) parmetis.h $(includedir) - -$(CP) libptscotchparmetis$(LIB) $(libdir) + $(CP) -a parmetis.h $(includedir) + $(CP) -a libptscotchparmetis$(LIB) libptscotchparmetis*.so $(libdir) clean : - -$(RM) *~ *$(OBJ) lib*$(LIB) + -$(RM) *~ *$(OBJ) lib*$(LIB) lib*.so realclean : clean @@ -129,6 +129,8 @@ parmetis_dgraph_order_f$(OBJ) \ parmetis_dgraph_part$(OBJ) \ parmetis_dgraph_part_f$(OBJ) + $(CC) -shared -Wl,-soname,libptscotchparmetis-5.1.so $^ -L../libscotch -lptscotch -lscotch -o libptscotchparmetis-5.1.so + ln -s libptscotchparmetis-5.1.so libptscotchparmetis.so $(AR) $(ARFLAGS) $(@) $(^) -$(RANLIB) $(@) @@ -136,5 +138,7 @@ metis_graph_order_f$(OBJ) \ metis_graph_part$(OBJ) \ metis_graph_part_f$(OBJ) + $(CC) -shared -Wl,-soname,libscotchmetis-5.1.so $^ -L../libscotch -lscotch -o libscotchmetis-5.1.so + ln -s libscotchmetis-5.1.so libscotchmetis.so $(AR) $(ARFLAGS) $(@) $(^) -$(RANLIB) $(@) Index: scotch/src/libscotch/Makefile =================================================================== --- scotch.orig/src/libscotch/Makefile +++ scotch/src/libscotch/Makefile @@ -69,16 +69,16 @@ libptscotcherrexit$(LIB) install : - -$(CP) scotch.h scotchf.h $(includedir) - -$(CP) libscotch$(LIB) libscotcherr*$(LIB) $(libdir) + $(CP) -a scotch.h scotchf.h $(includedir) + $(CP) -a libscotch*$(LIB) libscotch*.so $(libdir) ptinstall : - -$(CP) scotch.h $(includedir)/ptscotch.h - -$(CP) scotchf.h $(includedir)/ptscotchf.h - -$(CP) libptscotch*$(LIB) $(libdir) + $(CP) -a scotch.h $(includedir)/ptscotch.h + $(CP) -a scotchf.h $(includedir)/ptscotchf.h + $(CP) -a libptscotch*$(LIB) libptscotch*.so $(libdir) clean : - -$(RM) *~ *$(OBJ) lib*$(LIB) parser_yy.c parser_ly.h parser_ll.c *scotch.h *scotchf.h y.output dummysizes$(EXE) + -$(RM) *~ *$(OBJ) lib*.a lib*.so lib*.so.* lib*$(LIB) parser_yy.c parser_ly.h parser_ll.c *scotch.h *scotchf.h y.output dummysizes$(EXE) realclean : clean @@ -2553,26 +2553,38 @@ libraryf.h ./dummysizes$(EXE) libraryf.h scotchf.h -libptscotch$(LIB) : $(LIBPTSCOTCHDEPS) $(LIBSCOTCHDEPS) - $(AR) $(ARFLAGS) $(@) $(?) +libptscotch$(LIB) : $(LIBPTSCOTCHDEPS) $(LIBSCOTCHDEPS) libptscotcherr$(LIB) + $(CC) -shared -Wl,-soname,libptscotch-$(VERSION).so $(LIBPTSCOTCHDEPS) $(LIBSCOTCHDEPS) -L. -lptscotcherr -lz -lpthread -lm -lrt -o libptscotch-$(VERSION).so + ln -s libptscotch-$(VERSION).so libptscotch.so + $(AR) $(ARFLAGS) $(@) $(LIBPTSCOTCHDEPS) $(LIBSCOTCHDEPS) -$(RANLIB) $(@) -libscotch$(LIB) : $(LIBSCOTCHDEPS) - $(AR) $(ARFLAGS) $(@) $(?) +libscotch$(LIB) : $(LIBSCOTCHDEPS) libscotcherr$(LIB) + $(CC) -shared -Wl,-soname,libscotch-$(VERSION).so $(LIBSCOTCHDEPS) -L. -lscotcherr -lz -lpthread -lm -lrt -o libscotch-$(VERSION).so + ln -s libscotch-$(VERSION).so libscotch.so + $(AR) $(ARFLAGS) $(@) $(LIBSCOTCHDEPS) -$(RANLIB) $(@) libptscotcherr$(LIB) : library_error$(OBJ) + $(CC) -shared -Wl,-soname,libptscotcherr-$(VERSION).so $^ -o libptscotcherr-$(VERSION).so + ln -s libptscotcherr-$(VERSION).so libptscotcherr.so $(AR) $(ARFLAGS) $(@) $(?) -$(RANLIB) $(@) libptscotcherrexit$(LIB) : library_error_exit$(OBJ) + $(CC) -shared -Wl,-soname,libptscotcherrexit-$(VERSION).so $^ -o libptscotcherrexit-$(VERSION).so + ln -s libptscotcherrexit-$(VERSION).so libptscotcherrexit.so $(AR) $(ARFLAGS) $(@) $(?) -$(RANLIB) $(@) libscotcherr$(LIB) : library_error$(OBJ) + $(CC) -shared -Wl,-soname,libscotcherr-$(VERSION).so $^ -o libscotcherr-$(VERSION).so + ln -s libscotcherr-$(VERSION).so libscotcherr.so $(AR) $(ARFLAGS) $(@) $(?) -$(RANLIB) $(@) libscotcherrexit$(LIB) : library_error_exit$(OBJ) + $(CC) -shared -Wl,-soname,libscotcherrexit-$(VERSION).so $^ -o libscotcherrexit-$(VERSION).so + ln -s libscotcherrexit-$(VERSION).so libscotcherrexit.so $(AR) $(ARFLAGS) $(@) $(?) -$(RANLIB) $(@) Index: scotch/src/esmumps/Makefile =================================================================== --- scotch.orig/src/esmumps/Makefile +++ scotch/src/esmumps/Makefile @@ -44,7 +44,7 @@ $(CC) $(CFLAGS) $(CLIBFLAGS) -I$(includedir) -c $(<) -o $(@) %$(EXE) : %.c - $(CC) $(CFLAGS) -I$(includedir) $(<) -o $(@) -L$(libdir) $(LDFLAGS) -L. -l$(ESMUMPSLIB) -l$(SCOTCHLIB) -l$(SCOTCHLIB)errexit + $(CC) $(CFLAGS) -I$(includedir) $(<) -o $(@) -L$(libdir) -L. -l$(ESMUMPSLIB) -l$(SCOTCHLIB) -l$(SCOTCHLIB)errexit $(LDFLAGS) -lscotch ## ## Project rules. @@ -59,19 +59,21 @@ ptscotch : clean $(MAKE) CFLAGS="$(CFLAGS) -DSCOTCH_PTSCOTCH" CC=$(CCP) SCOTCHLIB=ptscotch ESMUMPSLIB=ptesmumps \ - libesmumps$(LIB) \ + libptesmumps$(LIB) \ main_esmumps$(EXE) install : -$(CP) esmumps.h $(includedir) - -$(CP) libesmumps$(LIB) $(libdir) + -$(CP) -a libesmumps* $(libdir) + -$(CP) -a main_esmumps$(EXE) $(bindir)/scotch_esmumps ptinstall : -$(CP) esmumps.h $(includedir) - -$(CP) libptesmumps$(LIB) $(libdir) + -$(CP) -a libptesmumps* $(libdir) + -$(CP) -a main_esmumps$(EXE) $(bindir)/ptscotch_esmumps clean : - -$(RM) *~ common.h *$(OBJ) lib*$(LIB) main_esmumps$(EXE) + -$(RM) *~ common.h *$(OBJ) lib*$(LIB) lib*.so main_esmumps$(EXE) realclean : clean @@ -142,7 +144,7 @@ common.h \ esmumps.h -libesmumps$(LIB) : graph_graph$(OBJ) \ +lib$(ESMUMPSLIB)$(LIB) : graph_graph$(OBJ) \ order$(OBJ) \ order_scotch_graph$(OBJ) \ dof$(OBJ) \ @@ -151,6 +153,8 @@ esmumps$(OBJ) \ esmumps_f$(OBJ) \ esmumps_strats$(OBJ) + $(CC) -shared -Wl,-soname,lib$(ESMUMPSLIB)-$(VERSION).so $^ -L../libscotch -lscotch -lscotcherr -o lib$(ESMUMPSLIB)-$(VERSION).so + ln -s lib$(ESMUMPSLIB)-$(VERSION).so lib$(ESMUMPSLIB).so $(AR) $(ARFLAGS) lib$(ESMUMPSLIB)$(LIB) $(?) -$(RANLIB) lib$(ESMUMPSLIB)$(LIB) Index: scotch/src/scotch/Makefile =================================================================== --- scotch.orig/src/scotch/Makefile +++ scotch/src/scotch/Makefile @@ -47,7 +47,7 @@ $(CC) $(CFLAGS) -I$(includedir) -I../libscotch -c $(<) -o $(@) %$(EXE) : %.c - $(CC) $(CFLAGS) -I$(includedir) -I../libscotch $(<) -o $(@) -L$(libdir) -l$(SCOTCHLIB) -l$(SCOTCHLIB)errexit $(LDFLAGS) + $(CC) $(CFLAGS) -I$(includedir) -I../libscotch $(<) -o $(@) -L$(libdir) -l$(SCOTCHLIB) -l$(SCOTCHLIB)errexit $(LDFLAGS) -lscotch ## ## Project rules. debian/patches/format-security.patch0000664000000000000000000000233312001223633014766 0ustar Author: Andreas Tille Date: Tue, 17 Jul 2012 10:12:24 +0200 Description: Dix format security issue which cases an erro when using -Werror=format-security --- scotch.orig/src/libscotch/parser.c +++ scotch/src/libscotch/parser.c @@ -590,15 +590,15 @@ case STRATTESTMUL : /* Multiplication operator */ case STRATTESTMOD : /* Modulus operator */ i = (test->data.test[0]->typetest < test->typetest) ? 1 : 0; - fprintf (stream, strattestsavepa[i][0]); + fputs (strattestsavepa[i][0], stream); o = stratTestSave (test->data.test[0], stream); - fprintf (stream, strattestsavepa[i][1]); + fputs (strattestsavepa[i][1], stream); if (o == 0) { fprintf (stream, "%c", strattestsaveop[test->typetest]); i = (test->data.test[1]->typetest < test->typetest) ? 1 : 0; - fprintf (stream, strattestsavepa[i][0]); + fputs (strattestsavepa[i][0], stream); stratTestSave (test->data.test[1], stream); - fprintf (stream, strattestsavepa[i][1]); + fputs (strattestsavepa[i][1], stream); } break; case STRATTESTVAL : /* Constant value */ debian/patches/series0000664000000000000000000000007312001223633012024 0ustar build-fixes.patch metis-header.patch format-security.patch debian/patches/metis-header.patch0000664000000000000000000000070212001223633014176 0ustar Index: scotch-5.1.10b.dfsg/src/libscotchmetis/metis.h =================================================================== --- scotch-5.1.10b.dfsg.orig/src/libscotchmetis/metis.h 2010-10-18 17:08:25.000000000 +0200 +++ scotch-5.1.10b.dfsg/src/libscotchmetis/metis.h 2010-10-18 17:08:52.000000000 +0200 @@ -82,6 +82,8 @@ #define METISNAME4(p,s) p##s #endif /* METISNAMEL */ +typedef int idxtype; + /* ** The function prototypes. */