summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorRichard Warren <Richard.Warren@hdfgroup.org>2018-11-07 02:14:44 (GMT)
committerRichard Warren <Richard.Warren@hdfgroup.org>2018-11-07 02:14:44 (GMT)
commit5d8b1287c97c3df78528792e5f7bfb2d5fe0568f (patch)
treef76bc7fa9f684687e81e1b10d100cb37343bcf5b /testpar
parent3d70a8dc5084ca46a084a0e0dbaedbfbf092e173 (diff)
downloadhdf5-5d8b1287c97c3df78528792e5f7bfb2d5fe0568f.zip
hdf5-5d8b1287c97c3df78528792e5f7bfb2d5fe0568f.tar.gz
hdf5-5d8b1287c97c3df78528792e5f7bfb2d5fe0568f.tar.bz2
Code re-org along with several bug fixes. Still need to address parallel ranks returning zero matches on a query_apply
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_pquery.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/testpar/t_pquery.c b/testpar/t_pquery.c
index 5f3b6a0..dec2174 100644
--- a/testpar/t_pquery.c
+++ b/testpar/t_pquery.c
@@ -435,6 +435,7 @@ test_query_create_simple_file(const char *filename, hid_t fapl, unsigned n_objs,
}
ntuples = (hsize_t)(NTUPLES/mpi_size);
+ nextValue = (float)(mpi_rank * ntuples);
/* setup data to write */
if ((data_slice = (float *)HDmalloc(ntuples * sizeof(float))) == NULL )
@@ -740,7 +741,6 @@ test_query_apply_view(const char *filename, hid_t fapl, unsigned n_objs,
if ((test_query_create_simple_file(filename, fapl, n_objs, meta_idx_plugin,
data_idx_plugin)) < 0) FAIL_STACK_ERROR;
-#if 0
/* setup FAPL */
if ((fapl_id = H5Pcreate(H5P_FILE_ACCESS)) < 0 )
FAIL_STACK_ERROR;
@@ -799,7 +799,6 @@ test_query_apply_view(const char *filename, hid_t fapl, unsigned n_objs,
/* Close file */
if (H5Fclose(file) < 0) FAIL_STACK_ERROR;
-#endif
if (mpi_rank == 0)
printf("---\n...");