Message ID | 20220428171109.217461-4-paul@apatience.com |
---|---|
State | Accepted |
Headers | show |
Series | gnu: sundials: Fix various issues and update to 6.2.0. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index f44cd49354..546c77d750 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -6167,12 +6167,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"))