summaryrefslogtreecommitdiffstats
path: root/testpar/t_dset.c
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2012-09-05 19:15:52 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2012-09-05 19:15:52 (GMT)
commit394f5403a0f257933cd6859ef34337a5075de6e6 (patch)
tree898186b4c5a88c00cc8e16e41201752ee7bb7d10 /testpar/t_dset.c
parent6137e3add04846ef0ea334687c730cb27e3a1911 (diff)
downloadhdf5-394f5403a0f257933cd6859ef34337a5075de6e6.zip
hdf5-394f5403a0f257933cd6859ef34337a5075de6e6.tar.gz
hdf5-394f5403a0f257933cd6859ef34337a5075de6e6.tar.bz2
[svn-r22741] Purpose:
HDFFV-8143 Provide a routine(s) for telling the user why the library broke collective data access Description: Daily test failed from the previous commit r22735. (koala , ember) Fixed failure due to not be able to read external-storage file from external test. Tested: jam (linux32-LE), koala-pp (linux64-LE)
Diffstat (limited to 'testpar/t_dset.c')
-rw-r--r--testpar/t_dset.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/testpar/t_dset.c b/testpar/t_dset.c
index eac92a1..d9139d3 100644
--- a/testpar/t_dset.c
+++ b/testpar/t_dset.c
@@ -3373,8 +3373,6 @@ test_no_collective_cause_mode(int selection_mode)
ret = H5Pget_mpio_no_collective_cause (dxpl_write, &no_collective_cause_local_write, &no_collective_cause_global_write);
VRFY((ret >= 0), "retriving no collective cause succeeded" );
- /* Wait for file to be written */
- MPI_Barrier(MPI_COMM_WORLD);
/*---------------------
* Test Read access
@@ -3413,10 +3411,6 @@ test_no_collective_cause_mode(int selection_mode)
}
- /* clean up external file */
- if (selection_mode & TEST_NOT_CONTIGUOUS_OR_CHUNKED_DATASET_EXTERNAL)
- HDremove(FILE_EXTERNAL);
-
/* Release some resources */
if (sid)
H5Sclose(sid);
@@ -3438,6 +3432,10 @@ test_no_collective_cause_mode(int selection_mode)
H5Fclose(fid);
HDfree(buffer);
+ /* clean up external file */
+ if (selection_mode & TEST_NOT_CONTIGUOUS_OR_CHUNKED_DATASET_EXTERNAL)
+ HDremove(FILE_EXTERNAL);
+
return;
}
@@ -3626,8 +3624,6 @@ test_no_collective_cause_mode_filter(int selection_mode)
if (fid)
H5Fclose(fid);
- /* Wait for file to be written */
- MPI_Barrier(MPI_COMM_WORLD);
/*---------------------
* Test Read access