Browse Source

missing put HDF5 dataset into var when reopen it

Corentin Salingue 8 years ago
parent
commit
3ee76f8026
1 changed files with 1 additions and 1 deletions
  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
 	{