You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/h5part/files/h5part-1.6.6-mpio.patch

27 lines
948 B

https://github.com/quinoacomputing/H5Part/commit/b8b106c368c3400b4df3d38e97ae2943d37d3c7d.patch
From b8b106c368c3400b4df3d38e97ae2943d37d3c7d Mon Sep 17 00:00:00 2001
From: Jozsef Bakosi <jbakosi@lanl.gov>
Date: Thu, 28 Jul 2016 08:37:24 -0600
Subject: [PATCH] Replace H5Pset_fapl_mpiposix with H5Pset_fapl_mpio
Based on the advice at
http://www.unidata.ucar.edu/mailing_lists/archives/netcdfgroup/2014/msg00188.html.
---
src/H5Part.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/H5Part.c b/src/H5Part.c
index 433a574..8a1b893 100644
--- a/src/H5Part.c
+++ b/src/H5Part.c
@@ -246,7 +246,7 @@ _H5Part_open_file (
/* select the HDF5 VFD */
if (flags & H5PART_VFD_MPIPOSIX) {
_H5Part_print_info ( "Selecting MPI-POSIX VFD" );
- if (H5Pset_fapl_mpiposix ( f->access_prop, comm, 0 ) < 0) {
+ if (H5Pset_fapl_mpio ( f->access_prop, comm, 0 ) < 0) {
HANDLE_H5P_SET_FAPL_ERR;
goto error_cleanup;
}