Commit 1c8a5dd0 authored by gsell's avatar gsell

MPIPOSIX removed, this has been removed in hdf5 1.8.13, so we cannot use it any more

parent 64f85524
......@@ -925,6 +925,7 @@ hdf5_set_fapl_mpio_property (
HDF5_WRAPPER_RETURN (H5_SUCCESS);
}
#if H5_VERSION_LE(1,8,12)
static inline h5_err_t
hdf5_set_fapl_mpiposix_property (
hid_t fapl_id,
......@@ -942,6 +943,7 @@ hdf5_set_fapl_mpiposix_property (
" the file access property list."));
HDF5_WRAPPER_RETURN (H5_SUCCESS);
}
#endif
static inline h5_err_t
hdf5_set_dxpl_mpio_property (
......
......@@ -139,11 +139,14 @@ h5_err_t mpi_init (
TRY (f->access_prop = hdf5_create_property(H5P_FILE_ACCESS));
/* select the HDF5 VFD */
#if H5_VERSION_LE(1,8,12)
if (f->mode & H5_VFD_MPIPOSIX) {
h5_info("Selecting MPI-POSIX VFD");
hbool_t use_gpfs = 0; // TODO autodetect GPFS?
TRY (hdf5_set_fapl_mpiposix_property(f->access_prop, comm, use_gpfs));
} else {
} else
#endif
{
h5_info("Selecting MPI-IO VFD");
TRY (hdf5_set_fapl_mpio_property(f->access_prop, comm, MPI_INFO_NULL));
if (f->mode & H5_VFD_INDEPENDENT) {
......
......@@ -292,7 +292,11 @@ h5_set_throttle (
const int factor
) {
H5_CORE_API_ENTER (h5_err_t, "f=%p, factor=%d", f, factor);
#if H5_VERSION_LE(1,8,12)
if ( (f->mode & H5_VFD_INDEPENDENT) || (f->mode & H5_VFD_MPIPOSIX) ) {
#else
if (f->mode & H5_VFD_INDEPENDENT) {
#endif
f->throttle = factor;
h5_info ("Throttling enabled with factor = %d", f->throttle );
} else {
......
......@@ -28,7 +28,8 @@ extern "C" {
You can also select a "virtual file driver" in the HDF5 layer using:
- H5_VFD_INDEPENDENT: MPI-IO in independent (asynchronous) mode
- H5_VFD_MPIPOSIX: parallel I/O implemented directly by HDF5, bypassing MPI-IO
- H5_VFD_MPIPOSIX: parallel I/O implemented directly by HDF5, bypassing
MPI-IO (only for hdf5 <= 1.8.12)
\return File handle.
\return NULL on error.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment