浏览代码

missing put HDF5 dataset into var when reopen it

Corentin Salingue 7 年之前
父节点
当前提交
3ee76f8026
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/disk_ops/disk_hdf5.c

+ 1 - 1
src/core/disk_ops/disk_hdf5.c

@@ -266,7 +266,7 @@ static void starpu_hdf5_copy_internal(struct _starpu_hdf5_work * work)
 		status = H5Ocopy(work->base_src->fileID, work->obj_src->path, work->base_dst->fileID, work->obj_dst->path, H5P_DEFAULT, H5P_DEFAULT); 
 		STARPU_ASSERT_MSG(status >= 0, "Can not copy data (%s) associed to this disk (%s) to the data (%s) on this disk (%s)\n", work->obj_src->path, work->base_src->path, work->obj_dst->path, work->base_dst->path);
 
-		H5Dopen2(work->base_dst->fileID, work->obj_dst->path, H5P_DEFAULT);				
+		work->obj_dst->dataset = H5Dopen2(work->base_dst->fileID, work->obj_dst->path, H5P_DEFAULT);				
 	}
 	else
 	{