gnu: petsc-openmpi: Configure with support for HYPRE preconditioner.
authorPaul Garlick <pgarlick@tourbillion-technology.com>
Wed, 28 Nov 2018 19:48:19 +0000 (19:48 +0000)
committerLudovic Courtès <ludo@gnu.org>
Tue, 4 Dec 2018 09:58:50 +0000 (10:58 +0100)
* gnu/packages/maths.scm (petsc-openmpi)[inputs]: Add hypre-openmpi.
[arguments]: Add 'with-hypre=1' flag.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages/maths.scm

index f1b5bb0..f88cede 100644 (file)
@@ -1767,6 +1767,7 @@ scientific applications modeled by partial differential equations.")
     (name "petsc-openmpi")
     (inputs
      `(("hdf5" ,hdf5-parallel-openmpi)
+       ("hypre" ,hypre-openmpi)
        ("metis" ,metis)
        ("mumps" ,mumps-openmpi)
        ("openmpi" ,openmpi)
@@ -1776,7 +1777,8 @@ scientific applications modeled by partial differential equations.")
     (arguments
      (substitute-keyword-arguments (package-arguments petsc)
        ((#:configure-flags cf)
-        ``("--with-mpiexec=mpirun"
+        ``("--with-hypre=1"
+           "--with-mpiexec=mpirun"
            "--with-metis=1"
            "--with-mumps=1"
            "--with-scalapack=1"