guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/04: gnu: petsc-complex-mpi: Setup MPI for tests.


From: guix-commits
Subject: 01/04: gnu: petsc-complex-mpi: Setup MPI for tests.
Date: Fri, 31 May 2019 20:45:24 -0400 (EDT)

bavier pushed a commit to branch master
in repository guix.

commit e586c6faf3838daeadfe9aa97ae4d428f0613d67
Author: Eric Bavier <address@hidden>
Date:   Thu May 30 23:27:46 2019 -0500

    gnu: petsc-complex-mpi: Setup MPI for tests.
    
    * gnu/packages/maths.scm (petsc-complex-mpi)[arguments]: Add 'mpi-setup
    phase.
---
 gnu/packages/maths.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index f88f48b..cd6f578 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1845,7 +1845,11 @@ scientific applications modeled by partial differential 
equations.")
         ``("--with-mpiexec=mpirun"
            ,(string-append "--with-mpi-dir="
                            (assoc-ref %build-inputs "openmpi"))
-           ,@(delete "--with-mpi=0" ,cf)))))
+           ,@(delete "--with-mpi=0" ,cf)))
+       ((#:phases phases)
+        `(modify-phases ,phases
+           (add-before 'configure 'mpi-setup
+             ,%openmpi-setup)))))
     (synopsis "Library to solve PDEs (with complex scalars and MPI support)")))
 
 (define-public python-petsc4py



reply via email to

[Prev in Thread] Current Thread [Next in Thread]