aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Cirrottola <luca.cirrottola@inria.fr>2024-08-19 11:33:08 +0200
committerLudovic Courtès <ludo@gnu.org>2024-08-19 12:02:05 +0200
commit84c62cf1665ef566353102a582335846c7667650 (patch)
treee7fdd6e7455f21c12763f496ab42363cbdcff5f5
parent832f2bcb926cb4371e65276d09c8d60ab7d6d0a1 (diff)
downloadguix-84c62cf1665ef566353102a582335846c7667650.tar.gz
guix-84c62cf1665ef566353102a582335846c7667650.zip
gnu: hdf5-parallel-openmpi: Update to 1.14.x.
Fixes <https://issues.guix.gnu.org/68313>. HDF5 1.14.3 contains the fix for <https://github.com/HDFGroup/hdf5/pull/3421>. * gnu/packages/maths.scm (hdf5-parallel-openmpi): Inherit from HDF5-1.14. [arguments]: Take arguments from HDF5-1.14. Use gexps. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I99222a1085dcd75c3c9ac83a0e88495e86a8cf59
-rw-r--r--gnu/packages/maths.scm43
1 files changed, 21 insertions, 22 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index f0f97619f2..0a9f2ab7fb 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2080,35 +2080,34 @@ Swath).")
(license (license:non-copyleft home-page))))
(define-public hdf5-parallel-openmpi
- (package/inherit hdf5-1.10 ;use the latest
+ (package/inherit hdf5-1.14 ;use the latest
(name "hdf5-parallel-openmpi")
(inputs
`(("mpi" ,openmpi)
,@(package-inputs hdf5)))
(arguments
- (substitute-keyword-arguments (package-arguments hdf5)
+ (substitute-keyword-arguments (package-arguments hdf5-1.14)
((#:configure-flags flags)
- ``("--enable-parallel"
- ,@(delete "--enable-cxx"
- (delete "--enable-threadsafe" ,flags))))
+ #~(cons "--enable-parallel"
+ (delete "--enable-cxx"
+ (delete "--enable-threadsafe" #$flags))))
((#:phases phases)
- `(modify-phases ,phases
- (add-after 'build 'mpi-setup
- ,%openmpi-setup)
- (add-before 'check 'patch-tests
- (lambda _
- ;; OpenMPI's mpirun will exit with non-zero status if it
- ;; detects an "abnormal termination", i.e. any process not
- ;; calling MPI_Finalize(). Since the test is explicitly
- ;; avoiding MPI_Finalize so as not to have at_exit and thus
- ;; H5C_flush_cache from being called, mpirun will always
- ;; complain, so turn this test off.
- (substitute* "testpar/Makefile"
- (("(^TEST_PROG_PARA.*)t_pflush1(.*)" front back)
- (string-append front back "\n")))
- (substitute* "tools/test/h5diff/testph5diff.sh"
- (("/bin/sh") (which "sh")))
- #t))))))
+ #~(modify-phases #$phases
+ (add-after 'build 'mpi-setup
+ #$%openmpi-setup)
+ (add-before 'check 'patch-tests
+ (lambda _
+ ;; OpenMPI's mpirun will exit with non-zero status if it
+ ;; detects an "abnormal termination", i.e. any process not
+ ;; calling MPI_Finalize(). Since the test is explicitly
+ ;; avoiding MPI_Finalize so as not to have at_exit and thus
+ ;; H5C_flush_cache from being called, mpirun will always
+ ;; complain, so turn this test off.
+ (substitute* "testpar/Makefile"
+ (("(^TEST_PROG_PARA.*)t_pflush1(.*)" front back)
+ (string-append front back "\n")))
+ (substitute* "tools/test/h5diff/testph5diff.sh"
+ (("/bin/sh") (which "sh")))))))))
(synopsis "Management suite for data with parallel IO support")))
(define-public hdf5-blosc