r46272 - in /packages/superlu-dist/trunk/debian: ./ patches/ source/
trophime-guest at users.alioth.debian.org
trophime-guest at users.alioth.debian.org
Wed Sep 11 15:13:45 UTC 2013
Author: trophime-guest
Date: Wed Sep 11 15:13:39 2013
New Revision: 46272
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=46272
Log:
[svn-inject] Applying Debian modifications (3.2-1) to trunk
Added:
packages/superlu-dist/trunk/debian/ (with props)
packages/superlu-dist/trunk/debian/README.Debian
packages/superlu-dist/trunk/debian/README.source
packages/superlu-dist/trunk/debian/changelog
packages/superlu-dist/trunk/debian/compat
packages/superlu-dist/trunk/debian/control
packages/superlu-dist/trunk/debian/copyright
packages/superlu-dist/trunk/debian/docs
packages/superlu-dist/trunk/debian/libsuperlu-dist-dev.install
packages/superlu-dist/trunk/debian/libsuperlu-dist.install
packages/superlu-dist/trunk/debian/patches/
packages/superlu-dist/trunk/debian/patches/dreadrhs.patch
packages/superlu-dist/trunk/debian/patches/examples.diff
packages/superlu-dist/trunk/debian/patches/make.inc.diff
packages/superlu-dist/trunk/debian/patches/make.inc.patch
packages/superlu-dist/trunk/debian/patches/series
packages/superlu-dist/trunk/debian/rules (with props)
packages/superlu-dist/trunk/debian/runtests.sh
packages/superlu-dist/trunk/debian/series
packages/superlu-dist/trunk/debian/source/
packages/superlu-dist/trunk/debian/source/format
packages/superlu-dist/trunk/debian/watch
Propchange: packages/superlu-dist/trunk/debian/
------------------------------------------------------------------------------
mergeWithUpstream = 1
Added: packages/superlu-dist/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/README.Debian?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/README.Debian (added)
+++ packages/superlu-dist/trunk/debian/README.Debian Wed Sep 11 15:13:39 2013
@@ -0,0 +1,17 @@
+SuperLU for Debian
+------------------
+
+SuperLU might be useful in conjunction with some other packages like:
+petsc or arpack. Otherwise it is widely used in the scientific
+computing community.
+
+I wrote a little script so that you can run the SuperLU tests.
+Just type:
+
+sh /usr/share/doc/libsuperlu-dev/runtests.sh /tmp
+
+it will run all the tests in /tmp/tests. Check the .out files to see
+what happened in each tests.
+
+
+ -- Christophe Prud'homme <prudhomm at debian.org>, Fri, 7 Apr 2006 09:45:25 +0200
Added: packages/superlu-dist/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/README.source?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/README.source (added)
+++ packages/superlu-dist/trunk/debian/README.source Wed Sep 11 15:13:39 2013
@@ -0,0 +1,58 @@
+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.
+
+To configure quilt to use debian/patches instead of patches, you want
+either to export QUILT_PATCHES=debian/patches in your environment
+or use this snippet in your ~/.quiltrc:
+
+ for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
+ if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
+ export QUILT_PATCHES=debian/patches
+ break
+ fi
+ done
+
+To get the fully patched source after unpacking the source package, cd to
+the root level of the source package and run:
+
+ quilt push -a
+
+The last patch listed in debian/patches/series will become the current
+patch.
+
+To add a new set of changes, first run quilt push -a, and then run:
+
+ quilt new <patch>
+
+where <patch> is a descriptive name for the patch, used as the filename in
+debian/patches. Then, for every file that will be modified by this patch,
+run:
+
+ quilt add <file>
+
+before editing those files. You must tell quilt with quilt add what files
+will be part of the patch before making changes or quilt will not work
+properly. After editing the files, run:
+
+ quilt refresh
+
+to save the results as a patch.
+
+Alternately, if you already have an external patch and you just want to
+add it to the build system, run quilt push -a and then:
+
+ quilt import -P <patch> /path/to/patch
+ quilt push -a
+
+(add -p 0 to quilt import if needed). <patch> as above is the filename to
+use in debian/patches. The last quilt push -a will apply the patch to
+make sure it works properly.
+
+To remove an existing patch from the list of patches that will be applied,
+run:
+
+ quilt delete <patch>
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.
Added: packages/superlu-dist/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/changelog?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/changelog (added)
+++ packages/superlu-dist/trunk/debian/changelog Wed Sep 11 15:13:39 2013
@@ -0,0 +1,12 @@
+superlu-dist (3.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Christophe Trophime <christophe.trophime at lncmi.cnrs.fr> Tue, 15 Jan 2013 09:31:11 +0100
+
+superlu-dist (2.4-1) unstable; urgency=low
+
+ * Initial Release. (closes: #265217)
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> Thu, 21 Oct 2010 12:13:38 +0100
+
Added: packages/superlu-dist/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/compat?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/compat (added)
+++ packages/superlu-dist/trunk/debian/compat Wed Sep 11 15:13:39 2013
@@ -0,0 +1 @@
+9
Added: packages/superlu-dist/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/control?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/control (added)
+++ packages/superlu-dist/trunk/debian/control Wed Sep 11 15:13:39 2013
@@ -0,0 +1,86 @@
+Source: superlu-dist
+Priority: optional
+Section: devel
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>
+Build-Depends: cdbs, debhelper (>= 9), gcc (>= 4.6), gfortran (>= 4.6), quilt,
+ mpi-default-dev, mpi-default-bin,
+ libblas-dev, libscotchmetis-dev, libscotchparmetis-dev
+#Build-Conflicts: libatlas3gf-base, libatlas-base-dev
+Standards-Version: 3.9.3
+Homepage: http://crd.lbl.gov/~xiaoye/SuperLU/
+#Vcs-Svn: svn://svn.debian.org/svn/debian-science/superlu-dist/trunk/
+#Vcs-Browser: http://svn.debian.org/wsvn/debian-science/superlu-dist/trunk/
+
+Package: libsuperlu-dist
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: MPI version of SuperLU
+ SuperLU is a general purpose library for the direct solution of
+ large, sparse, nonsymmetric systems of linear equations on high
+ performance machines. The library is written in C and is callable from
+ either C or Fortran. The library routines will perform an LU
+ decomposition with partial pivoting and triangular system solves
+ through forward and back substitution. The LU factorization routines
+ can handle non-square matrices but the triangular solves are performed
+ only for square matrices. The matrix columns may be preordered (before
+ factorization) either through library or user supplied routines. This
+ preordering for sparsity is completely separate from the
+ factorization. Working precision iterative refinement subroutines are
+ provided for improved backward stability. Routines are also provided
+ to equilibrate the system, estimate the condition number, calculate
+ the relative backward error, and estimate error bounds for the refined
+ solutions.
+ .
+ Superlu-dist is MPI SuperLU version for distributed memory
+
+Package: libsuperlu-dist-dev
+Section: libdevel
+Architecture: any
+Depends: libsuperlu-dist (= ${binary:Version}), ${misc:Depends}, libblas-dev | libblas-3gf.so
+Description: MPI version of SuperLU
+ Development files for SuperLU.
+ .
+ SuperLU is a general purpose library for the direct solution of
+ large, sparse, nonsymmetric systems of linear equations on high
+ performance machines. The library is written in C and is callable from
+ either C or Fortran. The library routines will perform an LU
+ decomposition with partial pivoting and triangular system solves
+ through forward and back substitution. The LU factorization routines
+ can handle non-square matrices but the triangular solves are performed
+ only for square matrices. The matrix columns may be preordered (before
+ factorization) either through library or user supplied routines. This
+ preordering for sparsity is completely separate from the
+ factorization. Working precision iterative refinement subroutines are
+ provided for improved backward stability. Routines are also provided
+ to equilibrate the system, estimate the condition number, calculate
+ the relative backward error, and estimate error bounds for the refined
+ solutions.
+ .
+ Superlu-dist is MPI SuperLU version for distributed memory
+
+Package: libsuperlu-dist-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: libsuperlu-dist (= ${binary:Version}), ${misc:Depends}, libblas-dbg | libblas-3gf.so
+Description: MPI version of SuperLU
+ Debug files for SuperLU.
+ .
+ SuperLU is a general purpose library for the direct solution of
+ large, sparse, nonsymmetric systems of linear equations on high
+ performance machines. The library is written in C and is callable from
+ either C or Fortran. The library routines will perform an LU
+ decomposition with partial pivoting and triangular system solves
+ through forward and back substitution. The LU factorization routines
+ can handle non-square matrices but the triangular solves are performed
+ only for square matrices. The matrix columns may be preordered (before
+ factorization) either through library or user supplied routines. This
+ preordering for sparsity is completely separate from the
+ factorization. Working precision iterative refinement subroutines are
+ provided for improved backward stability. Routines are also provided
+ to equilibrate the system, estimate the condition number, calculate
+ the relative backward error, and estimate error bounds for the refined
+ solutions.
+
Added: packages/superlu-dist/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/copyright?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/copyright (added)
+++ packages/superlu-dist/trunk/debian/copyright Wed Sep 11 15:13:39 2013
@@ -0,0 +1,42 @@
+This package was debianized by Christophe Trophime <christophe.trophime at lncmi.cnrs.fr> on
+Thu, 21 Oct 2010 12:13:38 +0100
+
+It was downloaded from http://crd.lbl.gov/~xiaoye/SuperLU/superlu-dist_2.4.tar.gz
+
+Upstream Authors:
+Jim Demmel
+John Gilbert
+Xiaoye (Sherry) Li
+
+Copyright:
+
+Copyright (c) 2003, The Regents of the University of California, through
+Lawrence Berkeley National Laboratory (subject to receipt of any required
+approvals from U.S. Dept. of Energy)
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+(1) Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+(2) Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+(3) Neither the name of Lawrence Berkeley National Laboratory, U.S. Dept. of
+Energy nor the names of its contributors may be used to endorse or promote
+products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
Added: packages/superlu-dist/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/docs?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/docs (added)
+++ packages/superlu-dist/trunk/debian/docs Wed Sep 11 15:13:39 2013
@@ -0,0 +1 @@
+README
Added: packages/superlu-dist/trunk/debian/libsuperlu-dist-dev.install
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/libsuperlu-dist-dev.install?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/libsuperlu-dist-dev.install (added)
+++ packages/superlu-dist/trunk/debian/libsuperlu-dist-dev.install Wed Sep 11 15:13:39 2013
@@ -0,0 +1,8 @@
+SRC/libsuperlu-dist.so /usr/lib
+lib/libsuperlu-dist.a /usr/lib
+SRC/*.h /usr/include/superlu-dist
+README /usr/share/doc/libsuperlu-dist-dev
+EXAMPLE/* /usr/share/doc/libsuperlu-dist-dev/examples
+FORTRAN/* /usr/share/doc/libsuperlu-dist-dev/fortran
+make.inc /usr/share/doc/libsuperlu-dist-dev/
+debian/runtests.sh /usr/share/doc/libsuperlu-dist-dev/
Added: packages/superlu-dist/trunk/debian/libsuperlu-dist.install
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/libsuperlu-dist.install?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/libsuperlu-dist.install (added)
+++ packages/superlu-dist/trunk/debian/libsuperlu-dist.install Wed Sep 11 15:13:39 2013
@@ -0,0 +1,2 @@
+SRC/libsuperlu-dist.so.* /usr/lib
+README /usr/share/doc/libsuperlu-dist
Added: packages/superlu-dist/trunk/debian/patches/dreadrhs.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/patches/dreadrhs.patch?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/patches/dreadrhs.patch (added)
+++ packages/superlu-dist/trunk/debian/patches/dreadrhs.patch Wed Sep 11 15:13:39 2013
@@ -0,0 +1,189 @@
+Index: superlu-dist-3.2/SRC/dreadMM.c
+===================================================================
+--- superlu-dist-3.2.orig/SRC/dreadMM.c 2013-01-15 11:16:48.546261066 +0100
++++ superlu-dist-3.2/SRC/dreadMM.c 2013-01-15 11:22:35.590275452 +0100
+@@ -213,20 +213,3 @@
+ }
+
+
+-void dreadrhs(int m, double *b)
+-{
+- FILE *fp, *fopen();
+- int i, j;
+-
+- if ( !(fp = fopen("b.dat", "r")) ) {
+- fprintf(stderr, "dreadrhs: file does not exist\n");
+- exit(-1);
+- }
+- for (i = 0; i < m; ++i)
+- fscanf(fp, "%lf\n", &b[i]);
+- /*fscanf(fp, "%d%lf\n", &j, &b[i]);*/
+- /* readpair_(j, &b[i]);*/
+- fclose(fp);
+-}
+-
+-
+Index: superlu-dist-3.2/SRC/dreadrhs.c
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ superlu-dist-3.2/SRC/dreadrhs.c 2013-01-15 11:22:35.590275452 +0100
+@@ -0,0 +1,17 @@
++#include <stdio.h>
++
++void dreadrhs(int m, double *b)
++{
++ FILE *fp, *fopen();
++ int i, j;
++
++ if ( !(fp = fopen("b.dat", "r")) ) {
++ fprintf(stderr, "dreadrhs: file does not exist\n");
++ exit(-1);
++ }
++ for (i = 0; i < m; ++i)
++ fscanf(fp, "%lf\n", &b[i]);
++ /*fscanf(fp, "%d%lf\n", &j, &b[i]);*/
++ /* readpair_(j, &b[i]);*/
++ fclose(fp);
++}
+Index: superlu-dist-3.2/SRC/dreadtriple.c
+===================================================================
+--- superlu-dist-3.2.orig/SRC/dreadtriple.c 2013-01-15 11:16:48.546261066 +0100
++++ superlu-dist-3.2/SRC/dreadtriple.c 2013-01-15 11:22:35.594275453 +0100
+@@ -150,21 +150,5 @@
+ }
+
+
+-void dreadrhs(int m, double *b)
+-{
+- FILE *fp, *fopen();
+- int i, j;
+-
+- if ( !(fp = fopen("b.dat", "r")) ) {
+- fprintf(stderr, "dreadrhs: file does not exist\n");
+- exit(-1);
+- }
+- for (i = 0; i < m; ++i)
+- fscanf(fp, "%lf\n", &b[i]);
+- /*fscanf(fp, "%d%lf\n", &j, &b[i]);*/
+- /* readpair_(j, &b[i]);*/
+-
+- fclose(fp);
+-}
+
+
+Index: superlu-dist-3.2/SRC/Makefile
+===================================================================
+--- superlu-dist-3.2.orig/SRC/Makefile 2013-01-15 11:16:48.546261066 +0100
++++ superlu-dist-3.2/SRC/Makefile 2013-01-15 11:22:35.594275453 +0100
+@@ -52,7 +52,7 @@
+ pdgstrs1.o pdgssvx_ABglobal.o pdgsrfs_ABXglobal.o pdgsmv_AXglobal.o\
+ pdgssvx.o pdgstrs.o pddistribute.o pdlangs.o pdutil.o \
+ pdgsequ.o pdlaqgs.o pdgsrfs.o pdgsmv.o pdgstrs_lsum.o \
+- pdsymbfact_distdata.o dreadhb.o dreadrb.o dreadtriple.o dreadMM.o
++ pdsymbfact_distdata.o dreadhb.o dreadrb.o dreadtriple.o dreadMM.o dreadrhs.o
+
+ #
+ # Routines for double complex parallel SuperLU
+@@ -61,7 +61,7 @@
+ pzgstrs1.o pzgstrs_Bglobal.o pzgsrfs_ABXglobal.o pzgsmv_AXglobal.o \
+ pzgssvx.o pzgstrs.o pzdistribute.o pzlangs.o pzutil.o \
+ pzgsequ.o pzlaqgs.o pzgsrfs.o pzgsmv.o pzgstrs_lsum.o \
+- pzsymbfact_distdata.o zreadhb.o zreadtriple.o zreadMM.o
++ pzsymbfact_distdata.o zreadhb.o zreadtriple.o zreadMM.o zreadrhs.o
+
+ all: double complex16
+
+Index: superlu-dist-3.2/SRC/zreadrhs.c
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ superlu-dist-3.2/SRC/zreadrhs.c 2013-01-15 11:22:35.594275453 +0100
+@@ -0,0 +1,18 @@
++#include <stdio.h>
++#include "dcomplex.h"
++
++void zreadrhs(int m, doublecomplex *b)
++{
++ FILE *fp, *fopen();
++ int i, j;
++
++ if ( !(fp = fopen("b.dat", "r")) ) {
++ fprintf(stderr, "zreadrhs: file does not exist\n");
++ exit(-1);
++ }
++ for (i = 0; i < m; ++i)
++ fscanf(fp, "%lf\n", &b[i].r, &b[i].i);
++ fclose(fp);
++}
++
++
+Index: superlu-dist-3.2/SRC/zreadtriple.c
+===================================================================
+--- superlu-dist-3.2.orig/SRC/zreadtriple.c 2013-01-15 11:16:48.546261066 +0100
++++ superlu-dist-3.2/SRC/zreadtriple.c 2013-01-15 11:22:35.594275453 +0100
+@@ -149,19 +149,5 @@
+ }
+
+
+-void zreadrhs(int m, doublecomplex *b)
+-{
+- FILE *fp, *fopen();
+- int i, j;
+-
+- if ( !(fp = fopen("b.dat", "r")) ) {
+- fprintf(stderr, "zreadrhs: file does not exist\n");
+- exit(-1);
+- }
+- for (i = 0; i < m; ++i)
+- fscanf(fp, "%lf%lf\n", &(b[i].r), &(b[i].i));
+-
+- fclose(fp);
+-}
+
+
+Index: superlu-dist-3.2/SRC/zreadMM.c
+===================================================================
+--- superlu-dist-3.2.orig/SRC/zreadMM.c 2013-01-15 11:07:56.622239015 +0100
++++ superlu-dist-3.2/SRC/zreadMM.c 2013-01-15 11:24:00.598278986 +0100
+@@ -212,18 +212,4 @@
+ }
+
+
+-void zreadrhs(int m, doublecomplex *b)
+-{
+- FILE *fp, *fopen();
+- int i, j;
+-
+- if ( !(fp = fopen("b.dat", "r")) ) {
+- fprintf(stderr, "zreadrhs: file does not exist\n");
+- exit(-1);
+- }
+- for (i = 0; i < m; ++i)
+- fscanf(fp, "%lf\n", &b[i].r, &b[i].i);
+- fclose(fp);
+-}
+-
+
+Index: superlu-dist-3.2/EXAMPLE/zreadtriple.c
+===================================================================
+--- superlu-dist-3.2.orig/EXAMPLE/zreadtriple.c 2012-10-24 21:46:19.000000000 +0200
++++ superlu-dist-3.2/EXAMPLE/zreadtriple.c 2013-01-15 11:24:40.546280649 +0100
+@@ -149,19 +149,5 @@
+ }
+
+
+-void zreadrhs(int m, doublecomplex *b)
+-{
+- FILE *fp, *fopen();
+- int i, j;
+-
+- if ( !(fp = fopen("b.dat", "r")) ) {
+- fprintf(stderr, "zreadrhs: file does not exist\n");
+- exit(-1);
+- }
+- for (i = 0; i < m; ++i)
+- fscanf(fp, "%lf%lf\n", &(b[i].r), &(b[i].i));
+-
+- fclose(fp);
+-}
+
+
Added: packages/superlu-dist/trunk/debian/patches/examples.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/patches/examples.diff?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/patches/examples.diff (added)
+++ packages/superlu-dist/trunk/debian/patches/examples.diff Wed Sep 11 15:13:39 2013
@@ -0,0 +1,30 @@
+Index: superlu-dist-3.2/EXAMPLE/Makefile
+===================================================================
+--- superlu-dist-3.2.orig/EXAMPLE/Makefile 2012-10-24 21:46:18.000000000 +0200
++++ superlu-dist-3.2/EXAMPLE/Makefile 2013-01-15 09:51:13.698048185 +0100
+@@ -137,4 +137,8 @@
+ rm -f *.o p[dz]drive p[dz]drive[1-9] \
+ p[dz]drive_ABglobal p[dz]drive[1-9]_ABglobal
+
++runtest:
++ chmod ugo+x testing.bat
++ ./testing.bat
++
+
+Index: superlu-dist-3.2/EXAMPLE/test.bat
+===================================================================
+--- superlu-dist-3.2.orig/EXAMPLE/test.bat 2012-10-24 21:46:19.000000000 +0200
++++ superlu-dist-3.2/EXAMPLE/test.bat 2013-01-15 09:53:32.710053951 +0100
+@@ -9,8 +9,9 @@
+ #PBS -e test.err
+ #PBS -m e
+
+-cd $PBS_O_WORKDIR
+-echo $PBS_O_WORKDIR
++#cd $PBS_O_WORKDIR
++#echo $PBS_O_WORKDIR
+
+-aprun -n 8 -N 8 -S 2 ./pddrive -r 2 -c 4 big.rua
++#aprun -n 8 -N 8 -S 2 ./pddrive -r 2 -c 4 big.rua
+
++mpirun -np 8 ./pddrive -r 2 -c 4 big.rua
Added: packages/superlu-dist/trunk/debian/patches/make.inc.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/patches/make.inc.diff?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/patches/make.inc.diff (added)
+++ packages/superlu-dist/trunk/debian/patches/make.inc.diff Wed Sep 11 15:13:39 2013
@@ -0,0 +1,69 @@
+Index: superlu-dist-3.2/make.inc
+===================================================================
+--- superlu-dist-3.2.orig/make.inc 2012-10-24 21:46:19.000000000 +0200
++++ superlu-dist-3.2/make.inc 2013-01-15 10:18:14.386115381 +0100
+@@ -17,26 +17,26 @@
+ #
+ # The machine (platform) identifier to append to the library names
+ #
+-PLAT = _xe6
++PLAT =
+
+ #
+ # The name of the libraries to be created/linked to
+ #
+-DSuperLUroot = ${HOME}/Release_Codes/SuperLU_DIST-branch
+-DSUPERLULIB = $(DSuperLUroot)/lib/libsuperlu_dist_3.0.a
++#DSuperLUroot = ${HOME}/Release_Codes/SuperLU_DIST_3.2
++DSUPERLULIB = $(DSuperLUroot)/lib/libsuperlu-dist.a
+ #
+ BLASDEF = -DUSE_VENDOR_BLAS
+-BLASLIB =
++BLASLIB = -lblas
+ #
+ ## parmetis 4.x.x, 32-bit integer
+-METISLIB = -L${HOME}/Hopper/lib/parmetis-4.0.2/build/Linux-x86_64/libmetis -lmetis
+-PARMETISLIB = -L${HOME}/Hopper/lib/parmetis-4.0.2/build/Linux-x86_64/libparmetis -lparmetis
++METISLIB = -lmetis
++PARMETISLIB = -lptscotch -lparmetis
+ ## parmetis 4.x.x, 64-bit integer
+ # METISLIB = -L${HOME}/Hopper/lib/parmetis-4.0.2-64bit/build/Linux-x86_64/libmetis -lmetis
+ # PARMETISLIB = -L${HOME}/Hopper/lib/parmetis-4.0.2-64bit/build/Linux-x86_64/libparmetis -lparmetis
+
+ # Define the required Fortran libraries, if you use C compiler to link
+-FLIBS = -lpgf90 -lpgf90_rpm1
++FLIBS = -lgfortran
+
+ # Define all the libraries
+ LIBS = $(DSUPERLULIB) $(BLASLIB) $(PARMETISLIB) $(METISLIB) $(FLIBS)
+@@ -51,21 +51,24 @@
+
+ ############################################################################
+ # C compiler setup
+-CC = cc
++CC = mpicc
+ # CFLAGS should be set to be the C flags that include optimization
+-CFLAGS = -fast -Mipa=fast,safe \
+- -DDEBUGlevel=0 -DPRNTlevel=1 -DPROFlevel=0 \
++CFLAGS = -fPIC -pipe -O3 \
++ -DDEBUGlevel=0 -DPRNTlevel=1 -DPROFlevel=0
++ #
++#CFLAGS = -fPIC -fast -Mipa=fast,safe \
++# -DDEBUGlevel=0 -DPRNTlevel=1 -DPROFlevel=0 \
+ # -D_LONGINT
+ #
+ # NOOPTS should be set to be the C flags that turn off any optimization
+ NOOPTS = -O0
+ ############################################################################
+ # FORTRAN compiler setup
+-FORTRAN = ftn
+-F90FLAGS = -fast -Mipa=fast,safe
++FORTRAN = mpif77
++F90FLAGS = -fPIC -pipe -O3 #-Mipa=fast,safe
+ ############################################################################
+ LOADER = $(CC)
+-LOADOPTS = -fast
++LOADOPTS = -fPIC -pipe -O3
+ ############################################################################
+ # C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase)
+ #
Added: packages/superlu-dist/trunk/debian/patches/make.inc.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/patches/make.inc.patch?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/patches/make.inc.patch (added)
+++ packages/superlu-dist/trunk/debian/patches/make.inc.patch Wed Sep 11 15:13:39 2013
@@ -0,0 +1,157 @@
+Index: superlu-4.0/make.inc
+===================================================================
+--- superlu-4.0.orig/make.inc 2009-07-05 08:02:59.000000000 +0200
++++ superlu-4.0/make.inc 2009-12-17 13:45:19.000000000 +0100
+@@ -16,26 +16,14 @@
+ #
+ # The machine (platform) identifier to append to the library names
+ #
+-PLAT = _linux
++PLAT =
+
+ #
+ # The name of the libraries to be created/linked to
+ #
+-SuperLUroot = $(HOME)/Codes/SuperLU_4.0
+-SUPERLULIB = $(SuperLUroot)/lib/libsuperlu_4.0.a
+-TMGLIB = libtmglib.a
+-
+-## BLASLIB = $(SuperLUroot)/lib/libblas.a
+-
+-BLASDEF = -DUSE_VENDOR_BLAS
+-BLASLIB = -L$(HOME)/lib/GotoBLAS -lgoto
+-
+-## ATLAS BLAS causes single-precision to fail
+-#BLASLIB = -L/usr/lib/atlas -lblas
+-## This BLAS causes single-precision to fail the test in SuperLU
+-#BLASLIB = -L/usr/lib -lblas
+-
+-LIBS = $(SUPERLULIB) $(BLASLIB)
++TMGLIB = libtmglib$(PLAT).a
++SUPERLULIB = libsuperlu$(PLAT).a
++BLASLIB = -lblas-3gf
+
+ #
+ # The archiver and the flag(s) to use when building archive (library)
+@@ -46,19 +34,17 @@
+ RANLIB = ranlib
+
+ CC = gcc
+-CFLAGS = -DPRNTlevel=0 -O3 #-g
+-FORTRAN = g77
+-FFLAGS = -O2
+-LOADER = $(FORTRAN)
+-LOADOPTS =
++CFLAGS = -O3 -fPIC -pipe
++FORTRAN = gfortran
++FFLAGS = -O3 -fPIC -pipe
++LOADER = gcc
++LOADOPTS =
+
+ #
+-# C preprocessor defs for compilation for the Fortran interface
+-# (-DNoChange, -DAdd_, -DAdd__, or -DUpCase)
++# C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase)
+ #
+ CDEFS = -DAdd_
+ #
+ # The directory in which Matlab is installed
+ #
+-MATLAB = /usr/sww/matlab
+-
++MATLAB = /opt/matlab
+Index: superlu-4.0/SRC/Makefile
+===================================================================
+--- superlu-4.0.orig/SRC/Makefile 2009-05-03 00:18:51.000000000 +0200
++++ superlu-4.0/SRC/Makefile 2009-12-17 13:45:19.000000000 +0100
+@@ -115,24 +115,24 @@
+ all: single double complex complex16
+
+ single: $(SLUSRC) $(ALLAUX) $(LAAUX) $(SLASRC) $(SCLAUX)
+- $(ARCH) $(ARCHFLAGS) $(SUPERLULIB) \
++ $(ARCH) $(ARCHFLAGS) ../$(SUPERLULIB) \
+ $(SLUSRC) $(ALLAUX) $(LAAUX) $(SLASRC) $(SCLAUX)
+- $(RANLIB) $(SUPERLULIB)
++ $(RANLIB) ../$(SUPERLULIB)
+
+ double: $(DLUSRC) $(ALLAUX) $(LAAUX) $(DLASRC) $(DZLAUX)
+- $(ARCH) $(ARCHFLAGS) $(SUPERLULIB) \
++ $(ARCH) $(ARCHFLAGS) ../$(SUPERLULIB) \
+ $(DLUSRC) $(ALLAUX) $(LAAUX) $(DLASRC) $(DZLAUX)
+- $(RANLIB) $(SUPERLULIB)
++ $(RANLIB) ../$(SUPERLULIB)
+
+ complex: $(CLUSRC) $(ALLAUX) $(LAAUX) $(CLASRC) $(SCLAUX)
+- $(ARCH) $(ARCHFLAGS) $(SUPERLULIB) \
++ $(ARCH) $(ARCHFLAGS) ../$(SUPERLULIB) \
+ $(CLUSRC) $(ALLAUX) $(LAAUX) $(CLASRC) $(SCLAUX)
+- $(RANLIB) $(SUPERLULIB)
++ $(RANLIB) ../$(SUPERLULIB)
+
+ complex16: $(ZLUSRC) $(ALLAUX) $(LAAUX) $(ZLASRC) $(DZLAUX)
+- $(ARCH) $(ARCHFLAGS) $(SUPERLULIB) \
++ $(ARCH) $(ARCHFLAGS) ../$(SUPERLULIB) \
+ $(ZLUSRC) $(ALLAUX) $(LAAUX) $(ZLASRC) $(DZLAUX)
+- $(RANLIB) $(SUPERLULIB)
++ $(RANLIB) ../$(SUPERLULIB)
+
+
+ ##################################
+@@ -150,4 +150,4 @@
+ $(FORTRAN) $(FFLAGS) -c $<
+
+ clean:
+- rm -f *.o $(SUPERLULIB)
++ rm -f *.o ../$(SUPERLULIB)
+Index: superlu-4.0/TESTING/Makefile
+===================================================================
+--- superlu-4.0.orig/TESTING/Makefile 2009-12-17 13:46:37.000000000 +0100
++++ superlu-4.0/TESTING/Makefile 2009-12-17 13:47:04.000000000 +0100
+@@ -52,9 +52,9 @@
+
+ single: ./stest stest.out
+
+-./stest: $(SLINTST) $(ALINTST) $(SUPERLULIB) $(TMGLIB)
++./stest: $(SLINTST) $(ALINTST) ../$(SUPERLULIB) $(TMGLIB)
+ $(LOADER) $(LOADOPTS) $(SLINTST) $(ALINTST) \
+- $(TMGLIB) $(SUPERLULIB) $(BLASLIB) -lm -o $@
++ $(TMGLIB) ../$(SUPERLULIB) $(BLASLIB) -lm -o $@
+
+ stest.out: stest stest.csh
+ @echo Testing SINGLE PRECISION linear equation routines
+@@ -62,9 +62,9 @@
+
+ double: ./dtest dtest.out
+
+-./dtest: $(DLINTST) $(ALINTST) $(SUPERLULIB) $(TMGLIB)
++./dtest: $(DLINTST) $(ALINTST) ../$(SUPERLULIB) $(TMGLIB)
+ $(LOADER) $(LOADOPTS) $(DLINTST) $(ALINTST) \
+- $(TMGLIB) $(SUPERLULIB) $(BLASLIB) -lm -o $@
++ $(TMGLIB) ../$(SUPERLULIB) $(BLASLIB) -lm -o $@
+
+ dtest.out: dtest dtest.csh
+ @echo Testing DOUBLE PRECISION linear equation routines
+@@ -72,9 +72,9 @@
+
+ complex: ./ctest ctest.out
+
+-./ctest: $(CLINTST) $(ALINTST) $(SUPERLULIB) $(TMGLIB)
++./ctest: $(CLINTST) $(ALINTST) ../$(SUPERLULIB) $(TMGLIB)
+ $(LOADER) $(LOADOPTS) $(CLINTST) $(ALINTST) \
+- $(TMGLIB) $(SUPERLULIB) $(BLASLIB) -lm -o $@
++ $(TMGLIB) ../$(SUPERLULIB) $(BLASLIB) -lm -o $@
+
+ ctest.out: ctest ctest.csh
+ @echo Testing SINGLE COMPLEX linear equation routines
+@@ -82,9 +82,9 @@
+
+ complex16: ./ztest ztest.out
+
+-./ztest: $(ZLINTST) $(ALINTST) $(SUPERLULIB) $(TMGLIB)
++./ztest: $(ZLINTST) $(ALINTST) ../$(SUPERLULIB) $(TMGLIB)
+ $(LOADER) $(LOADOPTS) $(ZLINTST) $(ALINTST) \
+- $(TMGLIB) $(SUPERLULIB) $(BLASLIB) -lm -o $@
++ $(TMGLIB) ../$(SUPERLULIB) $(BLASLIB) -lm -o $@
+
+ ztest.out: ztest ztest.csh
+ @echo Testing DOUBLE COMPLEX linear equation routines
Added: packages/superlu-dist/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/patches/series?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/patches/series (added)
+++ packages/superlu-dist/trunk/debian/patches/series Wed Sep 11 15:13:39 2013
@@ -0,0 +1,4 @@
+make.inc.diff
+#make.inc.patch
+examples.diff
+dreadrhs.patch
Added: packages/superlu-dist/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/rules?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/rules (added)
+++ packages/superlu-dist/trunk/debian/rules Wed Sep 11 15:13:39 2013
@@ -0,0 +1,56 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+# shared library versions, option 1
+version=3.2
+major=3
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+# example when changing environment variables is necessary:
+DEB_MAKE_ENVVARS := DSuperLUroot=$(CURDIR)
+# no check for this software
+#DEB_MAKE_CHECK_TARGET := runtest
+
+CFLAGS=-O3 -fPIC -pipe
+FFLAGS=-O3 -fPIC -pipe
+NOOPTS=-fPIC
+DEBUGFLAGS=-DNDEBUG
+
+# Force DSuperLUroot to $(CURDIR)
+export DSuperLUroot=$(CURDIR)
+
+build/libsuperlu-dist::
+ cd SRC ; \
+ $(MAKE) clean ; \
+ $(MAKE) NOOPTS=-fPIC DEBUGFLAGS=-DNDEBUG; \
+ ls *.o ; \
+ mpicc -shared -Wl,-soname,libsuperlu-dist.so.$(major) -o libsuperlu-dist.so.$(version) `ls *.o` -lblas -lptscotch -lmetis -lparmetis -lgfortran -lm
+ ( cd SRC && ln -sf libsuperlu-dist.so.$(version) libsuperlu-dist.so.$(major) )
+ ( cd SRC && ln -sf libsuperlu-dist.so.$(version) libsuperlu-dist.so )
+
+build/libsuperlu-dist-dev::
+ $(MAKE) -C EXAMPLE clean NOOPTS=-fPIC DEBUGFLAGS=-DNDEBUG; \
+ $(MAKE) -C FORTRAN clean NOOPTS=-fPIC DEBUGFLAGS=-DNDEBUG;
+
+clean::
+ -rm -rf SRC/*.so*
+ [ ! -f Makefile ] || $(MAKE) clean
+
+DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n -e 's/\.*$$//p')
+SUPERLU_VERSION=$(DEB_STRIPPED_UPSTREAM_VERSION)
+
+get-orig-source:
+ uscan --force-download --rename --verbose --upstream-version $(SUPERLU_VERSION)
Propchange: packages/superlu-dist/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: packages/superlu-dist/trunk/debian/runtests.sh
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/runtests.sh?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/runtests.sh (added)
+++ packages/superlu-dist/trunk/debian/runtests.sh Wed Sep 11 15:13:39 2013
@@ -0,0 +1,16 @@
+#! /bin/sh
+# set -x
+if test ! -z $1; then
+ test -d $1 && cp -r /usr/share/doc/libsuperlu-dist-dev/tests $1
+ cp -r /usr/share/doc/libsuperlu-dist-dev/examples $1/EXAMPLE
+ gunzip $1/EXAMPLE/g10.gz
+ cp /usr/share/doc/libsuperlu-dist-dev/make.inc $1
+ cd $1/tests/MATGEN
+ make CFLAGS="-I/usr/include/superlu-dist"
+ cd $1/tests/
+ make CFLAGS="-I/usr/include/superlu-dist"
+ cd $1/EXAMPLE/
+ make CFLAGS="-I/usr/include/superlu-dist"
+else
+ echo "usage: $0 <test directory>"
+fi
Added: packages/superlu-dist/trunk/debian/series
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/series?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/series (added)
+++ packages/superlu-dist/trunk/debian/series Wed Sep 11 15:13:39 2013
@@ -0,0 +1 @@
+make.inc.patch
Added: packages/superlu-dist/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/source/format?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/source/format (added)
+++ packages/superlu-dist/trunk/debian/source/format Wed Sep 11 15:13:39 2013
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/superlu-dist/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu-dist/trunk/debian/watch?rev=46272&op=file
==============================================================================
--- packages/superlu-dist/trunk/debian/watch (added)
+++ packages/superlu-dist/trunk/debian/watch Wed Sep 11 15:13:39 2013
@@ -0,0 +1,2 @@
+version=3
+http://crd.lbl.gov/~xiaoye/SuperLU/superlu_dist_([\d.]+)\.tar\.gz
More information about the debian-science-commits
mailing list