2018-08-02 17:32:31 +00:00
|
|
|
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
|
|
|
|
|
2020-12-05 10:12:49 +00:00
|
|
|
Reported-by: Antonio Trande <sagitter@fedoraproject.org>
|
2018-08-02 17:32:31 +00:00
|
|
|
---
|
|
|
|
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
|
2020-12-05 10:12:49 +00:00
|
|
|
@@ -5,7 +5,7 @@
|
2018-08-02 17:32:31 +00:00
|
|
|
def __init__(self, framework):
|
|
|
|
config.package.GNUPackage.__init__(self, framework)
|
2020-12-05 10:12:49 +00:00
|
|
|
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
|
2018-08-02 17:32:31 +00:00
|
|
|
+++ b/src/mat/impls/hypre/mhypre.c
|
2020-12-05 10:12:49 +00:00
|
|
|
@@ -2131,6 +2131,6 @@
|
2018-08-02 17:32:31 +00:00
|
|
|
static PetscErrorCode hypre_array_destroy(void *ptr)
|
|
|
|
{
|
|
|
|
PetscFunctionBegin;
|
2020-12-05 10:12:49 +00:00
|
|
|
- hypre_TFree(ptr,HYPRE_MEMORY_HOST);
|
|
|
|
+ hypre_TFree(ptr);
|
2018-08-02 17:32:31 +00:00
|
|
|
PetscFunctionReturn(0);
|
|
|
|
}
|