mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
c12eeffd9f
Bug fix. Description: Some tests showed the filesize was not as expected. But the error was intermittent. This was a racing condition as some processes finish extend_chunked_dataset() sooner than others and return to the main body which proceeds to call the next test which also uses the same test data file and alters it. That messes up the "slower" processes which then see unexpected filesize. Also, the routine create_chunked_dataset() which creates test data file actually was executed by all processes. That is wrong. Solution: Added a barrier at the end of extend_chunked_dataset to make sure all processes are done with the test data file before returning. Changed create_chunked_dataset such that only one process would create the test data file. The rest does nothing but just wait for it to finish. Platforms tested: Tested in TG-NCSA in which the errors were detected. Misc. update: |
||
---|---|---|
.. | ||
Makefile.am | ||
Makefile.in | ||
t_chunk_alloc.c | ||
t_coll_chunk.c | ||
t_dset.c | ||
t_file.c | ||
t_fphdf5.c | ||
t_mdset.c | ||
t_mpi.c | ||
t_ph5basic.c | ||
t_span_tree.c | ||
testpar.h | ||
testph5.sh.in | ||
testphdf5.c | ||
testphdf5.h |