[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50080] [PATCH v3 3/4] gnu: sundials-openmpi: Add HYPRE dependency.
From: |
Paul A. Patience |
Subject: |
[bug#50080] [PATCH v3 3/4] gnu: sundials-openmpi: Add HYPRE dependency. |
Date: |
Mon, 02 May 2022 13:28:46 +0000 |
* gnu/packages/maths.scm (sundials-openmpi)[propagated-inputs]: Add
hypre-openmpi.
[arguments]<#:configure-flags>: Add -DENABLE_HYPRE, -DHYPRE_INCLUDE_DIR
and -DHYPRE_LIBRARY_DIR.
---
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 @@ (define-public sundials-openmpi
(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"))
--
2.36.0
- [bug#50080] [PATCH v3 0/4] gnu: sundials: Fix various issues and update to 6.2.0., Paul A. Patience, 2022/05/02
- [bug#50080] [PATCH v3 1/4] gnu: petsc-openmpi: Fix header inclusions., Paul A. Patience, 2022/05/02
- [bug#50080] [PATCH v3 3/4] gnu: sundials-openmpi: Add HYPRE dependency.,
Paul A. Patience <=
- [bug#50080] [PATCH v3 2/4] gnu: sundials: Fix various issues., Paul A. Patience, 2022/05/02
- [bug#50080] [PATCH v3 4/4] gnu: sundials: Update to 6.2.0., Paul A. Patience, 2022/05/02
- bug#50080: [PATCH] gnu: sundials, dealii: Update sundials to 5.7.0 and add to dealii inputs., Ludovic Courtès, 2022/05/03