guix-commits
[Top][All Lists]
Advanced

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

04/04: gnu: dealii-openmpi: Setup MPI for tests.


From: guix-commits
Subject: 04/04: gnu: dealii-openmpi: Setup MPI for tests.
Date: Fri, 25 Jan 2019 14:10:12 -0500 (EST)

bavier pushed a commit to branch master
in repository guix.

commit 7e309e8a8d7882516b1d7f4815daf52f296bd46f
Author: Eric Bavier <address@hidden>
Date:   Fri Jan 25 11:05:14 2019 -0600

    gnu: dealii-openmpi: Setup MPI for tests.
    
    * gnu/packages/maths.scm (dealii-openmpi)[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 e2f3d84..66d6063 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3494,7 +3494,11 @@ in finite element programs.")
         ``("-DMPI_C_COMPILER=mpicc"
            "-DMPI_CXX_COMPILER=mpicxx"
            "-DMPI_Fortran_COMPILER=mpifort"
-           ,@,cf))))
+           ,@,cf))
+       ((#:phases phases '%standard-phases)
+        `(modify-phases ,phases
+           (add-before 'check 'mpi-setup
+             ,%openmpi-setup)))))
     (synopsis "Finite element library (with MPI support)")))
 
 (define-public flann



reply via email to

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