[aster] 02/03: Change to PETSC_DEFAULT_REAL

Graham Inggs ginggs at moszumanska.debian.org
Thu Jan 28 15:25:04 UTC 2016


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

ginggs pushed a commit to branch master
in repository aster.

commit 97509931781da18b4347f31d1cc937ce68e7848c
Author: Graham Inggs <ginggs at debian.org>
Date:   Thu Jan 28 13:47:47 2016 +0200

    Change to PETSC_DEFAULT_REAL
---
 debian/changelog                                       |  1 +
 debian/patches/0012-Change-to-PETSC_DEFAULT_REAL.patch | 18 ++++++++++++++++++
 debian/patches/series                                  |  1 +
 3 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5f19941..2a6d1e8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ aster (11.5.0+dfsg2-4) UNRELEASED; urgency=low
   [ Graham Inggs ]
   * Fix build with PETSc >= 3.6 (Closes: #805193):
     - Append PETSc include path to C/F/FCFLAGS.
+    - Change to PETSC_DEFAULT_REAL, thanks Peter Michael Green.
 
  -- Graham Inggs <ginggs at debian.org>  Thu, 28 Jan 2016 13:34:13 +0200
 
diff --git a/debian/patches/0012-Change-to-PETSC_DEFAULT_REAL.patch b/debian/patches/0012-Change-to-PETSC_DEFAULT_REAL.patch
new file mode 100644
index 0000000..d20b192
--- /dev/null
+++ b/debian/patches/0012-Change-to-PETSC_DEFAULT_REAL.patch
@@ -0,0 +1,18 @@
+Description:  Change PETSC_DEFAULT_DOUBLE_PRECISION to PETSC_DEFAULT_REAL
+ as hinted at by http://lists.mcs.anl.gov/pipermail/petsc-users/2014-February/020567.html
+Author: Peter Michael Green <plugwash at raspbian.org>
+Bug-Debian: https://bugs.debian.org/805193
+Last-Update: 2015-12-11
+--- a/bibfor/petsc/apksp.F90
++++ b/bibfor/petsc/apksp.F90
+@@ -103,8 +103,8 @@
+     endif
+ !
+     rtol = resire
+-    atol = PETSC_DEFAULT_DOUBLE_PRECISION
+-    dtol = PETSC_DEFAULT_DOUBLE_PRECISION
++    atol = PETSC_DEFAULT_REAL
++    dtol = PETSC_DEFAULT_REAL
+ !
+     call KSPSetTolerances(ksp, rtol, atol, dtol, maxits,&
+                           ierr)
diff --git a/debian/patches/series b/debian/patches/series
index 78c2dfa..d917c31 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
 0009-Fix-NumPy-version-comparison.patch
 0010-Check-that-DEST_CPU-exists-before-reading-it.patch
 0011-Change-METIS-into-MD-as-a-default-value-for-the-RENU.patch
+0012-Change-to-PETSC_DEFAULT_REAL.patch

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



More information about the debian-science-commits mailing list