Commit 1d36da8c authored by Huihuo Zheng's avatar Huihuo Zheng
Browse files

hh

parent e41d0a58
...@@ -1232,7 +1232,6 @@ void *H5Dwrite_pthread_func_vol(void *arg) { ...@@ -1232,7 +1232,6 @@ void *H5Dwrite_pthread_func_vol(void *arg) {
msync(data->buf, data->size, MS_SYNC); msync(data->buf, data->size, MS_SYNC);
H5VL_pass_through_ext_t *o = (H5VL_pass_through_ext_t *)data->dataset_obj; H5VL_pass_through_ext_t *o = (H5VL_pass_through_ext_t *)data->dataset_obj;
printf("o: %d of %d\n", o->H5DWMM->mpi.rank, o->H5DWMM->mpi.nproc); printf("o: %d of %d\n", o->H5DWMM->mpi.rank, o->H5DWMM->mpi.nproc);
printf("o: %d %d request\n", wmm->io.num_request, o->H5DWMM->io.num_request);
void **req; void **req;
#ifdef THETA #ifdef THETA
wmm->mmap.tmp_buf = malloc(data->size); wmm->mmap.tmp_buf = malloc(data->size);
...@@ -1248,7 +1247,7 @@ void *H5Dwrite_pthread_func_vol(void *arg) { ...@@ -1248,7 +1247,7 @@ void *H5Dwrite_pthread_func_vol(void *arg) {
data->file_space_id, data->xfer_plist_id, data->file_space_id, data->xfer_plist_id,
data->buf, req); data->buf, req);
#endif #endif
if (o->H5DRMM->mpi.rank==0)printf("write dataset done.\n"); if (o->H5DWMM->mpi.rank==0) printf("write dataset done using H5VLdataset_write\n");
munmap(data->buf, data->size); munmap(data->buf, data->size);
H5Sclose(data->mem_space_id); H5Sclose(data->mem_space_id);
H5Sclose(data->file_space_id); H5Sclose(data->file_space_id);
......
...@@ -6,9 +6,8 @@ INCLUDES=-I$(MPI_DIR)/include -I$(HDF5_DIR)/include -I../utils/ ...@@ -6,9 +6,8 @@ INCLUDES=-I$(MPI_DIR)/include -I$(HDF5_DIR)/include -I../utils/
LIBS=-L$(HDF5_DIR)/lib -lhdf5 -lz LIBS=-L$(HDF5_DIR)/lib -lhdf5 -lz
#DEBUG=-DENABLE_EXT_PASSTHRU_LOGGING #DEBUG=-DENABLE_EXT_PASSTHRU_LOGGING
CFLAGS=$(INCLUDES) $(LIBS) CFLAGS=$(INCLUDES) $(LIBS)
TARGET=libh5passthrough_vol.dylib
TARGET=libh5passthrough_vol.so
CXX=mpicxx CXX=mpicxx
all: makeso test_write_cache all: makeso test_write_cache
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment