summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2018-11-27 19:08:54 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2018-11-27 19:08:54 (GMT)
commit3db8d69424fce2abb1a3bd7b4662700d58c2fec0 (patch)
treee03a64d73ec6cd4b2cfc2d801e22056e839d00a2 /src/H5.c
parentb087f675e2fb7ffc10c15e49a71ab36fa108dbe8 (diff)
parent8cf3bfb14bd2a80f13d269a9e84cd99f86f19254 (diff)
downloadhdf5-3db8d69424fce2abb1a3bd7b4662700d58c2fec0.zip
hdf5-3db8d69424fce2abb1a3bd7b4662700d58c2fec0.tar.gz
hdf5-3db8d69424fce2abb1a3bd7b4662700d58c2fec0.tar.bz2
Merge pull request #1343 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:openmpi_tweaks to develop
* commit '8cf3bfb14bd2a80f13d269a9e84cd99f86f19254': Yanked all MPI-1 calls Updated H5S to use the MPI-2 function MPI_Type_get_exten() where available. OpenMPI 4.0 removed the deprecated MPI-1 MPI_type_extent() call by default, so this avoids needing a special OpenMPI build.
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5.c b/src/H5.c
index d1967e6..bf4643c 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -138,7 +138,7 @@ H5_init_library(void)
if (mpi_initialized && !mpi_finalized) {
int key_val;
- if(MPI_SUCCESS != (mpi_code = MPI_Comm_create_keyval(MPI_NULL_COPY_FN,
+ if(MPI_SUCCESS != (mpi_code = MPI_Comm_create_keyval(MPI_COMM_NULL_COPY_FN,
(MPI_Comm_delete_attr_function *)H5_mpi_delete_cb,
&key_val, NULL)))
HMPI_GOTO_ERROR(FAIL, "MPI_Comm_create_keyval failed", mpi_code)