diff options
Diffstat (limited to 'src/H5Cmpio.c')
-rw-r--r-- | src/H5Cmpio.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5Cmpio.c b/src/H5Cmpio.c index 6af346c..cfd0780 100644 --- a/src/H5Cmpio.c +++ b/src/H5Cmpio.c @@ -1003,6 +1003,10 @@ H5C__collective_write(H5F_t *f) bufs[0] = base_buf; types[0] = entry_ptr->type->mem_type; + /* Treat global heap as raw data */ + if (types[0] == H5FD_MEM_GHEAP) + types[0] = H5FD_MEM_DRAW; + node = H5SL_next(node); i = 1; while (node) { @@ -1016,6 +1020,10 @@ H5C__collective_write(H5F_t *f) bufs[i] = entry_ptr->image_ptr; types[i] = entry_ptr->type->mem_type; + /* Treat global heap as raw data */ + if (types[i] == H5FD_MEM_GHEAP) + types[i] = H5FD_MEM_DRAW; + /* Advance to next node & array location */ node = H5SL_next(node); i++; |