petsc/petsc-3.14-hypre_2.11.2_reverting.patch

35 lines
1.2 KiB
Diff
Raw Normal View History

From e6de09342ce9c4562cc062ff2c1bac4bd956bda0 Mon Sep 17 00:00:00 2001
From: Satish Balay <balay@mcs.anl.gov>
Date: Fri, 30 Mar 2018 09:53:12 -0500
Subject: [PATCH] hypre: update to version 2.14.0
Reported-by: Antonio Trande <sagitter@fedoraproject.org>
---
config/BuildSystem/config/packages/hypre.py | 2 +-
src/mat/impls/hypre/mhypre.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/config/BuildSystem/config/packages/hypre.py b/config/BuildSystem/config/packages/hypre.py
index 1249b39..620e516 100644
--- a/config/BuildSystem/config/packages/hypre.py
+++ b/config/BuildSystem/config/packages/hypre.py
@@ -5,7 +5,7 @@
def __init__(self, framework):
config.package.GNUPackage.__init__(self, framework)
self.version = '2.19.0'
- self.minversion = '2.14'
+ self.minversion = '2.11.2'
self.versionname = 'HYPRE_RELEASE_VERSION'
self.versioninclude = 'HYPRE_config.h'
self.requiresversion = 1
--- a/src/mat/impls/hypre/mhypre.c
+++ b/src/mat/impls/hypre/mhypre.c
@@ -2131,6 +2131,6 @@
static PetscErrorCode hypre_array_destroy(void *ptr)
{
PetscFunctionBegin;
- hypre_TFree(ptr,HYPRE_MEMORY_HOST);
+ hypre_TFree(ptr);
PetscFunctionReturn(0);
}