summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5D.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5D.c b/src/H5D.c
index aac4804..b3d381f 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -1394,8 +1394,8 @@ H5D_read(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
if (status>=0) goto succeed;
#ifdef HAVE_PARALLEL
/* Supports only no conversion, type or space, for now. */
- HGOTO_ERROR(H5E_DATASET, H5E_UNSUPPORTED, FAIL,
- "collective read failed");
+ HGOTO_ERROR(H5E_DATASET, H5E_READERROR, FAIL,
+ "optimized parallel read failed");
#endif
#ifdef H5D_DEBUG
if (H5DEBUG(D)) {
@@ -1746,8 +1746,8 @@ H5D_write(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
if (status>=0) goto succeed;
#ifdef HAVE_PARALLEL
/* Supports only no conversion, type or space, for now. */
- HGOTO_ERROR(H5E_DATASET, H5E_UNSUPPORTED, FAIL,
- "collective write failed");
+ HGOTO_ERROR(H5E_DATASET, H5E_WRITEERROR, FAIL,
+ "optimized parallel write failed");
#endif
#ifdef H5D_DEBUG
if (H5DEBUG(D)) {