guix-commits
[Top][All Lists]
Advanced

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

07/08: gnu: netcdf-parallel-openmpi: Allow MPI tests to pass.


From: guix-commits
Subject: 07/08: gnu: netcdf-parallel-openmpi: Allow MPI tests to pass.
Date: Tue, 25 Aug 2020 18:52:55 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 51c55cedda6c69ba68da6be88176b847effa6479
Author: Ludovic Courtès <ludovic.courtes@inria.fr>
AuthorDate: Wed Aug 26 00:46:42 2020 +0200

    gnu: netcdf-parallel-openmpi: Allow MPI tests to pass.
    
    * gnu/packages/maths.scm (netcdf-parallel-openmpi)[arguments]: Add
    'mip-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 20582c3..d83ea67 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1607,7 +1607,11 @@ sharing of scientific data.")
                 "--enable-parallel-tests"
                 ;; Shared libraries not supported with parallel IO.
                 "--disable-shared" "--with-pic"
-                ,flags))))))
+                ,flags))
+       ((#:phases phases '%standard-phases)
+        `(modify-phases ,phases
+           (add-after 'build 'mpi-setup
+             ,%openmpi-setup)))))))
 
 (define-public netcdf-fortran
   (package



reply via email to

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