[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: gnu: sundials-openmpi: Add HYPRE dependency.
From: |
guix-commits |
Subject: |
04/10: gnu: sundials-openmpi: Add HYPRE dependency. |
Date: |
Tue, 3 May 2022 12:03:32 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 4c509a73b7aaf1416749f027c2e86a54347ad2b1
Author: Paul A. Patience <paul@apatience.com>
AuthorDate: Mon May 2 13:28:46 2022 +0000
gnu: sundials-openmpi: Add HYPRE dependency.
* gnu/packages/maths.scm (sundials-openmpi)[propagated-inputs]: Add
hypre-openmpi.
[arguments]<#:configure-flags>: Add -DENABLE_HYPRE, -DHYPRE_INCLUDE_DIR
and -DHYPRE_LIBRARY_DIR.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/maths.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 5d4778da83..03c465dfff 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6175,12 +6175,19 @@ easily be incorporated into existing simulation codes.")
(propagated-inputs
(list openmpi
;; Support for the below requires MPI.
- ;; TODO: Add HYPRE.
+ hypre-openmpi
petsc-openmpi))
(arguments
(substitute-keyword-arguments (package-arguments sundials)
((#:configure-flags flags '())
`(cons* "-DENABLE_MPI:BOOL=ON"
+ "-DENABLE_HYPRE:BOOL=ON"
+ (string-append "-DHYPRE_INCLUDE_DIR="
+ (assoc-ref %build-inputs "hypre-openmpi")
+ "/include")
+ (string-append "-DHYPRE_LIBRARY_DIR="
+ (assoc-ref %build-inputs "hypre-openmpi")
+ "/lib")
"-DENABLE_PETSC:BOOL=ON"
(string-append "-DPETSC_DIR="
(assoc-ref %build-inputs "petsc-openmpi"))
- branch master updated (654f878f0b -> 8b2d266607), guix-commits, 2022/05/03
- 02/10: gnu: petsc-openmpi: Fix header inclusions., guix-commits, 2022/05/03
- 03/10: gnu: sundials: Fix various issues., guix-commits, 2022/05/03
- 08/10: gnu: dealii-openmpi: Remove input labels., guix-commits, 2022/05/03
- 05/10: gnu: sundials: Update to 6.2.0., guix-commits, 2022/05/03
- 06/10: gnu: sundials: Add 5.8.0., guix-commits, 2022/05/03
- 04/10: gnu: sundials-openmpi: Add HYPRE dependency.,
guix-commits <=
- 09/10: gnu: dealii: Add SUNDIALS dependency., guix-commits, 2022/05/03
- 07/10: gnu: dealii: Remove trailing booleans., guix-commits, 2022/05/03
- 10/10: gnu: dealii: Update to 9.3.3., guix-commits, 2022/05/03
- 01/10: services: pipefs: Correctly handle lack of extensions., guix-commits, 2022/05/03