summaryrefslogtreecommitdiffstats
path: root/testpar/t_vfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'testpar/t_vfd.c')
-rw-r--r--testpar/t_vfd.c32
1 files changed, 18 insertions, 14 deletions
diff --git a/testpar/t_vfd.c b/testpar/t_vfd.c
index 0547008..f5f0267 100644
--- a/testpar/t_vfd.c
+++ b/testpar/t_vfd.c
@@ -329,22 +329,26 @@ setup_vfd_test_file(int file_name_id, char *file_name, int mpi_size, H5FD_mpio_x
#ifdef H5_HAVE_SUBFILING_VFD
else if (HDstrcmp(vfd_name, H5FD_SUBFILING_NAME) == 0) {
- hid_t ioc_fapl;
- H5FD_ioc_config_t ioc_config = {/* magic = */ H5FD_IOC_FAPL_MAGIC,
- /* version = */ H5FD_CURR_IOC_FAPL_VERSION,
- /* stripe_count = */ 0, /* will over write */
- /* stripe_depth = */ (INTS_PER_RANK / 2),
- /* ioc_selection = */ SELECT_IOC_ONE_PER_NODE,
- /* ioc_fapl_id = */ H5P_DEFAULT, /* will over write? */
- /* thread_pool_count = */ H5FD_IOC_THREAD_POOL_SIZE};
- H5FD_subfiling_config_t subfiling_conf = {
- /* magic = */ H5FD_IOC_FAPL_MAGIC,
- /* version = */ H5FD_CURR_IOC_FAPL_VERSION,
- /* stripe_count = */ 0, /* will over write */
- /* stripe_depth = */ (INTS_PER_RANK / 2),
+ H5FD_subfiling_shared_config_t shared_conf = {
/* ioc_selection = */ SELECT_IOC_ONE_PER_NODE,
+ /* stripe_size = */ (INTS_PER_RANK / 2),
+ /* stripe_count = */ 0, /* will over write */
+ };
+ H5FD_subfiling_config_t subfiling_conf = {
+ /* magic = */ H5FD_SUBFILING_FAPL_MAGIC,
+ /* version = */ H5FD_SUBFILING_CURR_FAPL_VERSION,
/* ioc_fapl_id = */ H5P_DEFAULT, /* will over write? */
- /* require_ioc = */ TRUE};
+ /* require_ioc = */ TRUE,
+ /* shared_cfg = */ shared_conf,
+ };
+ H5FD_ioc_config_t ioc_config = {
+ /* magic = */ H5FD_IOC_FAPL_MAGIC,
+ /* version = */ H5FD_IOC_CURR_FAPL_VERSION,
+ /* under_fapl_id = */ H5P_DEFAULT,
+ /* thread_pool_count = */ H5FD_IOC_DEFAULT_THREAD_POOL_SIZE,
+ /* subf_config = */ shared_conf,
+ };
+ hid_t ioc_fapl = H5I_INVALID_HID;
if ((pass) && ((ioc_fapl = H5Pcreate(H5P_FILE_ACCESS)) < 0)) {