r36694 - in /packages/mumps-metis/trunk/debian: ./ patches/ source/
trophime-guest at users.alioth.debian.org
trophime-guest at users.alioth.debian.org
Fri Jul 2 06:59:04 UTC 2010
Author: trophime-guest
Date: Fri Jul 2 06:59:02 2010
New Revision: 36694
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36694
Log:
[svn-inject] Applying Debian modifications (4.9.2.dfsg-1) to trunk
Added:
packages/mumps-metis/trunk/debian/ (with props)
packages/mumps-metis/trunk/debian/Makefile.metis.inc
packages/mumps-metis/trunk/debian/Makefile.par.inc
packages/mumps-metis/trunk/debian/Makefile.parmetis.inc
packages/mumps-metis/trunk/debian/Makefile.seq.inc
packages/mumps-metis/trunk/debian/README.Debian
packages/mumps-metis/trunk/debian/README.source
packages/mumps-metis/trunk/debian/changelog
packages/mumps-metis/trunk/debian/compat
packages/mumps-metis/trunk/debian/control
packages/mumps-metis/trunk/debian/copyright
packages/mumps-metis/trunk/debian/libmumps-metis-4.9.2.install
packages/mumps-metis/trunk/debian/libmumps-metis-dev.install
packages/mumps-metis/trunk/debian/libmumps-parmetis-4.9.2.install
packages/mumps-metis/trunk/debian/libmumps-parmetis-dev.install
packages/mumps-metis/trunk/debian/mumps-metis-test.docs
packages/mumps-metis/trunk/debian/mumps-metis-test.install
packages/mumps-metis/trunk/debian/patches/
packages/mumps-metis/trunk/debian/patches/series
packages/mumps-metis/trunk/debian/patches/shared-libseq.patch
packages/mumps-metis/trunk/debian/patches/shared-mumps.patch
packages/mumps-metis/trunk/debian/patches/shared-pord.patch
packages/mumps-metis/trunk/debian/patches/tests-shlibs.patch
packages/mumps-metis/trunk/debian/rules (with props)
packages/mumps-metis/trunk/debian/source/
packages/mumps-metis/trunk/debian/source/format
Propchange: packages/mumps-metis/trunk/debian/
------------------------------------------------------------------------------
mergeWithUpstream = 1
Added: packages/mumps-metis/trunk/debian/Makefile.metis.inc
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/Makefile.metis.inc?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/Makefile.metis.inc (added)
+++ packages/mumps-metis/trunk/debian/Makefile.metis.inc Fri Jul 2 06:59:02 2010
@@ -1,0 +1,91 @@
+#
+# This file is part of MUMPS 4.9.2, built on Thu Nov 5 07:05:08 UTC 2009
+# Adapted by Adam Powell from Make.inc/Makefile.gfortran.seq, based on
+# Roberto C. Sanchez' adaptation from Make.inc/Makefile.G95.seq, based on
+# Adam Powell's adaptation of Make.inc/Makefile.G95.par
+#
+#Begin orderings
+
+# NOTE that PORD is distributed within MUMPS by default. If you would like to
+# use other orderings, you need to obtain the corresponding package and modify
+# the variables below accordingly.
+# For example, to have Metis available within MUMPS:
+# 1/ download Metis and compile it
+# 2/ uncomment (suppress # in first column) lines
+# starting with LMETISDIR, LMETIS
+# 3/ add -Dmetis in line ORDERINGSF
+# ORDERINGSF = -Dpord -Dmetis
+# 4/ Compile and install MUMPS
+# make clean; make (to clean up previous installation)
+#
+# Metis/ParMetis and SCOTCH/PT-SCOTCH (ver 5.1 and later) orderings are now available for MUMPS.
+#
+
+#SCOTCHDIR = /usr
+#ISCOTCH = -I/usr/include/scotch
+# You have to choose one among the following two lines depending on
+# the type of analysis you want to perform. If you want to perform only
+# sequential analysis choose the first (remember to add -Dscotch in the ORDERINGSF
+# variable below); for both parallel and sequential analysis choose the second
+# line (remember to add -Dptscotch in the ORDERINGSF variable below)
+
+#LSCOTCH = -L/usr/lib -lesmumps -lscotch -lscotcherr
+#LSCOTCH = -L$(SCOTCHDIR)/lib -lptesmumps -lptscotch -lptscotcherr
+
+
+LPORDDIR = $(topdir)/PORD/lib/
+IPORD = -I$(topdir)/PORD/include/
+LPORD = -L$(LPORDDIR) -lpord$(PLAT)
+
+#LMETISDIR = /local/metis/
+#IMETIS = # Metis doesn't need include files (Fortran interface avail.)
+IMETIS = -I/usr/include/metis
+
+# You have to choose one among the following two lines depending on
+# the type of analysis you want to perform. If you want to perform only
+# sequential analysis choose the first (remember to add -Dmetis in the ORDERINGSF
+# variable below); for both parallel and sequential analysis choose the second
+# line (remember to add -Dparmetis in the ORDERINGSF variable below)
+
+LMETIS = -lmetis
+#LMETIS = -L$(LMETISDIR) -lparmetis -lmetis
+
+# The following variables will be used in the compilation process.
+# Please note that -Dptscotch and -Dparmetis imply -Dscotch and -Dmetis respectively.
+#ORDERINGSF = -Dscotch -Dpord
+ORDERINGSF = -Dmetis -Dpord
+ORDERINGSC = $(ORDERINGSF)
+
+LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH)
+IORDERINGSF = $(ISCOTCH)
+IORDERINGSC = $(IMETIS) $(IPORD) $(ISCOTCH)
+
+#End orderings
+########################################################################
+################################################################################
+
+PLAT =
+RM = /bin/rm -f
+CC = gcc
+FC = gfortran
+FL = gfortran
+AR = ar vr
+#RANLIB = ranlib
+RANLIB = echo
+# See point 17 in the FAQ to have more details on the compilation of mpich with gfortran
+INCSEQ = -I$(topdir)/libseq
+LIBSEQ = -L$(topdir)/libseq -lmpiseq$(PLAT)
+#LIBBLAS = -L/usr/lib/xmm/ -lf77blas -latlas
+LIBBLAS = -lblas -llapack
+LIBOTHERS = -lpthread
+#Preprocessor defs for calling Fortran from C (-DAdd_ or -DAdd__ or -DUPPER)
+CDEFS = -DAdd_
+
+#Begin Optimized options
+OPTF = -O -Dintel_ -DALLOW_NON_INIT
+OPTL = -O
+OPTC = -O
+#End Optimized options
+INC = $(INCSEQ)
+LIB = $(LIBSEQ)
+LIBSEQNEEDED = libseqneeded
Added: packages/mumps-metis/trunk/debian/Makefile.par.inc
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/Makefile.par.inc?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/Makefile.par.inc (added)
+++ packages/mumps-metis/trunk/debian/Makefile.par.inc Fri Jul 2 06:59:02 2010
@@ -1,0 +1,93 @@
+#
+# This file is part of MUMPS 4.9.2, built on Thu Nov 5 07:05:08 UTC 2009
+# Adapted by Adam Powell from Make.inc/Makefile.gfortran.par
+#
+#Begin orderings
+
+# NOTE that PORD is distributed within MUMPS by default. If you would like to
+# use other orderings, you need to obtain the corresponding package and modify
+# the variables below accordingly.
+# For example, to have Metis available within MUMPS:
+# 1/ download Metis and compile it
+# 2/ uncomment (suppress # in first column) lines
+# starting with LMETISDIR, LMETIS
+# 3/ add -Dmetis in line ORDERINGSF
+# ORDERINGSF = -Dpord -Dmetis
+# 4/ Compile and install MUMPS
+# make clean; make (to clean up previous installation)
+#
+# Metis/ParMetis and SCOTCH/PT-SCOTCH (ver 5.1 and later) orderings are now available for MUMPS.
+#
+
+#SCOTCHDIR = /usr
+#ISCOTCH = -I$(SCOTCHDIR)/scotch/include
+# You have to choose one among the following two lines depending on
+# the type of analysis you want to perform. If you want to perform only
+# sequential analysis choose the first (remember to add -Dscotch in the ORDERINGSF
+# variable below); for both parallel and sequential analysis choose the second
+# line (remember to add -Dptscotch in the ORDERINGSF variable below)
+
+#LSCOTCH = -L$(SCOTCHDIR)/lib -lesmumps -lscotch -lscotcherr
+#LSCOTCH = -L$(SCOTCHDIR)/lib -lptesmumps -lptscotch -lptscotcherr
+
+
+LPORDDIR = $(topdir)/PORD/lib/
+IPORD = -I$(topdir)/PORD/include/
+LPORD = -L$(LPORDDIR) -lpord$(PLAT)
+
+#LMETISDIR = /local/metis/
+#IMETIS = # Metis doesn't need include files (Fortran interface avail.)
+
+# You have to choose one among the following two lines depending on
+# the type of analysis you want to perform. If you want to perform only
+# sequential analysis choose the first (remember to add -Dmetis in the ORDERINGSF
+# variable below); for both parallel and sequential analysis choose the second
+# line (remember to add -Dparmetis in the ORDERINGSF variable below)
+
+#LMETIS = -L$(LMETISDIR) -lmetis
+#LMETIS = -L$(LMETISDIR) -lparmetis -lmetis
+
+# The following variables will be used in the compilation process.
+# Please note that -Dptscotch and -Dparmetis imply -Dscotch and -Dmetis respectively.
+#ORDERINGSF = -Dscotch -Dmetis -Dpord -Dptscotch -Dparmetis
+ORDERINGSF = -Dpord
+ORDERINGSC = $(ORDERINGSF)
+
+LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH)
+IORDERINGSF = $(ISCOTCH)
+IORDERINGSC = $(IMETIS) $(IPORD) $(ISCOTCH)
+
+#End orderings
+########################################################################
+################################################################################
+
+PLAT =
+RM = /bin/rm -f
+CC = gcc
+FC = gfortran
+FL = gfortran
+AR = ar vr
+#RANLIB = ranlib
+RANLIB = echo
+SCALAP = -lscalapack-$(MUMPS_MPI) -lblacs-$(MUMPS_MPI)
+#INCPAR = -I/usr/local/include
+INCPAR = -I/usr/include/mpi
+# LIBPAR = $(SCALAP) -L/usr/local/lib/ -llammpio -llamf77mpi -lmpi -llam -lutil -ldl -lpthread
+LIBPAR = $(SCALAP) $(MUMPS_LIBF77)
+# See point 17 in the FAQ to have more details on the compilation of mpich with gfortran
+INCSEQ = -I$(topdir)/libseq
+LIBSEQ = -L$(topdir)/libseq -lmpiseq$(PLAT)
+#LIBBLAS = -L/usr/lib/xmm/ -lf77blas -latlas
+LIBBLAS = -lblas -llapack
+LIBOTHERS = -lpthread
+#Preprocessor defs for calling Fortran from C (-DAdd_ or -DAdd__ or -DUPPER)
+CDEFS = -DAdd_
+
+#Begin Optimized options
+OPTF = -O -Dintel_ -DALLOW_NON_INIT
+OPTL = -O
+OPTC = -O
+#End Optimized options
+INC = $(INCPAR)
+LIB = $(LIBPAR)
+LIBSEQNEEDED =
Added: packages/mumps-metis/trunk/debian/Makefile.parmetis.inc
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/Makefile.parmetis.inc?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/Makefile.parmetis.inc (added)
+++ packages/mumps-metis/trunk/debian/Makefile.parmetis.inc Fri Jul 2 06:59:02 2010
@@ -1,0 +1,93 @@
+#
+# This file is part of MUMPS 4.9.2, built on Thu Nov 5 07:05:08 UTC 2009
+# Adapted by Adam Powell from Make.inc/Makefile.gfortran.par
+#
+#Begin orderings
+
+# NOTE that PORD is distributed within MUMPS by default. If you would like to
+# use other orderings, you need to obtain the corresponding package and modify
+# the variables below accordingly.
+# For example, to have Metis available within MUMPS:
+# 1/ download Metis and compile it
+# 2/ uncomment (suppress # in first column) lines
+# starting with LMETISDIR, LMETIS
+# 3/ add -Dmetis in line ORDERINGSF
+# ORDERINGSF = -Dpord -Dmetis
+# 4/ Compile and install MUMPS
+# make clean; make (to clean up previous installation)
+#
+# Metis/ParMetis and SCOTCH/PT-SCOTCH (ver 5.1 and later) orderings are now available for MUMPS.
+#
+
+#SCOTCHDIR = /usr
+#ISCOTCH = -I/usr/include/scotch
+# You have to choose one among the following two lines depending on
+# the type of analysis you want to perform. If you want to perform only
+# sequential analysis choose the first (remember to add -Dscotch in the ORDERINGSF
+# variable below); for both parallel and sequential analysis choose the second
+# line (remember to add -Dptscotch in the ORDERINGSF variable below)
+
+#LSCOTCH = -L$(SCOTCHDIR)/lib -lesmumps -lscotch -lscotcherr
+#LSCOTCH = -L/usr/lib -lptesmumps -lptscotch -lptscotcherr
+
+
+LPORDDIR = $(topdir)/PORD/lib/
+IPORD = -I$(topdir)/PORD/include/
+LPORD = -L$(LPORDDIR) -lpord$(PLAT)
+
+#LMETISDIR = /local/metis/
+IMETIS = -I/usr/include/parmetis
+
+# You have to choose one among the following two lines depending on
+# the type of analysis you want to perform. If you want to perform only
+# sequential analysis choose the first (remember to add -Dmetis in the ORDERINGSF
+# variable below); for both parallel and sequential analysis choose the second
+# line (remember to add -Dparmetis in the ORDERINGSF variable below)
+
+#LMETIS = -L$(LMETISDIR) -lmetis
+LMETIS = -lparmetis -lmetis
+
+# The following variables will be used in the compilation process.
+# Please note that -Dptscotch and -Dparmetis imply -Dscotch and -Dmetis respectively.
+#ORDERINGSF = -Dscotch -Dpord -Dptscotch
+ORDERINGSF = -Dmetis -Dpord -Dparmetis
+ORDERINGSC = $(ORDERINGSF)
+
+LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH)
+IORDERINGSF = $(ISCOTCH)
+IORDERINGSC = $(IMETIS) $(IPORD) $(ISCOTCH)
+
+#End orderings
+########################################################################
+################################################################################
+
+PLAT =
+RM = /bin/rm -f
+CC = gcc
+FC = gfortran
+FL = gfortran
+AR = ar vr
+#RANLIB = ranlib
+RANLIB = echo
+SCALAP = -lscalapack-$(MUMPS_MPI) -lblacs-$(MUMPS_MPI)
+#INCPAR = -I/usr/local/include
+INCPAR = -I/usr/include/mpi
+# LIBPAR = $(SCALAP) -L/usr/local/lib/ -llammpio -llamf77mpi -lmpi -llam -lutil -ldl -lpthread
+LIBPAR = $(SCALAP) $(MUMPS_LIBF77)
+# See point 17 in the FAQ to have more details on the compilation of mpich with gfortran
+INCSEQ = -I$(topdir)/libseq
+LIBSEQ = -L$(topdir)/libseq -lmpiseq$(PLAT)
+#LIBBLAS = -L/usr/lib/xmm/ -lf77blas -latlas
+LIBBLAS = -lblas -llapack
+LIBOTHERS = -lpthread
+#Preprocessor defs for calling Fortran from C (-DAdd_ or -DAdd__ or -DUPPER)
+CDEFS = -DAdd_
+
+#Begin Optimized options
+OPTF = -O -Dintel_ -DALLOW_NON_INIT
+OPTL = -O
+OPTC = -O
+#End Optimized options
+INC = $(INCPAR)
+LIB = $(LIBPAR)
+LIBSEQNEEDED =
Added: packages/mumps-metis/trunk/debian/Makefile.seq.inc
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/Makefile.seq.inc?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/Makefile.seq.inc (added)
+++ packages/mumps-metis/trunk/debian/Makefile.seq.inc Fri Jul 2 06:59:02 2010
@@ -1,0 +1,90 @@
+#
+# This file is part of MUMPS 4.9.2, built on Thu Nov 5 07:05:08 UTC 2009
+# Adapted by Adam Powell from Make.inc/Makefile.gfortran.seq, based on
+# Roberto C. Sanchez' adaptation from Make.inc/Makefile.G95.seq, based on
+# Adam Powell's adaptation of Make.inc/Makefile.G95.par
+#
+#Begin orderings
+
+# NOTE that PORD is distributed within MUMPS by default. If you would like to
+# use other orderings, you need to obtain the corresponding package and modify
+# the variables below accordingly.
+# For example, to have Metis available within MUMPS:
+# 1/ download Metis and compile it
+# 2/ uncomment (suppress # in first column) lines
+# starting with LMETISDIR, LMETIS
+# 3/ add -Dmetis in line ORDERINGSF
+# ORDERINGSF = -Dpord -Dmetis
+# 4/ Compile and install MUMPS
+# make clean; make (to clean up previous installation)
+#
+# Metis/ParMetis and SCOTCH/PT-SCOTCH (ver 5.1 and later) orderings are now available for MUMPS.
+#
+
+#SCOTCHDIR = /usr
+#ISCOTCH = -I$(SCOTCHDIR)/scotch/include
+# You have to choose one among the following two lines depending on
+# the type of analysis you want to perform. If you want to perform only
+# sequential analysis choose the first (remember to add -Dscotch in the ORDERINGSF
+# variable below); for both parallel and sequential analysis choose the second
+# line (remember to add -Dptscotch in the ORDERINGSF variable below)
+
+#LSCOTCH = -L$(SCOTCHDIR)/lib -lesmumps -lscotch -lscotcherr
+#LSCOTCH = -L$(SCOTCHDIR)/lib -lptesmumps -lptscotch -lptscotcherr
+
+
+LPORDDIR = $(topdir)/PORD/lib/
+IPORD = -I$(topdir)/PORD/include/
+LPORD = -L$(LPORDDIR) -lpord$(PLAT)
+
+#LMETISDIR = /local/metis/
+#IMETIS = # Metis doesn't need include files (Fortran interface avail.)
+
+# You have to choose one among the following two lines depending on
+# the type of analysis you want to perform. If you want to perform only
+# sequential analysis choose the first (remember to add -Dmetis in the ORDERINGSF
+# variable below); for both parallel and sequential analysis choose the second
+# line (remember to add -Dparmetis in the ORDERINGSF variable below)
+
+#LMETIS = -L$(LMETISDIR) -lmetis
+#LMETIS = -L$(LMETISDIR) -lparmetis -lmetis
+
+# The following variables will be used in the compilation process.
+# Please note that -Dptscotch and -Dparmetis imply -Dscotch and -Dmetis respectively.
+#ORDERINGSF = -Dscotch -Dmetis -Dpord -Dptscotch -Dparmetis
+ORDERINGSF = -Dpord
+ORDERINGSC = $(ORDERINGSF)
+
+LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH)
+IORDERINGSF = $(ISCOTCH)
+IORDERINGSC = $(IMETIS) $(IPORD) $(ISCOTCH)
+
+#End orderings
+########################################################################
+################################################################################
+
+PLAT =
+RM = /bin/rm -f
+CC = gcc
+FC = gfortran
+FL = gfortran
+AR = ar vr
+#RANLIB = ranlib
+RANLIB = echo
+# See point 17 in the FAQ to have more details on the compilation of mpich with gfortran
+INCSEQ = -I$(topdir)/libseq
+LIBSEQ = -L$(topdir)/libseq -lmpiseq$(PLAT)
+#LIBBLAS = -L/usr/lib/xmm/ -lf77blas -latlas
+LIBBLAS = -lblas -llapack
+LIBOTHERS = -lpthread
+#Preprocessor defs for calling Fortran from C (-DAdd_ or -DAdd__ or -DUPPER)
+CDEFS = -DAdd_
+
+#Begin Optimized options
+OPTF = -O -Dintel_ -DALLOW_NON_INIT
+OPTL = -O
+OPTC = -O
+#End Optimized options
+INC = $(INCSEQ)
+LIB = $(LIBSEQ)
+LIBSEQNEEDED = libseqneeded
Added: packages/mumps-metis/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/README.Debian?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/README.Debian (added)
+++ packages/mumps-metis/trunk/debian/README.Debian Fri Jul 2 06:59:02 2010
@@ -1,0 +1,14 @@
+Welcome to the MUMPS package. You can find more information about MUMPS at:
+http://mumps.enseeiht.fr/ .
+
+The mumps-test package includes a test of each of the datatypes:
+single-precision (s), double-precision (d), complex (c) and complex double (z).
+Run the tests as follows:
+
+ cd /usr/lib/mumps
+ ./ssimpletest < input_simpletest_real
+ ./dsimpletest < input_simpletest_real
+ ./csimpletest < input_simpletest_cmplx
+ ./zsimpletest < input_simpletest_cmplx
+
+The solution should be something close to 1 2 3 4 5.
Added: packages/mumps-metis/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/README.source?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/README.source (added)
+++ packages/mumps-metis/trunk/debian/README.source Fri Jul 2 06:59:02 2010
@@ -1,0 +1,8 @@
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+See /usr/share/doc/quilt/README.source for a detailed explanation.
+
+The upstream doc directory contains only non-free files and is removed
+for this DFSG version.
Added: packages/mumps-metis/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/changelog?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/changelog (added)
+++ packages/mumps-metis/trunk/debian/changelog Fri Jul 2 06:59:02 2010
@@ -1,0 +1,6 @@
+mumps-metis (4.9.2.dfsg-1) unstable; urgency=low
+
+ * First package (Closes: #586110)
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> Sat, 26 Jun 2010 15:46:16 +0200
+
Added: packages/mumps-metis/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/compat?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/compat (added)
+++ packages/mumps-metis/trunk/debian/compat Fri Jul 2 06:59:02 2010
@@ -1,0 +1,1 @@
+5
Added: packages/mumps-metis/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/control?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/control (added)
+++ packages/mumps-metis/trunk/debian/control Fri Jul 2 06:59:02 2010
@@ -1,0 +1,70 @@
+Source: mumps-metis
+Section: contrib/libs
+Priority: extra
+Maintainer: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 5), quilt, gfortran, libscalapack-mpi-dev,
+ libblacs-mpi-dev, libblas-dev | libblas-3gf.so, liblapack-dev | liblapack-3gf.so,
+ libparmetis-dev, mpi-default-dev
+Homepage: http://mumps.enseeiht.fr/
+
+Package: libmumps-metis-dev
+Architecture: any
+Section: contrib/libdevel
+Depends: libmumps-metis-4.9.2 (= ${binary:Version}), libscalapack-mpi-dev,
+ mpi-default-dev, ${misc:Depends}
+Description: Direct linear systems solver - parallel development files
+ MUMPS implements a direct solver for large sparse linear systems, with a
+ particular focus on symmetric positive definite matrices. It can
+ operate on distributed matrices e.g. over a cluster. It has Fortran and
+ C interfaces, and can interface with ordering tools such as Scotch.
+
+Package: libmumps-metis-4.9.2
+Architecture: any
+Section: contrib/libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: mpi-default-bin
+Description: Direct linear systems solver - parallel shared libraries
+ MUMPS implements a direct solver for large sparse linear systems, with a
+ particular focus on symmetric positive definite matrices. It can
+ operate on distributed matrices e.g. over a cluster. It has Fortran and
+ C interfaces, and can interface with ordering tools such as Scotch.
+ .
+ This package is built the MUMPS libseq dummy sequential MPI library
+ with metis support. Unless you know that you specifically need this,
+ then you almost certainly want the libmumps-4.9.2 package.
+
+Package: libmumps-parmetis-4.9.2
+Architecture: any
+Section: contrib/libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Direct linear systems solver - Parmetis-version shared libraries
+ MUMPS implements a direct solver for large sparse linear systems, with a
+ particular focus on symmetric positive definite matrices. It can
+ operate on distributed matrices e.g. over a cluster. It has Fortran and
+ C interfaces, and can interface with ordering tools such as Scotch.
+ .
+ This package is built with parmetis support.
+
+Package: libmumps-parmetis-dev
+Architecture: any
+Section: contrib/libdevel
+Depends: libmumps-parmetis-4.9.2 (= ${binary:Version}), libmumps-metis-dev, ${misc:Depends}
+Description: Direct linear systems solver - Parmetis-version development files
+ MUMPS implements a direct solver for large sparse linear systems, with a
+ particular focus on symmetric positive definite matrices. It can
+ operate on distributed matrices e.g. over a cluster. It has Fortran and
+ C interfaces, and can interface with ordering tools such as Scotch.
+ .
+ This package is built with parmetis support.
+
+Package: mumps-metis-test
+Architecture: any
+Section: contrib/math
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: mpi-default-bin
+Description: Example/test binaries using MUMPS
+ MUMPS implements a direct solver for large sparse linear systems, with a
+ particular focus on symmetric positive definite matrices. It can
+ operate on distributed matrices e.g. over a cluster. It has Fortran and
+ C interfaces, and can interface with ordering tools such as Scotch.
Added: packages/mumps-metis/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/copyright?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/copyright (added)
+++ packages/mumps-metis/trunk/debian/copyright Fri Jul 2 06:59:02 2010
@@ -1,0 +1,45 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Debianized-By: Adam C. Powell, IV <hazelsct at debian.org>
+Debianized-Date: Thu, 28 May 2009 11:15:59 -0400
+Upstream-Author: Patrick Amestoy et al.
+Original-Source: http://mumps.enseeiht.fr/
+
+Files: *
+Copyright: None
+License: other
+ This version of MUMPS is provided to you free of charge. It is public
+ domain, based on public domain software developed during the Esprit IV
+ European project PARASOL (1996-1999) by CERFACS, ENSEEIHT-IRIT and RAL.
+ Since this first public domain version in 1999, the developments are
+ supported by the following institutions: CERFACS, ENSEEIHT-IRIT, and
+ INRIA.
+ .
+ Main contributors are Patrick Amestoy, Iain Duff, Abdou Guermouche,
+ Jacko Koster, Jean-Yves L'Excellent, and Stephane Pralet.
+ .
+ Up-to-date copies of the MUMPS package can be obtained
+ from the Web pages: http://mumps.enseeiht.fr/
+ or http://graal.ens-lyon.fr/MUMPS
+ .
+ THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY
+ EXPRESSED OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
+ .
+ User documentation of any code that uses this software can
+ include this complete notice. You can acknowledge (using
+ references [1], [2], and [3]) the contribution of this package
+ in any scientific publication dependent upon the use of the
+ package. You shall use reasonable endeavours to notify
+ the authors of the package of this publication.
+ .
+ [1] P. R. Amestoy, I. S. Duff and J.-Y. L'Excellent,
+ Multifrontal parallel distributed symmetric and unsymmetric solvers,
+ in Comput. Methods in Appl. Mech. Eng., 184, 501-520 (2000).
+ .
+ [2] P. R. Amestoy, I. S. Duff, J. Koster and J.-Y. L'Excellent,
+ A fully asynchronous multifrontal solver using distributed dynamic
+ scheduling, SIAM Journal of Matrix Analysis and Applications,
+ Vol 23, No 1, pp 15-41 (2001).
+ .
+ [3] P. R. Amestoy and A. Guermouche and J.-Y. L'Excellent and
+ S. Pralet, Hybrid scheduling for the parallel solution of linear
+ systems. Parallel Computing Vol 32 (2), pp 136-156 (2006).
Added: packages/mumps-metis/trunk/debian/libmumps-metis-4.9.2.install
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/libmumps-metis-4.9.2.install?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/libmumps-metis-4.9.2.install (added)
+++ packages/mumps-metis/trunk/debian/libmumps-metis-4.9.2.install Fri Jul 2 06:59:02 2010
@@ -1,0 +1,1 @@
+libmumps_metis/lib*-*.so usr/lib
Added: packages/mumps-metis/trunk/debian/libmumps-metis-dev.install
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/libmumps-metis-dev.install?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/libmumps-metis-dev.install (added)
+++ packages/mumps-metis/trunk/debian/libmumps-metis-dev.install Fri Jul 2 06:59:02 2010
@@ -1,0 +1,5 @@
+libmumps_metis/libmumps_common_metis.* usr/lib
+libmumps_metis/lib?mumps_metis.* usr/lib
+libmumps_metis/libpord_metis.* usr/lib
+libmumps_metis/libmpiseq_metis.* usr/lib
+libseq/*.h usr/include/mumps-metis/*
Added: packages/mumps-metis/trunk/debian/libmumps-parmetis-4.9.2.install
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/libmumps-parmetis-4.9.2.install?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/libmumps-parmetis-4.9.2.install (added)
+++ packages/mumps-metis/trunk/debian/libmumps-parmetis-4.9.2.install Fri Jul 2 06:59:02 2010
@@ -1,0 +1,1 @@
+libmumps_parmetis/lib*-*.so usr/lib
Added: packages/mumps-metis/trunk/debian/libmumps-parmetis-dev.install
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/libmumps-parmetis-dev.install?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/libmumps-parmetis-dev.install (added)
+++ packages/mumps-metis/trunk/debian/libmumps-parmetis-dev.install Fri Jul 2 06:59:02 2010
@@ -1,0 +1,3 @@
+libmumps_parmetis/libmumps_common_parmetis.* usr/lib
+libmumps_parmetis/lib?mumps_parmetis.* usr/lib
+libmumps_parmetis/libpord_parmetis.* usr/lib
Added: packages/mumps-metis/trunk/debian/mumps-metis-test.docs
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/mumps-metis-test.docs?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/mumps-metis-test.docs (added)
+++ packages/mumps-metis/trunk/debian/mumps-metis-test.docs Fri Jul 2 06:59:02 2010
@@ -1,0 +1,1 @@
+debian/README.Debian
Added: packages/mumps-metis/trunk/debian/mumps-metis-test.install
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/mumps-metis-test.install?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/mumps-metis-test.install (added)
+++ packages/mumps-metis/trunk/debian/mumps-metis-test.install Fri Jul 2 06:59:02 2010
@@ -1,0 +1,2 @@
+examples/?simpletest usr/lib/mumps-metis
+examples/input_* usr/lib/mumps-metis
Added: packages/mumps-metis/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/patches/series?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/patches/series (added)
+++ packages/mumps-metis/trunk/debian/patches/series Fri Jul 2 06:59:02 2010
@@ -1,0 +1,4 @@
+tests-shlibs.patch
+shared-pord.patch
+shared-mumps.patch
+shared-libseq.patch
Added: packages/mumps-metis/trunk/debian/patches/shared-libseq.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/patches/shared-libseq.patch?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/patches/shared-libseq.patch (added)
+++ packages/mumps-metis/trunk/debian/patches/shared-libseq.patch Fri Jul 2 06:59:02 2010
@@ -1,0 +1,37 @@
+Create a shared version of the sequential library, MUST BE LAST IN SERIES
+
+--- mumps-4.9.2.dfsg.orig/libseq/Makefile
++++ mumps-metis-4.9.2.dfsg/libseq/Makefile
+@@ -7,15 +7,18 @@
+
+ include ../Makefile.inc
+
+-libmpiseq: libmpiseq$(PLAT).a
++libmpiseq: libmpiseq$(PLAT).a libmpiseq$(PLAT).so
+
+ libmpiseq$(PLAT).a: mpi.o mpic.o elapse.o
+ $(AR) $@ mpi.o mpic.o elapse.o
+ $(RANLIB) $@
++libmpiseq$(PLAT).so: mpi.o mpic.o elapse.o
++ $(FC) -shared $^ -Wl,-soname,libmpiseq$(PLAT)-4.9.2.so -o libmpiseq$(PLAT)-4.9.2.so
++ ln -s libmpiseq$(PLAT)-4.9.2.so $@
+ .f.o:
+- $(FC) $(OPTF) -c $*.f
++ $(FC) $(OPTF) -fPIC -c $*.f
+ .c.o:
+- $(CC) $(OPTC) $(CDEFS) -I. -c $*.c
++ $(CC) $(OPTC) $(CDEFS) -I. -fPIC -c $*.c
+
+ clean:
+- $(RM) *.o *.a
++ $(RM) *.o *.a *.so
+--- mumps-4.9.2.dfsg.orig/Makefile
++++ mumps-metis-4.9.2.dfsg/Makefile
+@@ -57,6 +57,7 @@
+
+ libseqneeded:
+ (cd libseq; $(MAKE))
++ cp libseq/lib* $(libdir)
+
+ # Build the libpord.a library and copy it into $(topdir)/lib
+ $(libdir)/libpord$(PLAT).a:
Added: packages/mumps-metis/trunk/debian/patches/shared-mumps.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/patches/shared-mumps.patch?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/patches/shared-mumps.patch (added)
+++ packages/mumps-metis/trunk/debian/patches/shared-mumps.patch Fri Jul 2 06:59:02 2010
@@ -1,0 +1,51 @@
+Create a shared version of the MUMPS library.
+
+--- mumps-4.9.2.dfsg.orig/src/Makefile
++++ mumps-metis-4.9.2.dfsg/src/Makefile
+@@ -20,7 +20,9 @@
+ include $(topdir)/Makefile.inc
+
+ mumps_lib: $(libdir)/libmumps_common$(PLAT).a \
+- $(libdir)/lib$(ARITH)mumps$(PLAT).a
++ $(libdir)/libmumps_common$(PLAT).so \
++ $(libdir)/lib$(ARITH)mumps$(PLAT).a \
++ $(libdir)/lib$(ARITH)mumps$(PLAT).so
+
+ OBJS_COMMON = \
+ mumps_part9.o\
+@@ -55,10 +57,18 @@
+ $(AR) $@ $?
+ $(RANLIB) $@
+
++$(libdir)/libmumps_common$(PLAT).so: $(OBJS_COMMON)
++ $(FC) -shared $^ -Wl,-soname,libmumps_common$(PLAT)-4.9.2.so -L$(libdir) $(LORDERINGS) -lpthread $(MUMPS_LIBF77) -o $(libdir)/libmumps_common$(PLAT)-4.9.2.so
++ ln -s libmumps_common$(PLAT)-4.9.2.so $@
++
+ $(libdir)/lib$(ARITH)mumps$(PLAT).a: $(OBJS)
+ $(AR) $@ $?
+ $(RANLIB) $@
+
++$(libdir)/lib$(ARITH)mumps$(PLAT).so: $(OBJS)
++ $(FC) -shared $^ -Wl,-soname,lib$(ARITH)mumps$(PLAT)-4.9.2.so -L$(libdir) -lmumps_common$(PLAT) $(LORDERINGS) $(MUMPS_LIBF77) -lblas $(SCALAP) -o $(libdir)/lib$(ARITH)mumps$(PLAT)-4.9.2.so
++ ln -s lib$(ARITH)mumps$(PLAT)-4.9.2.so $@
++
+ $(ARITH)mumps_load.o: $(ARITH)mumps_comm_buffer.o \
+ $(ARITH)mumps_struc_def.o
+
+@@ -87,13 +97,13 @@
+
+ .SUFFIXES: .c .F .o
+ .F.o:
+- $(FC) $(OPTF) $(INC) $(IORDERINGSF) $(ORDERINGSF) -I. -I../include -c $*.F
++ $(FC) $(OPTF) $(INC) $(IORDERINGSF) $(ORDERINGSF) -I. -I../include -fPIC -c $*.F
+ .c.o:
+- $(CC) $(OPTC) $(INC) -I../include $(CDEFS) $(IORDERINGSC) $(ORDERINGSC) -c $*.c
++ $(CC) $(OPTC) $(INC) -I../include $(CDEFS) $(IORDERINGSC) $(ORDERINGSC) -fPIC -c $*.c
+
+ $(ARITH)mumps_c.o: mumps_c.c
+ $(CC) $(OPTC) $(INC) $(CDEFS) -DMUMPS_ARITH=MUMPS_ARITH_$(ARITH) \
+- $(IORDERINGSC) $(ORDERINGSC) -I../include -c $? -o $@
++ $(IORDERINGSC) $(ORDERINGSC) -I../include -fPIC -c $? -o $@
+
+
+ clean:
Added: packages/mumps-metis/trunk/debian/patches/shared-pord.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/patches/shared-pord.patch?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/patches/shared-pord.patch (added)
+++ packages/mumps-metis/trunk/debian/patches/shared-pord.patch Fri Jul 2 06:59:02 2010
@@ -1,0 +1,69 @@
+Create a shared version of the PORD library.
+
+Index: mumps-metis-4.9.2.dfsg/PORD/lib/Makefile
+===================================================================
+--- mumps-4.9.2.dfsg.orig/PORD/lib/Makefile 2009-11-05 02:05:08.000000000 -0500
++++ mumps-metis-4.9.2.dfsg/PORD/lib/Makefile 2010-04-09 15:01:38.000000000 -0400
+@@ -8,7 +8,7 @@
+
+ INCLUDES = -I../include
+
+-COPTIONS = $(INCLUDES) $(CFLAGS) $(OPTFLAGS)
++COPTIONS = $(INCLUDES) $(CFLAGS) $(OPTFLAGS) -fPIC
+
+ OBJS = graph.o gbipart.o gbisect.o ddcreate.o ddbisect.o nestdiss.o \
+ multisector.o gelim.o bucket.o tree.o \
+@@ -21,12 +21,16 @@
+ .c.o:
+ $(CC) $(COPTIONS) -c $*.c
+
+-libpord.a: $(OBJS)
++libpord$(PLAT).a: $(OBJS)
+ $(AR) $(ARFUNCT) $@ $(OBJS)
+ $(RANLIB) $@
+
++libpord$(PLAT).so: $(OBJS)
++ $(CC) -shared $(OBJS) -Wl,-soname,libpord$(PLAT)-4.9.2.so -o libpord$(PLAT)-4.9.2.so
++ ln -s libpord$(PLAT)-4.9.2.so $@
++
+ clean:
+ rm -f *.o
+
+ realclean:
+- rm -f *.o libpord.a
++ rm -f *.o libpord*.a *.so
+Index: mumps-metis-4.9.2.dfsg/Makefile
+===================================================================
+--- mumps-4.9.2.dfsg.orig/Makefile 2009-11-05 02:05:08.000000000 -0500
++++ mumps-metis-4.9.2.dfsg/Makefile 2010-04-09 15:02:14.000000000 -0400
+@@ -51,7 +51,7 @@
+ (cd examples ; $(MAKE) z)
+
+
+-requiredobj: Makefile.inc $(LIBSEQNEEDED) $(libdir)/libpord$(PLAT).a
++requiredobj: Makefile.inc $(LIBSEQNEEDED) $(libdir)/libpord$(PLAT).a $(libdir)/libpord$(PLAT).so
+
+ # dummy MPI library (sequential version)
+
+@@ -65,13 +65,19 @@
+ $(MAKE) CC="$(CC)" CFLAGS="$(OPTC)" AR="$(AR)" ARFUNCT= RANLIB="$(RANLIB)"; \
+ fi;
+ if [ "$(LPORDDIR)" != "" ] ; then \
+- cp $(LPORDDIR)/libpord.a $@; \
++ cp $(LPORDDIR)/libpord$(PLAT).a $@; \
+ fi;
+
++$(libdir)/libpord$(PLAT).so:
++ if [ "$(LPORDDIR)" != "" ] ; then \
++ cd $(LPORDDIR); make CC="$(CC)" CFLAGS="$(OPTC)" AR="$(AR)" ARFUNCT= RANLIB="$(RANLIB)" libpord$(PLAT).so; fi;
++ if [ "$(LPORDDIR)" != "" ] ; then \
++ cp -a $(LPORDDIR)/libpord*.so lib/; fi;
++
+ clean:
+ (cd src; $(MAKE) clean)
+ (cd examples; $(MAKE) clean)
+- (cd $(libdir); $(RM) *$(PLAT).a)
++ (cd $(libdir); $(RM) *$(PLAT).a *$(PLAT).so)
+ (cd libseq; $(MAKE) clean)
+ if [ $(LPORDDIR) != "" ] ; then \
+ cd $(LPORDDIR); $(MAKE) realclean; \
Added: packages/mumps-metis/trunk/debian/patches/tests-shlibs.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/patches/tests-shlibs.patch?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/patches/tests-shlibs.patch (added)
+++ packages/mumps-metis/trunk/debian/patches/tests-shlibs.patch Fri Jul 2 06:59:02 2010
@@ -1,0 +1,62 @@
+Have the tests link against the shared libs instead of static ones.
+
+--- mumps-metis-4.9.2.dfsg/examples/Makefile~ 2009-11-05 02:05:21.000000000 -0500
++++ mumps-metis-4.9.2.dfsg/examples/Makefile 2009-12-07 17:54:56.000000000 -0500
+@@ -19,28 +19,28 @@
+
+ include $(topdir)/Makefile.inc
+
+-LIBMUMPS_COMMON = $(libdir)/libmumps_common$(PLAT).a
++LIBMUMPS_COMMON = $(libdir)/libmumps_common$(PLAT).so
+
+
+-LIBSMUMPS = $(libdir)/libsmumps$(PLAT).a $(LIBMUMPS_COMMON)
++LIBSMUMPS = $(libdir)/libsmumps$(PLAT).so $(LIBMUMPS_COMMON)
+
+ ssimpletest: $(LIBSMUMPS) $$@.o
+ $(FL) -o $@ $(OPTL) ssimpletest.o $(LIBSMUMPS) $(LORDERINGS) $(LIB) $(LIBBLAS) $(LIBOTHERS)
+
+
+-LIBDMUMPS = $(libdir)/libdmumps$(PLAT).a $(LIBMUMPS_COMMON)
++LIBDMUMPS = $(libdir)/libdmumps$(PLAT).so $(LIBMUMPS_COMMON)
+
+ dsimpletest: $(LIBDMUMPS) $$@.o
+ $(FL) -o $@ $(OPTL) dsimpletest.o $(LIBDMUMPS) $(LORDERINGS) $(LIB) $(LIBBLAS) $(LIBOTHERS)
+
+
+-LIBCMUMPS = $(libdir)/libcmumps$(PLAT).a $(LIBMUMPS_COMMON)
++LIBCMUMPS = $(libdir)/libcmumps$(PLAT).so $(LIBMUMPS_COMMON)
+
+ csimpletest: $(LIBCMUMPS) $$@.o
+ $(FL) -o $@ $(OPTL) csimpletest.o $(LIBCMUMPS) $(LORDERINGS) $(LIB) $(LIBBLAS) $(LIBOTHERS)
+
+
+-LIBZMUMPS = $(libdir)/libzmumps$(PLAT).a $(LIBMUMPS_COMMON)
++LIBZMUMPS = $(libdir)/libzmumps$(PLAT).so $(LIBMUMPS_COMMON)
+
+ zsimpletest: $(LIBZMUMPS) $$@.o
+ $(FL) -o $@ $(OPTL) zsimpletest.o $(LIBZMUMPS) $(LORDERINGS) $(LIB) $(LIBBLAS) $(LIBOTHERS)
+@@ -57,19 +57,19 @@
+ $(CC) $(OPTC) $(INC) -I. -I$(topdir)/include -c $*.c
+
+
+-$(libdir)/libsmumps$(PLAT).a:
++$(libdir)/libsmumps$(PLAT).so:
+ @echo 'Error: you should build the library' $@ 'first'
+ exit -1
+
+-$(libdir)/libdmumps$(PLAT).a:
++$(libdir)/libdmumps$(PLAT).so:
+ @echo 'Error: you should build the library' $@ 'first'
+ exit -1
+
+-$(libdir)/libcmumps$(PLAT).a:
++$(libdir)/libcmumps$(PLAT).so:
+ @echo 'Error: you should build the library' $@ 'first'
+ exit -1
+
+-$(libdir)/libzmumps$(PLAT).a:
++$(libdir)/libzmumps$(PLAT).so:
+ @echo 'Error: you should build the library' $@ 'first'
+ exit -1
+
Added: packages/mumps-metis/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/rules?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/rules (added)
+++ packages/mumps-metis/trunk/debian/rules Fri Jul 2 06:59:02 2010
@@ -1,0 +1,83 @@
+#!/usr/bin/make -f
+
+MUMPS_MPI=$(shell readlink /etc/alternatives/mpi | sed s/usr//g | sed s/include//g | sed s/lib//g | sed s/\\///g)
+ifeq ($(MUMPS_MPI),openmpi)
+MUMPS_LIBF77=-L/usr/lib/openmpi/lib -lmpi_f77
+else
+ifeq ($(MUMPS_MPI),lam)
+MUMPS_LIBF77=-L/usr/lib/lam/lib -llamf77mpi
+else
+ifeq ($(MUMPS_MPI),mpich)
+MUMPS_LIBF77=-L/usr/lib/mpich/lib -lfmpich
+else
+ifeq ($(MUMPS_MPI),mpich2)
+MUMPS_LIBF77=-lfmpich
+endif
+endif
+endif
+endif
+
+include /usr/share/quilt/quilt.make
+
+clean:
+ dh_testdir
+ dh_clean
+ cp -f debian/Makefile.seq.inc Makefile.inc
+ $(MAKE) clean
+ rm -rf Makefile.inc libmumps_seq libmumps_metis libmumps_parmetis
+ find . -name \*.so| xargs -r rm
+ rm -rf build build-arch
+
+build-arch:
+ cp -f debian/Makefile.parmetis.inc Makefile.inc
+ $(MAKE) MUMPS_MPI=$(MUMPS_MPI) MUMPS_LIBF77="$(MUMPS_LIBF77)" \
+ PLAT="_parmetis" all
+ cp -a lib libmumps_parmetis
+ $(MAKE) clean
+ rm -f Makefile.inc
+ cp -f debian/Makefile.metis.inc Makefile.inc
+ $(MAKE) MUMPS_MPI=$(MUMPS_MPI) MUMPS_LIBF77="-lmpiseq_metis" \
+ PLAT="_metis" all
+ cp -a lib libmumps_metis
+ cp -af libseq/lib* libmumps_metis
+ touch $@
+
+build: build-arch #build-indep
+ touch $@
+
+binary-indep:
+# dh_testdir -i
+# dh_testroot -i
+# dh_installdirs -i
+# dh_install -i
+# dh_installdocs -i
+# dh_installchangelogs -i
+# dh_compress -i
+# dh_fixperms -i
+# dh_installdeb -i
+# dh_gencontrol -i
+# dh_md5sums -i
+# dh_builddeb -i
+
+binary-arch:
+ dh_testdir -a
+ dh_testroot -a
+ dh_installdirs -a
+ dh_install -a
+ dh_installdocs -a
+ dh_installchangelogs -a
+ dh_strip -a
+ dh_makeshlibs -a
+ 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
+
+.PHONY: binary binary-arch binary-indep clean checkroot
Propchange: packages/mumps-metis/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: packages/mumps-metis/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/mumps-metis/trunk/debian/source/format?rev=36694&op=file
==============================================================================
--- packages/mumps-metis/trunk/debian/source/format (added)
+++ packages/mumps-metis/trunk/debian/source/format Fri Jul 2 06:59:02 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)
More information about the debian-science-commits
mailing list