mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-05 15:42:32 +08:00
[svn-r11963] Purpose:
bug fix for daily test Description: if (fm->select_chunk) is not NULL at sequential mode and not set by the library, it shouldn't be free. Otherwise, it will cause failures in the daily test. Solution: Explicitly set (fm->select_chunk) to NULL for non-parallel case. Platforms tested: copper with parallel heping with both sequential and parallel shanti with sequential Misc. update: Hopefully only mir failed at daily test.
This commit is contained in:
parent
e8535af373
commit
19476ba364
@ -2186,6 +2186,7 @@ H5D_create_chunk_map(const H5D_t *dataset, const H5T_t *mem_type, const H5S_t *f
|
||||
HGOTO_ERROR (H5E_INTERNAL, H5E_BADVALUE, FAIL, "can't compute 'down' sizes")
|
||||
|
||||
/* calculate total chunk in file map*/
|
||||
fm->select_chunk = NULL;
|
||||
fm->total_chunks = 1;
|
||||
for(u=0; u<fm->f_ndims; u++)
|
||||
fm->total_chunks= fm->total_chunks*fm->chunks[u];
|
||||
|
Loading…
Reference in New Issue
Block a user