[pysparse] 03/06: Add patch fixing FTBFS with SuperLU v5.x.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri Sep 23 13:52:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository pysparse.

commit d5db50da165bdbcea8327a8cdfdfab036b3a8c66
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri Sep 23 14:39:58 2016 +0100

    Add patch fixing FTBFS with SuperLU v5.x.
    
    Gbp-Dch: Short
    Closes: #836677
    Thanks: Drew Parsons for reporting
---
 debian/patches/series            |  1 +
 debian/patches/superlu-5.x.patch | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index ce73121..24178b6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 use-debian-libs.patch
 suitesparse-4.1.patch
+superlu-5.x.patch
diff --git a/debian/patches/superlu-5.x.patch b/debian/patches/superlu-5.x.patch
new file mode 100644
index 0000000..96600cf
--- /dev/null
+++ b/debian/patches/superlu-5.x.patch
@@ -0,0 +1,32 @@
+From: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Date: Fri, 23 Sep 2016 12:26:08 +0100
+Subject: superlu 5.x
+
+---
+ Src/superlu3module.c | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/Src/superlu3module.c b/Src/superlu3module.c
+index 810191b..cb96ae9 100644
+--- a/Src/superlu3module.c
++++ b/Src/superlu3module.c
+@@ -193,6 +193,7 @@ static PyObject *newSuperLUObject(int n, CSRMatObject *matrix, PyObject *issym,
+   SuperLUObject *self;
+   SuperMatrix A;      /* A in NC format used by the factorization routine. */
+   SuperMatrix AC;     /* Matrix postmultiplied by Pc */
++  GlobalLU_t Glu;
+   mem_usage_t mem_usage;
+   int *etree;
+   int info = 0;
+@@ -267,9 +268,9 @@ static PyObject *newSuperLUObject(int n, CSRMatObject *matrix, PyObject *issym,
+   //printf("Factorizing with drop_tol = %g\n", drop_tol);
+   /* Perform factorization (perm_c and perm_r are swapped because our matrix
+    * is stored in compressed-row format and not in compressed-column format! */
+-  dgstrf(&self->options, &AC, drop_tol, relax, panel_size,
++  dgstrf(&self->options, &AC, relax, panel_size,
+          etree, NULL, 0, self->perm_c, self->perm_r,
+-         &self->L, &self->U, &self->stat, &info);
++         &self->L, &self->U, &Glu, &self->stat, &info);
+ 
+   //dPrint_SuperNode_Matrix("L", &self->L);
+   //dPrint_CompCol_Matrix("U", &self->U);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pysparse.git



More information about the debian-science-commits mailing list