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

This commit is contained in:
2015-06-12 14:49:10 +02:00
parent 64f8552443
commit 1c8a5dd0d1
4 changed files with 12 additions and 2 deletions
+2
View File
@@ -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 (
+4 -1
View File
@@ -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) {
+4
View File
@@ -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 {
+2 -1
View File
@@ -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.