10 #ifndef H5FILEDRIVER_MISC_HPP
11 #define H5FILEDRIVER_MISC_HPP
13 #include <H5Ppublic.h>
15 #ifdef H5_HAVE_PARALLEL
23 template <
typename Comm,
typename Info>
27 MPIOFileAccess(Comm comm, Info info)
32 void apply(
const hid_t list)
const {
33 if (H5Pset_fapl_mpio(list, _comm, _info) < 0) {
34 HDF5ErrMapper::ToException<FileException>(
35 "Unable to set-up MPIO Driver configuration");
45 template <
typename Comm,
typename Info>
47 add(MPIOFileAccess<Comm, Info>(comm, info));
52 #endif // H5FILEDRIVER_MISC_HPP